Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4.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.0006299/0.0006299, allocations: 76.16 kB / 9.861 MB, free: 0.8281 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009806/0.00161, allocations: 443.8 kB / 10.29 MB, free: 404 kB / 10.45 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.0009988/0.0009988, allocations: 141.2 kB / 11.17 MB, free: 3 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001347/0.002346, allocations: 475.6 kB / 11.64 MB, free: 2.531 MB / 13.93 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.8749/0.8749, allocations: 177.2 MB / 189.5 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07106/0.9459, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.1145/0.1145, allocations: 21.8 MB / 265.7 MB, free: 9 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01071/0.1252, allocations: 7.847 MB / 273.6 MB, free: 1.133 MB / 266.7 MB " [Timeout remaining time 180] Using package SystemDynamics with version 2.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-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_4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4") translateModel(SystemDynamics.WorldDynamics.World2.Scenario_4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.654e-06/1.654e-06, allocations: 0 / 274.9 MB, free: 1.375 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.119e-05/1.285e-05, allocations: 2.312 kB / 274.9 MB, free: 1.371 MB / 266.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_4): time 0.002774/0.002787, allocations: 3.182 MB / 278.1 MB, free: 15.9 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001352/0.004139, allocations: 0.7265 MB / 278.8 MB, free: 15.38 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002751/0.004414, allocations: 24.53 kB / 278.8 MB, free: 15.37 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002976/0.004712, allocations: 180.7 kB / 279 MB, free: 15.26 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000244/0.004956, allocations: 138.6 kB / 279.1 MB, free: 15.18 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004925/0.005448, allocations: 357.3 kB / 279.5 MB, free: 14.99 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006429/0.006091, allocations: 0.8274 MB / 280.3 MB, free: 14.59 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005143/0.006606, allocations: 490.9 kB / 280.8 MB, free: 14.27 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004697/0.007075, allocations: 0.5856 MB / 281.4 MB, free: 13.99 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002715/0.007347, allocations: 303.2 kB / 281.7 MB, free: 13.86 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001088/0.007456, allocations: 87.03 kB / 281.7 MB, free: 13.86 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001914/0.007647, allocations: 119.4 kB / 281.9 MB, free: 13.85 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002702/0.007917, allocations: 409.8 kB / 282.3 MB, free: 13.72 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001973/0.008114, allocations: 276.2 kB / 282.5 MB, free: 13.64 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007119/0.008826, allocations: 0.8584 MB / 283.4 MB, free: 13.27 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.146e-05/0.008838, allocations: 4.781 kB / 283.4 MB, free: 13.27 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.008839, allocations: 1.344 kB / 283.4 MB, free: 13.27 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.124e-05/0.00887, allocations: 0 / 283.4 MB, free: 13.27 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: 290 * Number of variables: 290 Notification: Performance of Generate backend data structure: time 0.001761/0.01063, allocations: 2.05 MB / 285.4 MB, free: 12.02 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.818e-05/0.01066, allocations: 8.719 kB / 285.5 MB, free: 12.02 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002092/0.01087, allocations: 199.2 kB / 285.7 MB, free: 11.99 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005236/0.01139, allocations: 0.6433 MB / 286.3 MB, free: 11.52 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.34e-05/0.01145, allocations: 79.67 kB / 286.4 MB, free: 11.49 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.922e-05/0.01152, allocations: 108.5 kB / 286.5 MB, free: 11.45 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007247/0.01225, allocations: 0.7543 MB / 287.2 MB, free: 11.09 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.01227, allocations: 5.188 kB / 287.2 MB, free: 11.09 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.759e-05/0.01231, allocations: 42 kB / 287.3 MB, free: 11.06 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-05/0.01236, allocations: 46.39 kB / 287.3 MB, free: 11.06 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003346/0.01269, allocations: 305.5 kB / 287.6 MB, free: 11 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002041/0.01473, allocations: 2.444 MB / 290.1 MB, free: 9.328 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003785/0.01511, allocations: 374.1 kB / 290.4 MB, free: 9.133 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/0.01522, allocations: 103.3 kB / 290.5 MB, free: 9.086 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.053e-05/0.01528, allocations: 33.48 kB / 290.6 MB, free: 9.078 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.0153, allocations: 39.28 kB / 290.6 MB, free: 9.035 MB / 282.7 MB Notification: Performance of pre-optimization done (n=70): time 1.653e-06/0.01531, allocations: 0 / 290.6 MB, free: 9.035 MB / 282.7 MB Notification: Performance of matching and sorting (n=70): time 0.0004066/0.01571, allocations: 384.8 kB / 291 MB, free: 8.91 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.399e-05/0.01575, allocations: 89.17 kB / 291.1 MB, free: 8.812 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006518/0.0164, allocations: 1.045 MB / 292.1 MB, free: 8.219 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.533e-05/0.01642, allocations: 44.52 kB / 292.2 MB, free: 8.172 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002558/0.01668, allocations: 0.5845 MB / 292.7 MB, free: 7.684 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/0.01679, allocations: 250 kB / 293 MB, free: 7.465 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/0.0169, allocations: 155.1 kB / 293.1 MB, free: 7.312 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.715e-05/0.01698, allocations: 337.9 kB / 293.5 MB, free: 6.977 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.97e-05/0.01707, allocations: 77.66 kB / 293.5 MB, free: 6.898 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001906/0.01726, allocations: 346.4 kB / 293.9 MB, free: 6.453 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003403/0.0176, allocations: 0.501 MB / 294.4 MB, free: 5.836 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.0176, allocations: 11.88 kB / 294.4 MB, free: 5.824 MB / 282.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.0004343/0.01803, allocations: 0.4923 MB / 294.9 MB, free: 5.324 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.01805, allocations: 8 kB / 294.9 MB, free: 5.316 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.01806, allocations: 8.703 kB / 294.9 MB, free: 5.309 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.01808, allocations: 12 kB / 294.9 MB, free: 5.297 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000323/0.0184, allocations: 209.5 kB / 295.1 MB, free: 5.094 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.01841, allocations: 19.94 kB / 295.1 MB, free: 5.074 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001625/0.01857, allocations: 75.41 kB / 295.2 MB, free: 5 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.236e-05/0.0186, allocations: 35.98 kB / 295.2 MB, free: 4.965 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 5 (Population.Integrator1.local_reset,Natural_Resources.Integrator1.local_reset,Capital_Investment.Integrator1.local_reset,Pollution.Integrator1.local_reset,CIAF.Integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 109 * 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.0001674/0.01877, allocations: 179.5 kB / 295.4 MB, free: 4.781 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.018e-05/0.01886, allocations: 107.8 kB / 295.5 MB, free: 4.676 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000431/0.01929, allocations: 440.9 kB / 296 MB, free: 4.238 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.0193, allocations: 8 kB / 296 MB, free: 4.23 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.0193, allocations: 0 / 296 MB, free: 4.23 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.0193, allocations: 3.984 kB / 296 MB, free: 4.227 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008211/0.02012, allocations: 0.9276 MB / 296.9 MB, free: 3.273 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.02013, allocations: 0 / 296.9 MB, free: 3.273 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002543/0.02038, allocations: 135.8 kB / 297 MB, free: 3.141 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.02038, allocations: 4 kB / 297 MB, free: 3.137 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.937e-05/0.0204, allocations: 20.02 kB / 297.1 MB, free: 3.117 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.02041, allocations: 4 kB / 297.1 MB, free: 3.113 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.02041, allocations: 0 / 297.1 MB, free: 3.113 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004546/0.02086, allocations: 0.6556 MB / 297.7 MB, free: 2.438 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.749e-05/0.02094, allocations: 130.8 kB / 297.8 MB, free: 2.309 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.466e-05/0.02099, allocations: 16 kB / 297.9 MB, free: 2.293 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.0211, allocations: 12 kB / 297.9 MB, free: 2.281 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.154e-05/0.02116, allocations: 44.56 kB / 297.9 MB, free: 2.238 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.662e-05/0.02117, allocations: 12 kB / 297.9 MB, free: 2.227 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003222/0.02149, allocations: 0.5314 MB / 298.5 MB, free: 1.695 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02149, allocations: 0 / 298.5 MB, free: 1.695 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003691/0.02186, allocations: 227.2 kB / 298.7 MB, free: 1.473 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (70): * Single equations (assignments): 70 * 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.0001238/0.02199, allocations: 100.3 kB / 298.8 MB, free: 1.367 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003274/0.02231, allocations: 353.5 kB / 299.1 MB, free: 1.02 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.749e-05/0.02233, allocations: 16.5 kB / 299.1 MB, free: 1.004 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001328/0.02246, allocations: 157.8 kB / 299.3 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004234/0.02289, allocations: 146.4 kB / 299.4 MB, free: 0.707 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002102/0.02499, allocations: 2.491 MB / 301.9 MB, free: 14.16 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002227/0.02521, allocations: 345.2 kB / 302.3 MB, free: 13.8 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001855/0.0254, allocations: 100.9 kB / 302.4 MB, free: 13.7 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000143/0.02554, allocations: 131.4 kB / 302.5 MB, free: 13.57 MB / 298.7 MB Notification: Performance of SimCode: time 6.82e-07/0.02554, allocations: 4 kB / 302.5 MB, free: 13.57 MB / 298.7 MB Notification: Performance of Templates: time 0.009174/0.03472, allocations: 5.323 MB / 307.8 MB, free: 8.316 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4.makefile [Timeout 660] (rm -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4.pipe ; mkfifo SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4.pipe ; head -c 1048576 < SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4.pipe >> ../files/SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4.sim & (cd run_cvode && ../SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4 -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4.pipe 2>&1) [Timeout 240] (rm -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4_gbode.pipe ; mkfifo SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4_gbode.pipe ; head -c 1048576 < SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4_gbode.sim & (cd run_gbode && ../SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4 -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4_gbode.pipe 2>&1) [Timeout 240] (rm -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4_ida.pipe ; mkfifo SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4_ida.pipe ; head -c 1048576 < SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4_ida.sim & (cd run_ida && ../SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4 -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.621807662770152]