Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr SystemDynamics_SystemDynamics.WorldDynamics.World3.Human_Fertility.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001524/0.001524, allocations: 173 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9357/0.9357, allocations: 177.1 MB / 203.8 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics master/package.mo): time 0.116/0.116, allocations: 21.8 MB / 282.1 MB, free: 7.09 MB / 266.7 MB " [Timeout remaining time 180] Using package SystemDynamics with version 2.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(SystemDynamics.WorldDynamics.World3.Human_Fertility,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World3.Human_Fertility") translateModel(SystemDynamics.WorldDynamics.World3.Human_Fertility,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World3.Human_Fertility") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0 / 306 MB, free: 9.781 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.321e-05/2.545e-05, allocations: 5.406 kB / 306 MB, free: 9.777 MB / 282.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World3.Human_Fertility): time 0.01045/0.01048, allocations: 3.208 MB / 309.2 MB, free: 6.852 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001642/0.01212, allocations: 0.9145 MB / 310.1 MB, free: 5.934 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00033/0.01245, allocations: 23.81 kB / 310.2 MB, free: 5.91 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003466/0.0128, allocations: 154.3 kB / 310.3 MB, free: 5.758 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002703/0.01307, allocations: 107 kB / 310.4 MB, free: 5.652 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007595/0.01383, allocations: 451.5 kB / 310.9 MB, free: 5.211 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000874/0.0147, allocations: 0.9962 MB / 311.8 MB, free: 4.215 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006054/0.01531, allocations: 0.4959 MB / 312.3 MB, free: 3.672 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000448/0.01576, allocations: 0.5418 MB / 312.9 MB, free: 3.129 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002563/0.01601, allocations: 290.8 kB / 313.2 MB, free: 2.844 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001224/0.01613, allocations: 120 kB / 313.3 MB, free: 2.727 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002113/0.01635, allocations: 148 kB / 313.4 MB, free: 2.582 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002242/0.01657, allocations: 326.7 kB / 313.8 MB, free: 2.262 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000227/0.0168, allocations: 326.9 kB / 314.1 MB, free: 1.941 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007241/0.01752, allocations: 0.8011 MB / 314.9 MB, free: 1.137 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.01752, allocations: 0 / 314.9 MB, free: 1.137 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.01753, allocations: 0 / 314.9 MB, free: 1.137 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.448e-06/0.01754, allocations: 0 / 314.9 MB, free: 1.137 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.00131/0.01885, allocations: 1.31 MB / 316.2 MB, free: 15.79 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.01888, allocations: 8.031 kB / 316.2 MB, free: 15.79 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001829/0.01906, allocations: 176.8 kB / 316.4 MB, free: 15.61 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006467/0.01971, allocations: 0.4975 MB / 316.9 MB, free: 15.09 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.218e-05/0.01978, allocations: 86.58 kB / 316.9 MB, free: 15 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/0.01989, allocations: 116.3 kB / 317.1 MB, free: 14.89 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008536/0.02074, allocations: 0.7975 MB / 317.9 MB, free: 13.99 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.407e-05/0.02076, allocations: 12.06 kB / 317.9 MB, free: 13.98 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.872e-05/0.02081, allocations: 47.94 kB / 317.9 MB, free: 13.93 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.421e-05/0.02084, allocations: 28 kB / 317.9 MB, free: 13.9 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003673/0.0212, allocations: 268.7 kB / 318.2 MB, free: 13.62 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002574/0.02378, allocations: 3.057 MB / 321.3 MB, free: 10.46 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003437/0.02412, allocations: 230.9 kB / 321.5 MB, free: 10.22 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.478e-05/0.02419, allocations: 49.41 kB / 321.5 MB, free: 10.17 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.041e-05/0.02424, allocations: 16.28 kB / 321.5 MB, free: 10.16 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.02426, allocations: 38.83 kB / 321.6 MB, free: 10.11 MB / 298.7 MB Notification: Performance of pre-optimization done (n=34): time 1.904e-06/0.02426, allocations: 0 / 321.6 MB, free: 10.11 MB / 298.7 MB Notification: Performance of matching and sorting (n=34): time 0.0003173/0.02458, allocations: 207.6 kB / 321.8 MB, free: 9.902 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.979e-05/0.02461, allocations: 59.34 kB / 321.8 MB, free: 9.832 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004318/0.02504, allocations: 0.5544 MB / 322.4 MB, free: 9.266 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.02506, allocations: 33.7 kB / 322.4 MB, free: 9.227 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002511/0.02531, allocations: 0.5053 MB / 322.9 MB, free: 8.715 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.846e-05/0.02539, allocations: 134.8 kB / 323.1 MB, free: 8.582 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/0.0255, allocations: 106.2 kB / 323.2 MB, free: 8.473 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.135e-05/0.02559, allocations: 325.9 kB / 323.5 MB, free: 8.148 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.662e-05/0.02567, allocations: 44.12 kB / 323.5 MB, free: 8.105 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001526/0.02582, allocations: 200.4 kB / 323.7 MB, free: 7.844 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002773/0.0261, allocations: 281.2 kB / 324 MB, free: 7.504 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.0261, allocations: 8 kB / 324 MB, free: 7.496 MB / 298.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0003695/0.02647, allocations: 301 kB / 324.3 MB, free: 7.195 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.02649, allocations: 12.09 kB / 324.3 MB, free: 7.184 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.0265, allocations: 4 kB / 324.3 MB, free: 7.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.02651, allocations: 11.94 kB / 324.3 MB, free: 7.168 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002583/0.02677, allocations: 103.8 kB / 324.4 MB, free: 7.066 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.02678, allocations: 15.92 kB / 324.5 MB, free: 7.051 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001448/0.02693, allocations: 47.62 kB / 324.5 MB, free: 7.004 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.126e-05/0.02695, allocations: 16 kB / 324.5 MB, free: 6.988 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 10 (Avg_Ind_Out_PC.Smooth_of_Input.Integrator1.local_reset,Del_Ind_Out_PC.Smooth1.Integrator1.local_reset,Del_Ind_Out_PC.Smooth2.Integrator1.local_reset,Del_Ind_Out_PC.Smooth3.Integrator1.local_reset,Perc_Life_Expectancy.Smooth1.Integrator1.local_reset,Perc_Life_Expectancy.Smooth2.Integrator1.local_reset,Perc_Life_Expectancy.Smooth3.Integrator1.local_reset,Fert_Cont_Facil_PC.Smooth1.Integrator1.local_reset,Fert_Cont_Facil_PC.Smooth2.Integrator1.local_reset,Fert_Cont_Facil_PC.Smooth3.Integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001584/0.02711, allocations: 147.2 kB / 324.7 MB, free: 6.832 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.357e-05/0.02717, allocations: 47.95 kB / 324.7 MB, free: 6.785 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003487/0.02752, allocations: 237.9 kB / 324.9 MB, free: 6.543 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.02753, allocations: 7.938 kB / 324.9 MB, free: 6.535 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-06/0.02753, allocations: 0 / 324.9 MB, free: 6.535 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.02753, allocations: 7.922 kB / 325 MB, free: 6.527 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004284/0.02796, allocations: 385.9 kB / 325.3 MB, free: 6.133 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.02796, allocations: 0 / 325.3 MB, free: 6.133 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002314/0.02819, allocations: 63.91 kB / 325.4 MB, free: 6.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.0282, allocations: 8 kB / 325.4 MB, free: 6.062 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.897e-05/0.02822, allocations: 8 kB / 325.4 MB, free: 6.055 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.02822, allocations: 0 / 325.4 MB, free: 6.055 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.02822, allocations: 0 / 325.4 MB, free: 6.055 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003727/0.02859, allocations: 404.1 kB / 325.8 MB, free: 5.645 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.584e-05/0.02866, allocations: 71.36 kB / 325.9 MB, free: 5.574 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.65e-05/0.02869, allocations: 4 kB / 325.9 MB, free: 5.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.0288, allocations: 12 kB / 325.9 MB, free: 5.559 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.599e-05/0.02885, allocations: 23.89 kB / 325.9 MB, free: 5.535 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.02886, allocations: 8 kB / 325.9 MB, free: 5.527 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002257/0.02909, allocations: 268.5 kB / 326.2 MB, free: 5.27 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02909, allocations: 0 / 326.2 MB, free: 5.27 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004062/0.02949, allocations: 195 kB / 326.4 MB, free: 5.078 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (Avg_Ind_Out_PC.Smooth_of_Input.Integrator1.y,Del_Ind_Out_PC.Smooth1.Integrator1.y,Del_Ind_Out_PC.Smooth2.Integrator1.y,Del_Ind_Out_PC.Smooth3.Integrator1.y,Perc_Life_Expectancy.Smooth1.Integrator1.y,Perc_Life_Expectancy.Smooth2.Integrator1.y,Perc_Life_Expectancy.Smooth3.Integrator1.y,Fert_Cont_Facil_PC.Smooth1.Integrator1.y,Fert_Cont_Facil_PC.Smooth2.Integrator1.y,Fert_Cont_Facil_PC.Smooth3.Integrator1.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001315/0.02962, allocations: 98.36 kB / 326.5 MB, free: 4.973 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002607/0.02989, allocations: 198.7 kB / 326.7 MB, free: 4.777 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.126e-05/0.0299, allocations: 8.125 kB / 326.7 MB, free: 4.77 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.647e-05/0.02999, allocations: 84.7 kB / 326.8 MB, free: 4.684 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003584/0.03035, allocations: 104.7 kB / 326.9 MB, free: 4.59 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001376/0.03173, allocations: 1.564 MB / 328.4 MB, free: 2.98 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001183/0.03185, allocations: 205.6 kB / 328.6 MB, free: 2.758 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001261/0.03197, allocations: 56.27 kB / 328.7 MB, free: 2.703 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000124/0.0321, allocations: 123.3 kB / 328.8 MB, free: 2.582 MB / 298.7 MB Notification: Performance of SimCode: time 7.01e-07/0.0321, allocations: 0 / 328.8 MB, free: 2.582 MB / 298.7 MB Notification: Performance of Templates: time 0.008431/0.04053, allocations: 4.615 MB / 333.4 MB, free: 14.04 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f SystemDynamics_SystemDynamics.WorldDynamics.World3.Human_Fertility.makefile [Timeout 660] (rm -f SystemDynamics_SystemDynamics.WorldDynamics.World3.Human_Fertility.pipe ; mkfifo SystemDynamics_SystemDynamics.WorldDynamics.World3.Human_Fertility.pipe ; head -c 1048576 < SystemDynamics_SystemDynamics.WorldDynamics.World3.Human_Fertility.pipe >> ../files/SystemDynamics_SystemDynamics.WorldDynamics.World3.Human_Fertility.sim & (cd run_cvode && ../SystemDynamics_SystemDynamics.WorldDynamics.World3.Human_Fertility -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > SystemDynamics_SystemDynamics.WorldDynamics.World3.Human_Fertility.pipe 2>&1) [Timeout 240] (rm -f SystemDynamics_SystemDynamics.WorldDynamics.World3.Human_Fertility_gbode.pipe ; mkfifo SystemDynamics_SystemDynamics.WorldDynamics.World3.Human_Fertility_gbode.pipe ; head -c 1048576 < SystemDynamics_SystemDynamics.WorldDynamics.World3.Human_Fertility_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/SystemDynamics_SystemDynamics.WorldDynamics.World3.Human_Fertility_gbode.sim & (cd run_gbode && ../SystemDynamics_SystemDynamics.WorldDynamics.World3.Human_Fertility -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > SystemDynamics_SystemDynamics.WorldDynamics.World3.Human_Fertility_gbode.pipe 2>&1) [Timeout 240] (rm -f SystemDynamics_SystemDynamics.WorldDynamics.World3.Human_Fertility_ida.pipe ; mkfifo SystemDynamics_SystemDynamics.WorldDynamics.World3.Human_Fertility_ida.pipe ; head -c 1048576 < SystemDynamics_SystemDynamics.WorldDynamics.World3.Human_Fertility_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/SystemDynamics_SystemDynamics.WorldDynamics.World3.Human_Fertility_ida.sim & (cd run_ida && ../SystemDynamics_SystemDynamics.WorldDynamics.World3.Human_Fertility -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > SystemDynamics_SystemDynamics.WorldDynamics.World3.Human_Fertility_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7613374022766948]