Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr SystemDynamics_SystemDynamics.WorldDynamics.World3.Human_Fertility.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/SystemDynamics 2.1.1-master/package.mo", uses=false) Using package SystemDynamics with version 2.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/SystemDynamics 2.1.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(SystemDynamics.WorldDynamics.World3.Human_Fertility,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World3.Human_Fertility") translateModel(SystemDynamics.WorldDynamics.World3.Human_Fertility,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World3.Human_Fertility") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00153/0.00153, allocations: 180.9 kB / 15.43 MB, free: 5.91 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 225.7 MB / 241.9 MB, free: 408 kB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007864/0.0007865, allocations: 100.9 kB / 293.1 MB, free: 12.9 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/SystemDynamics 2.1.1-master/package.mo): time 0.1528/0.1528, allocations: 28.84 MB / 373 MB, free: 12.81 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003096/0.0003098, allocations: 12.75 kB / 441.2 MB, free: 69.55 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07588/0.0762, allocations: 57.48 MB / 498.7 MB, free: 11.96 MB / 330.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World3.Human_Fertility): time 0.002608/0.07885, allocations: 2.979 MB / 0.4899 GB, free: 8.977 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00144/0.08032, allocations: 0.8773 MB / 0.4908 GB, free: 8.078 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005061/0.08085, allocations: 15.94 kB / 0.4908 GB, free: 8.062 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003625/0.08123, allocations: 127 kB / 0.4909 GB, free: 7.938 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003363/0.08158, allocations: 59.58 kB / 0.491 GB, free: 7.879 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006063/0.08219, allocations: 395.7 kB / 0.4913 GB, free: 7.492 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007138/0.08292, allocations: 0.9413 MB / 0.4923 GB, free: 6.547 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006786/0.08361, allocations: 0.6714 MB / 0.4929 GB, free: 5.84 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001577/0.08377, allocations: 218.4 kB / 0.4931 GB, free: 5.625 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001783/0.08396, allocations: 289.7 kB / 0.4934 GB, free: 5.34 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.287e-05/0.08402, allocations: 23.94 kB / 0.4934 GB, free: 5.316 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001086/0.08413, allocations: 43.92 kB / 0.4935 GB, free: 5.273 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001407/0.08428, allocations: 195 kB / 0.4937 GB, free: 5.082 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002127/0.0845, allocations: 434.4 kB / 0.4941 GB, free: 4.648 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006346/0.08514, allocations: 1.07 MB / 0.4951 GB, free: 3.574 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.08516, allocations: 0 / 0.4951 GB, free: 3.574 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.245e-06/0.08517, allocations: 3.984 kB / 0.4951 GB, free: 3.57 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.669e-05/0.08519, allocations: 0 / 0.4951 GB, free: 3.57 MB / 330.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.00129/0.08649, allocations: 1.157 MB / 0.4962 GB, free: 2.355 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.08653, allocations: 15.97 kB / 0.4963 GB, free: 2.34 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001355/0.08667, allocations: 143.2 kB / 0.4964 GB, free: 2.199 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006145/0.08729, allocations: 0.6905 MB / 0.4971 GB, free: 1.469 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.684e-05/0.08735, allocations: 86.58 kB / 0.4972 GB, free: 1.383 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.428e-05/0.08745, allocations: 108.4 kB / 0.4973 GB, free: 1.277 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001296/0.08875, allocations: 1.102 MB / 0.4983 GB, free: 80 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.2e-05/0.08879, allocations: 0 / 0.4983 GB, free: 80 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.746e-05/0.08885, allocations: 44 kB / 0.4984 GB, free: 36 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.717e-05/0.08887, allocations: 28 kB / 0.4984 GB, free: 8 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001176/0.09005, allocations: 0.7145 MB / 0.4991 GB, free: 15.28 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004214/0.09428, allocations: 4.15 MB / 0.5032 GB, free: 10.99 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008043/0.09511, allocations: 455.3 kB / 0.5036 GB, free: 10.54 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002752/0.09541, allocations: 197.3 kB / 0.5038 GB, free: 10.34 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.731e-05/0.09548, allocations: 24.19 kB / 0.5038 GB, free: 10.32 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.09551, allocations: 38.84 kB / 0.5038 GB, free: 10.27 MB / 346.7 MB Notification: Performance of pre-optimization done (n=34): time 2.224e-06/0.09552, allocations: 0 / 0.5038 GB, free: 10.27 MB / 346.7 MB Notification: Performance of matching and sorting (n=34): time 0.0009985/0.09652, allocations: 0.6433 MB / 0.5045 GB, free: 9.621 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.481e-05/0.09657, allocations: 59.34 kB / 0.5045 GB, free: 9.551 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007891/0.09737, allocations: 0.6684 MB / 0.5052 GB, free: 8.871 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.077e-05/0.09741, allocations: 29.7 kB / 0.5052 GB, free: 8.836 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003736/0.09779, allocations: 0.584 MB / 0.5058 GB, free: 8.242 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001231/0.09792, allocations: 134.1 kB / 0.5059 GB, free: 8.109 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.008e-05/0.09795, allocations: 8 kB / 0.5059 GB, free: 8.102 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.09806, allocations: 326 kB / 0.5062 GB, free: 7.777 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003502/0.09842, allocations: 213 kB / 0.5064 GB, free: 7.57 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000407/0.09884, allocations: 359.5 kB / 0.5068 GB, free: 7.152 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007402/0.09959, allocations: 0.5874 MB / 0.5073 GB, free: 6.5 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.0996, allocations: 4 kB / 0.5073 GB, free: 6.496 MB / 346.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0009712/0.1006, allocations: 0.668 MB / 0.508 GB, free: 5.82 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.1006, allocations: 8 kB / 0.508 GB, free: 5.812 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.1006, allocations: 4 kB / 0.508 GB, free: 5.809 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.1007, allocations: 8.734 kB / 0.508 GB, free: 5.801 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003759/0.101, allocations: 115.7 kB / 0.5081 GB, free: 5.688 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.449e-05/0.1011, allocations: 11.98 kB / 0.5081 GB, free: 5.676 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002396/0.1013, allocations: 47.53 kB / 0.5082 GB, free: 5.629 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.75e-05/0.1014, allocations: 20 kB / 0.5082 GB, free: 5.609 MB / 346.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 (Fert_Cont_Facil_PC.Smooth3.Integrator1.local_reset,Fert_Cont_Facil_PC.Smooth2.Integrator1.local_reset,Fert_Cont_Facil_PC.Smooth1.Integrator1.local_reset,Perc_Life_Expectancy.Smooth3.Integrator1.local_reset,Perc_Life_Expectancy.Smooth2.Integrator1.local_reset,Perc_Life_Expectancy.Smooth1.Integrator1.local_reset,Del_Ind_Out_PC.Smooth3.Integrator1.local_reset,Del_Ind_Out_PC.Smooth2.Integrator1.local_reset,Del_Ind_Out_PC.Smooth1.Integrator1.local_reset,Avg_Ind_Out_PC.Smooth_of_Input.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.0003848/0.1017, allocations: 291.7 kB / 0.5085 GB, free: 5.316 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.82e-05/0.1018, allocations: 71.06 kB / 0.5085 GB, free: 5.246 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008963/0.1027, allocations: 0.5394 MB / 0.5091 GB, free: 4.691 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.1028, allocations: 4 kB / 0.5091 GB, free: 4.688 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.1028, allocations: 8 kB / 0.5091 GB, free: 4.68 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.1028, allocations: 0 / 0.5091 GB, free: 4.68 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009481/0.1037, allocations: 0.8406 MB / 0.5099 GB, free: 3.789 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.1038, allocations: 0 / 0.5099 GB, free: 3.789 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003543/0.1041, allocations: 71.89 kB / 0.51 GB, free: 3.719 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.1041, allocations: 0 / 0.51 GB, free: 3.719 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.908e-05/0.1042, allocations: 8 kB / 0.51 GB, free: 3.711 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.92e-06/0.1042, allocations: 4 kB / 0.51 GB, free: 3.707 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1042, allocations: 0 / 0.51 GB, free: 3.707 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001044/0.1052, allocations: 0.8587 MB / 0.5108 GB, free: 2.832 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001132/0.1054, allocations: 144.2 kB / 0.511 GB, free: 2.672 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.901e-05/0.1054, allocations: 8 kB / 0.511 GB, free: 2.664 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001779/0.1056, allocations: 12 kB / 0.511 GB, free: 2.652 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.851e-05/0.1057, allocations: 23.97 kB / 0.511 GB, free: 2.629 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.019e-05/0.1057, allocations: 11.98 kB / 0.511 GB, free: 2.617 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005335/0.1062, allocations: 463 kB / 0.5115 GB, free: 2.168 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1063, allocations: 0 / 0.5115 GB, free: 2.168 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005058/0.1068, allocations: 194.7 kB / 0.5116 GB, free: 1.977 MB / 346.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.0001724/0.107, allocations: 129 kB / 0.5118 GB, free: 1.84 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007275/0.1077, allocations: 493.1 kB / 0.5122 GB, free: 1.359 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1077, allocations: 0 / 0.5122 GB, free: 1.359 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002914/0.108, allocations: 223.8 kB / 0.5125 GB, free: 1.141 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005714/0.1086, allocations: 105.5 kB / 0.5126 GB, free: 1.043 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002833/0.1114, allocations: 2.297 MB / 0.5148 GB, free: 14.71 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006107/0.1121, allocations: 1.073 MB / 0.5158 GB, free: 13.61 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002291/0.1123, allocations: 52.27 kB / 0.5159 GB, free: 13.56 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.646e-05/0.1124, allocations: 43.42 kB / 0.5159 GB, free: 13.52 MB / 362.7 MB Notification: Performance of SimCode: time 4.81e-07/0.1124, allocations: 192 / 0.5159 GB, free: 13.52 MB / 362.7 MB Notification: Performance of Templates: time 0.009876/0.1223, allocations: 4.347 MB / 0.5202 GB, free: 9.195 MB / 362.7 MB make -j1 -f SystemDynamics_SystemDynamics.WorldDynamics.World3.Human_Fertility.makefile (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 & ./SystemDynamics_SystemDynamics.WorldDynamics.World3.Human_Fertility -abortSlowSimulation -alarm=480 -lv LOG_STATS > SystemDynamics_SystemDynamics.WorldDynamics.World3.Human_Fertility.pipe 2>&1)