Skip to content

Physiome Model Repository

CellML models of the Physiome Model Repository (the exposures in physiome/models.json, most of them CellML 1.0 and 1.1 documents, which libcellml reads in its permissive mode). Every model is simulated with libopencor over 0 to 100 time units in 1000 steps (libopencor, a fine output grid: the models are stiff and many of them switch their right-hand side hard, where the two solvers step over the switch differently on a coarse grid), converted to SBML (cellml2sbml), simulated with sbmlsim-core (sbmlsim), converted back to CellML (sbml2cellml) and simulated with libopencor again (roundtrip). See Development for how to run it.

The repository has no expected results: the sbmlsim and the roundtrip simulation are compared with the libopencor simulation of the model of the repository, over every variable of the model. A value passes when |value - expected| <= absolute + relative * |expected| with a relative tolerance of 1e-3 and an absolute tolerance of 1e-6. Both simulators integrate with CVODE with tight tolerances (relative/absolute 1e-9/1e-12) and up to 100000 internal steps between two time points, so the comparison measures the conversion and not the integrator; only when CVODE gives up with these tolerances the simulation is repeated with 1e-8/1e-10 and 1e-7/1e-9. Both simulations scale the absolute tolerance with the smallest initial value of a state of their own model when it is below one: the states of the SBML side are amounts, which are small for a model with a small compartment, and the states of the CellML side the variables of its components.

A libopencor failure means libopencor cannot simulate the model of the repository, it says nothing about the converters.

Summary

66 cases run, 34 skipped.

Cases which pass, fail and skip the stages Cases which pass, fail and skip the stages

stage total pass fail skip pass rate
libopencor 66 62 4 0 93.9%
cellml2sbml 66 62 0 4 93.9%
sbmlsim 66 57 5 4 86.4%
sbml2cellml 66 62 0 4 93.9%
roundtrip 66 61 1 4 92.4%

57 of the 57 cases with a passing sbmlsim stage are informative: the expected results move more than the tolerance band for at least one variable.

Timings

Wall time of the simulations which pass or fail, measured inside the simulator wrapper in the worker process, so it holds no overhead of the harness. The setup is everything a simulator does with the model before it integrates: reading and converting the file, compiling the model and building the instance. Both simulators cache what they compiled, so a model simulated again in the same process needs no setup; every case here is set up once. Both of them run the model once before the run of the result, so that the generation of the code of a model, which libopencor does when it runs the model the first time, is part of the setup.

The two simulators integrate with the same relative tolerance and with an absolute tolerance scaled to the states of their own model (amounts for the SBML model, the variables of the components for the CellML model), so neither of them is given an easier problem.

Integration time of libopencor against sbmlsim-core per case Integration time of libopencor against sbmlsim-core per case

stage simulator model simulations setup median integration median integration p95 integration slowest integration total
libopencor libopencor CellML model 62 22 ms 0.87 ms 76 ms 506 ms 1.3 s
sbmlsim sbmlsim-core SBML model 60 6.0 ms 1.00 ms 80 ms 488 ms 1.4 s
roundtrip libopencor roundtrip CellML model 62 18 ms 0.88 ms 77 ms 505 ms 1.3 s

The two simulators integrate the same dynamics for 57 cases, those whose SBML model reproduces the expected results. libopencor is 1.3 times faster than sbmlsim-core for the median of them and faster for 51; over these cases the medians are 0.93 ms for sbmlsim-core and 0.60 ms for libopencor.

Failure reasons

The cases which fail a stage, grouped by their error: errors which differ only in quoted text, numbers and, for the validation of a CellML model, the issues after the first one are one group. Every case is listed with its complete error.

libopencor

4 of 66 cases fail.

2 cases

22e: SimulationFailure: libopencor: SimulationError: run: Task | CVODE: at t = 14.6 and h = 2.02e-05, the corrector convergence test failed repeatedly or with |h| = hmin.
5f0: SimulationFailure: libopencor: SimulationError: run: Task | CVODE: at t = 1.46 and h = 5.6e-10, the corrector convergence test failed repeatedly or with |h| = hmin.

1 case

514: SimulationFailure: libopencor: SimulationError: run: Task | CVODE: at t = 0.102, mxstep steps taken before reaching tout.

1 case

135: SimulationFailure: libopencor: worker died during simulate_cellml

sbmlsim

5 of 66 cases fail.

3 cases, numerical mismatch

447: dmdt exceeds the tolerance by 0.00315
48a: delta_fCMs exceeds the tolerance by 5.16e-05
5f7: V_m exceeds the tolerance by 137; h exceeds the tolerance by 0.838; m exceeds the tolerance by 0.97; p exceeds the tolerance by 0.799; s exceeds the tolerance by 0.63; n exceeds the tolerance by 0.923; i_Lk exceeds the tolerance by 0.961; i_Ks exceeds the tolerance by 5.86; i_Nap exceeds the tolerance by 0.859; i_Naf exceeds the tolerance by 14.5; beta_m exceeds the tolerance by 19.1; alpha_m exceeds the tolerance by 454; beta_h exceeds the tolerance by 12.4; alpha_h exceeds the tolerance by 0.951; beta_p exceeds the tolerance by 0.0483; alpha_p exceeds the tolerance by 2.67; beta_s exceeds the tolerance by 0.00586; alpha_s exceeds the tolerance by 0.3; beta_n exceeds the tolerance by 2.1; alpha_n exceeds the tolerance by 6.09

