Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3.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.0009211/0.0009211, allocations: 89.08 kB / 19.42 MB, free: 496 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.0009434/0.0009434, allocations: 169 kB / 22.73 MB, free: 1.824 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.012/1.012, allocations: 177.1 MB / 203.1 MB, free: 5.645 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.1332/0.1332, allocations: 21.82 MB / 281.3 MB, free: 7.262 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_3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3") translateModel(SystemDynamics.WorldDynamics.World2.Scenario_3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.595e-06/2.595e-06, allocations: 0 / 358.1 MB, free: 5.395 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.028e-05/3.287e-05, allocations: 6.25 kB / 358.1 MB, free: 5.387 MB / 330.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_3): time 0.005209/0.005242, allocations: 3.168 MB / 361.2 MB, free: 2.207 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002209/0.007452, allocations: 0.674 MB / 361.9 MB, free: 1.531 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000635/0.008087, allocations: 23.88 kB / 361.9 MB, free: 1.508 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004833/0.00857, allocations: 170.3 kB / 362.1 MB, free: 1.34 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004342/0.009004, allocations: 134.8 kB / 362.2 MB, free: 1.207 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008568/0.009861, allocations: 363.4 kB / 362.6 MB, free: 0.8516 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001099/0.01096, allocations: 0.8483 MB / 363.4 MB, free: 0 / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007358/0.0117, allocations: 472.2 kB / 363.9 MB, free: 15.5 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005141/0.01221, allocations: 494.8 kB / 364.4 MB, free: 15.02 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000293/0.0125, allocations: 290.8 kB / 364.7 MB, free: 14.73 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001215/0.01262, allocations: 84 kB / 364.8 MB, free: 14.65 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002141/0.01284, allocations: 116 kB / 364.9 MB, free: 14.54 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003333/0.01317, allocations: 458.3 kB / 365.3 MB, free: 14.09 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00027/0.01344, allocations: 326.6 kB / 365.6 MB, free: 13.77 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00112/0.01456, allocations: 0.9096 MB / 366.5 MB, free: 12.85 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.01457, allocations: 0 / 366.5 MB, free: 12.85 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.404e-06/0.01457, allocations: 0 / 366.5 MB, free: 12.85 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.241e-05/0.01461, allocations: 0 / 366.5 MB, free: 12.85 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: 263 * Number of variables: 263 Notification: Performance of Generate backend data structure: time 0.002249/0.01686, allocations: 1.879 MB / 368.4 MB, free: 10.92 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.0169, allocations: 8.031 kB / 368.4 MB, free: 10.91 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003465/0.01725, allocations: 287.6 kB / 368.7 MB, free: 10.63 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008858/0.01813, allocations: 0.7214 MB / 369.4 MB, free: 9.871 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.49e-05/0.01821, allocations: 74.45 kB / 369.5 MB, free: 9.797 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00012/0.01833, allocations: 104.4 kB / 369.6 MB, free: 9.695 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001191/0.01952, allocations: 0.7753 MB / 370.4 MB, free: 8.84 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.065e-05/0.01954, allocations: 192 / 370.4 MB, free: 8.84 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.642e-05/0.01961, allocations: 44.38 kB / 370.4 MB, free: 8.797 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.732e-05/0.01963, allocations: 24.38 kB / 370.4 MB, free: 8.773 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007568/0.02039, allocations: 375.5 kB / 370.8 MB, free: 8.41 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003825/0.02422, allocations: 3.338 MB / 374.2 MB, free: 4.965 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007622/0.02498, allocations: 377.1 kB / 374.5 MB, free: 4.586 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000228/0.02521, allocations: 133.5 kB / 374.7 MB, free: 4.453 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.936e-05/0.02529, allocations: 28.64 kB / 374.7 MB, free: 4.426 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.487e-05/0.02532, allocations: 42.05 kB / 374.7 MB, free: 4.375 MB / 346.7 MB Notification: Performance of pre-optimization done (n=68): time 2.384e-06/0.02532, allocations: 0 / 374.7 MB, free: 4.375 MB / 346.7 MB Notification: Performance of matching and sorting (n=68): time 0.0011/0.02642, allocations: 0.5789 MB / 375.3 MB, free: 3.789 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/0.02647, allocations: 60.06 kB / 375.4 MB, free: 3.719 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001459/0.02793, allocations: 1.161 MB / 376.5 MB, free: 2.531 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.655e-05/0.02796, allocations: 41.7 kB / 376.6 MB, free: 2.484 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006445/0.02861, allocations: 0.8433 MB / 377.4 MB, free: 1.629 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001728/0.02878, allocations: 241.9 kB / 377.6 MB, free: 1.391 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001585/0.02894, allocations: 124.3 kB / 377.8 MB, free: 1.262 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.02909, allocations: 0.4965 MB / 378.3 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004313/0.02952, allocations: 93.94 kB / 378.3 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002997/0.02982, allocations: 231.1 kB / 378.6 MB, free: 404 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005575/0.03038, allocations: 377.5 kB / 378.9 MB, free: 15.97 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.03039, allocations: 0 / 378.9 MB, free: 15.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0008605/0.03125, allocations: 0.5508 MB / 379.5 MB, free: 15.42 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.583e-05/0.03127, allocations: 8.312 kB / 379.5 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.03128, allocations: 4 kB / 379.5 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.172e-05/0.0313, allocations: 8 kB / 379.5 MB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004207/0.03172, allocations: 131.8 kB / 379.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/0.03174, allocations: 8 kB / 379.6 MB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004322/0.03217, allocations: 51.56 kB / 379.7 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.081e-05/0.03221, allocations: 24 kB / 379.7 MB, free: 15.19 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 (CIAF.Integrator1.local_reset,Pollution.Integrator1.local_reset,Capital_Investment.Integrator1.local_reset,Natural_Resources.Integrator1.local_reset,Population.Integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 83 * 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.0002513/0.03246, allocations: 199.2 kB / 379.9 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001697/0.03263, allocations: 174.9 kB / 380.1 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008678/0.0335, allocations: 0.5275 MB / 380.6 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.03351, allocations: 12 kB / 380.6 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.03351, allocations: 0 / 380.6 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.03352, allocations: 0 / 380.6 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001987/0.0355, allocations: 1.327 MB / 382 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.03551, allocations: 0 / 382 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004061/0.03591, allocations: 107.9 kB / 382.1 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.094e-06/0.03592, allocations: 4 kB / 382.1 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.699e-05/0.03596, allocations: 15.98 kB / 382.1 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.071e-06/0.03596, allocations: 7.938 kB / 382.1 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.03597, allocations: 0 / 382.1 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001226/0.03719, allocations: 0.7756 MB / 382.9 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001418/0.03733, allocations: 126.9 kB / 383 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.527e-05/0.03741, allocations: 12 kB / 383 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001964/0.03761, allocations: 12 kB / 383 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.985e-05/0.03769, allocations: 40.58 kB / 383 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-05/0.03772, allocations: 16 kB / 383.1 MB, free: 11.75 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0008352/0.03856, allocations: 0.6888 MB / 383.8 MB, free: 11.06 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.03856, allocations: 0 / 383.8 MB, free: 11.06 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008118/0.03937, allocations: 211.2 kB / 384 MB, free: 10.86 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (Population.Integrator1.y,Natural_Resources.Integrator1.y,Capital_Investment.Integrator1.y,Pollution.Integrator1.y,CIAF.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 (68): * Single equations (assignments): 68 * 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.0002212/0.03959, allocations: 127.1 kB / 384.1 MB, free: 10.72 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000655/0.04025, allocations: 335.1 kB / 384.4 MB, free: 10.39 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.04025, allocations: 4 kB / 384.4 MB, free: 10.39 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002869/0.04054, allocations: 196.6 kB / 384.6 MB, free: 10.2 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006021/0.04114, allocations: 97.25 kB / 384.7 MB, free: 10.1 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00401/0.04515, allocations: 2.261 MB / 387 MB, free: 7.797 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000316/0.04547, allocations: 333.2 kB / 387.3 MB, free: 7.445 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002125/0.04568, allocations: 72.3 kB / 387.4 MB, free: 7.371 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001259/0.0458, allocations: 52.48 kB / 387.4 MB, free: 7.32 MB / 362.7 MB Notification: Performance of SimCode: time 1.223e-06/0.0458, allocations: 4 kB / 387.4 MB, free: 7.316 MB / 362.7 MB Notification: Performance of Templates: time 0.01414/0.05995, allocations: 4.384 MB / 391.8 MB, free: 2.973 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3.makefile [Timeout 660] (rm -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3.pipe ; mkfifo SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3.pipe ; head -c 1048576 < SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3.pipe >> ../files/SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3.sim & ./SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3 -abortSlowSimulation -alarm=240 -lv LOG_STATS > SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3.pipe 2>&1) [Timeout 240] (rm -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3_cvode.pipe ; mkfifo SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3_cvode.pipe ; head -c 1048576 < SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3_cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3_cvode.sim & ./SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3 -abortSlowSimulation -alarm=240 -lv LOG_STATS -s cvode > SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3_cvode.pipe 2>&1) [Timeout 240] (rm -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3_gbode.pipe ; mkfifo SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3_gbode.pipe ; head -c 1048576 < SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3_gbode.sim & ./SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3 -abortSlowSimulation -alarm=240 -lv LOG_STATS -s gbode -gbm=radauIIA3 > SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3_gbode.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1642176241148263]