Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_5.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.0008281/0.0008281, allocations: 88.23 kB / 19.42 MB, free: 492 kB / 13.93 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.000901/0.000901, allocations: 169 kB / 22.73 MB, free: 1.82 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 1.004/1.004, allocations: 177.1 MB / 203.1 MB, free: 5.359 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.1262/0.1262, allocations: 21.81 MB / 281.3 MB, free: 7.109 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.World2.Scenario_5,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_5") translateModel(SystemDynamics.WorldDynamics.World2.Scenario_5,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 358.1 MB, free: 5.23 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.412e-05/2.592e-05, allocations: 13.34 kB / 358.1 MB, free: 5.219 MB / 330.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_5): time 0.00341/0.003436, allocations: 2.834 MB / 360.9 MB, free: 2.371 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001204/0.00464, allocations: 0.5299 MB / 361.4 MB, free: 1.84 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000265/0.004905, allocations: 12 kB / 361.5 MB, free: 1.828 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002577/0.005163, allocations: 138.6 kB / 361.6 MB, free: 1.691 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00026/0.005423, allocations: 134.9 kB / 361.7 MB, free: 1.559 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005421/0.005965, allocations: 283.5 kB / 362 MB, free: 1.281 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005207/0.006485, allocations: 0.7354 MB / 362.7 MB, free: 0.543 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004057/0.006891, allocations: 357.6 kB / 363.1 MB, free: 176 kB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003199/0.007211, allocations: 450.9 kB / 363.5 MB, free: 15.73 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002013/0.007412, allocations: 278.8 kB / 363.8 MB, free: 15.46 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.122e-05/0.007493, allocations: 76 kB / 363.9 MB, free: 15.38 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000159/0.007652, allocations: 107.9 kB / 364 MB, free: 15.28 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002737/0.007926, allocations: 454.4 kB / 364.4 MB, free: 14.83 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001892/0.008115, allocations: 302.7 kB / 364.7 MB, free: 14.54 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000707/0.008822, allocations: 0.859 MB / 365.6 MB, free: 13.67 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.008826, allocations: 0 / 365.6 MB, free: 13.67 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.008827, allocations: 0 / 365.6 MB, free: 13.67 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.525e-05/0.008842, allocations: 0 / 365.6 MB, free: 13.67 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.001474/0.01032, allocations: 1.797 MB / 367.4 MB, free: 11.82 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.01036, allocations: 12.03 kB / 367.4 MB, free: 11.81 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002212/0.01058, allocations: 275.6 kB / 367.7 MB, free: 11.54 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003358/0.01091, allocations: 0.5171 MB / 368.2 MB, free: 10.98 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.506e-05/0.01098, allocations: 78.36 kB / 368.2 MB, free: 10.91 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.205e-05/0.01106, allocations: 100.4 kB / 368.3 MB, free: 10.81 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007347/0.0118, allocations: 0.6067 MB / 369 MB, free: 10.18 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/0.01182, allocations: 192 / 369 MB, free: 10.18 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.148e-05/0.01186, allocations: 36.38 kB / 369 MB, free: 10.15 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.002e-05/0.01192, allocations: 62.48 kB / 369 MB, free: 10.09 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005202/0.01244, allocations: 396.5 kB / 369.4 MB, free: 9.688 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002182/0.01462, allocations: 2.076 MB / 371.5 MB, free: 7.551 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004541/0.01508, allocations: 325.4 kB / 371.8 MB, free: 7.219 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001723/0.01525, allocations: 129.6 kB / 372 MB, free: 7.09 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.534e-05/0.01531, allocations: 28.64 kB / 372 MB, free: 7.062 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.01534, allocations: 46.05 kB / 372 MB, free: 7.008 MB / 346.7 MB Notification: Performance of pre-optimization done (n=66): time 2.084e-06/0.01534, allocations: 0 / 372 MB, free: 7.008 MB / 346.7 MB Notification: Performance of matching and sorting (n=66): time 0.0006783/0.01602, allocations: 0.579 MB / 372.6 MB, free: 6.422 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.01606, allocations: 60.06 kB / 372.7 MB, free: 6.352 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008163/0.01687, allocations: 1.157 MB / 373.8 MB, free: 5.164 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.925e-05/0.0169, allocations: 37.7 kB / 373.9 MB, free: 5.121 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004346/0.01734, allocations: 0.8496 MB / 374.7 MB, free: 4.258 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001204/0.01746, allocations: 241.9 kB / 374.9 MB, free: 4.02 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/0.01758, allocations: 136.3 kB / 375.1 MB, free: 3.879 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.01771, allocations: 0.5043 MB / 375.6 MB, free: 3.367 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/0.01785, allocations: 105.9 kB / 375.7 MB, free: 3.262 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000271/0.01812, allocations: 366.6 kB / 376 MB, free: 2.801 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005953/0.01872, allocations: 0.6296 MB / 376.7 MB, free: 2.066 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.01872, allocations: 0 / 376.7 MB, free: 2.066 MB / 346.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0006287/0.01935, allocations: 0.6443 MB / 377.3 MB, free: 1.414 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.01937, allocations: 8.75 kB / 377.3 MB, free: 1.406 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.01938, allocations: 4 kB / 377.3 MB, free: 1.402 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.323e-05/0.0194, allocations: 19.94 kB / 377.4 MB, free: 1.383 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003073/0.01971, allocations: 167.8 kB / 377.5 MB, free: 1.219 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/0.01972, allocations: 15.88 kB / 377.5 MB, free: 1.203 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001544/0.01988, allocations: 75.5 kB / 377.6 MB, free: 1.129 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.779e-05/0.01991, allocations: 32 kB / 377.6 MB, free: 1.098 MB / 346.7 MB Warning: Assuming fixed start value for the following 6 variables: years:VARIABLE(start = 1900.0 fixed = true ) \"Time in calendar years\" type: Real Population.level:VARIABLE(start = Population.x0 fixed = true ) \"Reversible state variable\" type: Real Natural_Resources.level:VARIABLE(start = Natural_Resources.x0 fixed = true ) \"Reversible state variable\" type: Real Capital_Investment.level:VARIABLE(start = Capital_Investment.x0 fixed = true ) \"Reversible state variable\" type: Real Pollution.level:VARIABLE(start = Pollution.x0 fixed = true ) \"Reversible state variable\" type: Real CIAF.level:VARIABLE(start = CIAF.x0 fixed = true ) \"Reversible state variable\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 96 * 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.000284/0.0202, allocations: 234.1 kB / 377.9 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/0.02031, allocations: 159.1 kB / 378 MB, free: 0.707 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006276/0.02094, allocations: 0.5465 MB / 378.6 MB, free: 152 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.02095, allocations: 7.938 kB / 378.6 MB, free: 144 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.02095, allocations: 0 / 378.6 MB, free: 144 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/0.02096, allocations: 11.92 kB / 378.6 MB, free: 132 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001226/0.02219, allocations: 1.306 MB / 379.9 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.02219, allocations: 0 / 379.9 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000268/0.02246, allocations: 115.8 kB / 380 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/0.02246, allocations: 4 kB / 380 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.599e-05/0.02249, allocations: 19.98 kB / 380 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.02249, allocations: 11.94 kB / 380 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.02249, allocations: 0 / 380 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007492/0.02324, allocations: 0.7713 MB / 380.8 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.235e-05/0.02334, allocations: 126.9 kB / 380.9 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.608e-05/0.02338, allocations: 12 kB / 380.9 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.0235, allocations: 23.92 kB / 381 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.238e-05/0.02358, allocations: 44.58 kB / 381 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.197e-05/0.0236, allocations: 23.98 kB / 381 MB, free: 13.6 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005091/0.02411, allocations: 0.6639 MB / 381.7 MB, free: 12.93 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02411, allocations: 0 / 381.7 MB, free: 12.93 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003786/0.02449, allocations: 219.2 kB / 381.9 MB, free: 12.72 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (years,Population.level,Natural_Resources.level,Capital_Investment.level,Pollution.level,CIAF.level) * 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 (66): * Single equations (assignments): 66 * 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.0001872/0.02468, allocations: 119.1 kB / 382 MB, free: 12.59 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004785/0.02515, allocations: 388.5 kB / 382.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.02516, allocations: 4 kB / 382.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001955/0.02535, allocations: 208.6 kB / 382.6 MB, free: 12 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000309/0.02566, allocations: 69.11 kB / 382.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002443/0.0281, allocations: 2.244 MB / 384.9 MB, free: 9.633 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002203/0.02832, allocations: 337.2 kB / 385.3 MB, free: 9.285 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000196/0.02852, allocations: 108.4 kB / 385.4 MB, free: 9.18 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.02862, allocations: 52.5 kB / 385.4 MB, free: 9.129 MB / 362.7 MB Notification: Performance of SimCode: time 1.523e-06/0.02863, allocations: 0 / 385.4 MB, free: 9.129 MB / 362.7 MB Notification: Performance of Templates: time 0.009241/0.03787, allocations: 4.587 MB / 390 MB, free: 4.57 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_5.makefile [Timeout 660] (rm -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_5.pipe ; mkfifo SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_5.pipe ; head -c 1048576 < SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_5.pipe >> ../files/SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_5.sim & ./SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_5 -abortSlowSimulation -alarm=240 -lv LOG_STATS > SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_5.pipe 2>&1) [Timeout 240] (rm -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_5_cvode.pipe ; mkfifo SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_5_cvode.pipe ; head -c 1048576 < SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_5_cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_5_cvode.sim & ./SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_5 -abortSlowSimulation -alarm=240 -lv LOG_STATS -s cvode > SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_5_cvode.pipe 2>&1) [Timeout 240] cvode timed out simulating the model (rm -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_5_gbode.pipe ; mkfifo SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_5_gbode.pipe ; head -c 1048576 < SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_5_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_5_gbode.sim & ./SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_5 -abortSlowSimulation -alarm=240 -lv LOG_STATS -s gbode -gbm=radauIIA3 > SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_5_gbode.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.283343823859468]