1 case

5f: SimulationFailure: sbmlsim: IntegrationError: integration failed at t = 0.376 (flag -1): CVode: At t = 0.376, mxstep steps taken before reaching tout.

1 case

513: SimulationFailure: sbmlsim: IntegrationError: integration failed at t = 4.25 (flag -1): 100000 steps taken before reaching the next output time (the steps of the restarts at the roots of discontinuities, of the returns at roots and of the executions of events close to the last applied root included)

roundtrip

1 of 66 cases fail.

1 case, numerical mismatch

594: beta_K1 exceeds the tolerance by 0.000401; d_infinity exceeds the tolerance by 1.82e-06; tau_f1 exceeds the tolerance by 0.00279; Xr1_inf exceeds the tolerance by 4.81e-05

Skipped cases

reason cases
file missing in the workspace 2
imports cannot be resolved 5
model cannot be analysed 22
model cannot be parsed 4
workspace cannot be cloned 1

Cases

case name components libopencor cellml2sbml sbmlsim sbml2cellml roundtrip informative
105 A Quantitative Model of Human Jejunal Smooth Muscle Cell Electrophysiology 20 components, DifferentialEquations, Units pass pass pass pass pass yes
12b A single compartment model of pacemaking in dissasociated Substantia nigra neurons with hyperbolic tetrahedral geometry 17 components, DifferentialEquations, Units pass pass pass pass pass yes
135 Bugenhagen 2010 11 components, DifferentialEquations, Units fail skip skip skip skip
137 Library of metabolic components in CellML 2 components, DifferentialEquations, Units pass pass pass pass pass yes
139 An updated computational model of rabbit sinoatrial action potential to investigate the mechanisms of heart rate modulation. 35 components, DifferentialEquations, Units pass pass pass pass pass yes
188 Decker, Heijman, Silva, Hund, Rudy, 2009 43 components, DifferentialEquations, Units pass pass pass pass pass yes
1a0 Carro, Rodriguez, Laguna, Pueyo (2011) 25 components, DifferentialEquations, Units pass pass pass pass pass yes
22e Renal SGLT1 model 8 components, DifferentialEquations, Units fail skip skip skip skip
24 Two compartment model of diazepam biotransformation in an organotypical culture of primary human hepatocytes 12 components, DifferentialEquations, Units pass pass pass pass pass yes
25 Vasalou, Henson, 2010 22 components, DifferentialEquations, Units pass pass pass pass pass yes
260 Faber, Rudy, 2000 and Tong, Ghouri, Taggart, 2014 38 components, DifferentialEquations, Units pass pass pass pass pass yes
27d An analysis of deformation-dependent electromechanical coupling in the mouse heart 8 components, DifferentialEquations, Units pass pass pass pass pass yes
2a6 Noble, 1962 8 components, DifferentialEquations, Units pass pass pass pass pass yes
2f Fujita, Toyoshima, Uda, Ozaki, Kubota, Kuroda, 2010 16 components, DifferentialEquations, Units pass pass pass pass pass yes
30 Maurya, Bornheimer, Venkatasubramanian, Subramaniam, 2005 20 components, DifferentialEquations, Units pass pass pass pass pass yes
31 Wang, Cirit, Haugh, 2009 20 components, DifferentialEquations, Units pass pass pass pass pass yes
32 De Vries, Sherman, 2000 9 components, DifferentialEquations, Units pass pass pass pass pass yes
38 Li, Smith, 2009 25 components, DifferentialEquations, Units pass pass pass pass pass yes
3c Morris, Lecar, 1981 7 components, DifferentialEquations, Units pass pass pass pass pass yes
3d Alexander, Wahl, 2010 5 components, DifferentialEquations, Units pass pass pass pass pass yes
3f7 Moore, Li, 2004 5 components, DifferentialEquations, Units pass pass pass pass pass yes
3f8 A model for pacemaking in substantia nigra neurons (A simple model based on a spherical geometry) 20 components, DifferentialEquations, Units pass pass pass pass pass yes
3fa A single compartment model of pacemaking in dissasociated Substantia nigra neurons with hyperbolic tetrahedral geometry 17 components, DifferentialEquations, Units pass pass pass pass pass yes
3fc Aguda, B, 1999 51 components, DifferentialEquations, Units pass pass pass pass pass yes
3fd None 2 components, DifferentialEquations, Units pass pass pass pass pass yes
3fe Arresting the mitotic oscillator and the control of cell proliferation: insights from a cascade model for cdc2 kinase activation 6 components, DifferentialEquations, Units pass pass pass pass pass yes
3ff Aslanidi 2009 52 components, DifferentialEquations, Units pass pass pass pass pass yes
400 Bagci 2008 9 components, DifferentialEquations, Units pass pass pass pass pass yes
403 Alexander, Wahl, 2010 5 components, DifferentialEquations, Units pass pass pass pass pass yes
41 Bondarenko, Szigeti, Bett, Kim, Rasmusson, 2004 23 components, DifferentialEquations, Units pass pass pass pass pass yes
412 Benson, Aslanidi, Zhang, Holden, 2008 27 components, DifferentialEquations, Units pass pass pass pass pass yes
413 Barberis, Klipp, Vanoni, Alberghina, 2007 38 components, DifferentialEquations, Units pass pass pass pass pass yes
414 Ben-Tal, 2006 5 components, DifferentialEquations, Units pass pass pass pass pass yes
417 Chen, Calzone, Csikasznagy, Cross, Novak, Tyson, 2004 64 components, DifferentialEquations, Units pass pass pass pass pass yes
423 Wodarz, Hamer, 2007 3 components, DifferentialEquations, Units pass pass pass pass pass yes
424 Bertram, Rhoads, Cimbora, 2008 11 components, DifferentialEquations, Units pass pass pass pass pass yes
427 Butera, Rinzel, Smith, 1999 12 components, DifferentialEquations, Units pass pass pass pass pass yes
42f Novak, Tyson, 1993 14 components, DifferentialEquations, Units pass pass pass pass pass yes
44 Tabak, Mascagni, Bertram, 2010 3 components, DifferentialEquations pass pass pass pass pass yes
447 Cui, Kaandorp, 2006 8 components, DifferentialEquations, Units pass pass fail pass pass yes
449 Vasalou, Henson, 2010 22 components, DifferentialEquations, Units pass pass pass pass pass yes
47 Bornheimer, Maurya, Farquhar, Subramaniam, 2004 27 components, DifferentialEquations, Units pass pass pass pass pass yes
47f Kholodenko, Demin, Moehren, Hoek, 1999 50 components, DifferentialEquations, Units pass pass pass pass pass yes
48 Elowitz, Leibler, 2000 8 components, DifferentialEquations, Units pass pass pass pass pass yes
48a Computational analysis of the human sinus node action potential: model development and effects of mutations 38 components, DifferentialEquations, Units pass pass fail pass pass yes
4a7 A model of intracellular pH control 1 components, DifferentialEquations, Units pass pass pass pass pass yes
4bc Varela - Canine Atrial Cell Models 37 components, DifferentialEquations, Units pass pass pass pass pass yes
4d Goldbeter, 1995 8 components, DifferentialEquations, Units pass pass pass pass pass yes
4ea HH Sodium Current model for estimation task 4 components, DifferentialEquations, Units pass pass pass pass pass yes
4f1 Steady state HMT 2 components, DifferentialEquations, Units pass pass pass pass pass yes
50 Goldbeter, Gonze, Pourquie, 2007 11 components, DifferentialEquations, Units pass pass pass pass pass yes
51 Guyton, Volume Receptors, 2008 8 components, DifferentialEquations, Units pass pass pass pass pass yes
513 Clancy, Rudy, 2002 32 components, DifferentialEquations, Units pass pass fail pass pass yes
514 Clancy, Rudy, 2001 32 components, DifferentialEquations, Units fail skip skip skip skip
52 Nelson, Perelson, 1995 11 components, DifferentialEquations, Units pass pass pass pass pass yes
53 Schoeberl, Eichler-Jonsson, Gilles, Muller, 2002 228 components, DifferentialEquations, Units pass pass pass pass pass yes
59 [Ca2+]i oscillations in sympathetic neurons: an experimental test of a theoretical model 4 components, DifferentialEquations, Units pass pass pass pass pass yes
594 Paci, Hyttinen, Aalto-Setala, Severi 2013 HiPSC models 31 components, DifferentialEquations, Units pass pass pass pass fail yes
5a0 O'Hara-Rudy-CiPA-v1.0 (2017) 25 components, DifferentialEquations, Units pass pass pass pass pass yes
5bc Fenton, Karma, 1998 10 components, DifferentialEquations, Units pass pass pass pass pass yes
5f Winslow, Rice, Jafri, Marban, O'Rorke, 1999 29 components, DifferentialEquations, Units pass pass fail pass pass yes
5f0 C. Trovato, E. Passini, N. Nagy, et al. (2019),A computational human cardiac Purkinje electrophysiological model 28 components, DifferentialEquations, Units fail skip skip skip skip
5f1 Tomek, Jakub, et al. (2019)- A computational human ventricular electrophysiological model 27 components, DifferentialEquations, Units pass pass pass pass pass yes
5f7 McIntyre, Richardson, Grill, 2001 12 components, DifferentialEquations, Units pass pass fail pass pass yes
62 Model of a rabbit Purkinje cell 46 components, DifferentialEquations, Units pass pass pass pass pass yes
639 An encoding of the human ORd model by Steve Neiderer 25 components, DifferentialEquations, Units pass pass pass pass pass yes