Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1.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.0009741/0.0009741, allocations: 85.08 kB / 19.42 MB, free: 476 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.00123/0.00123, allocations: 169 kB / 22.73 MB, free: 1.805 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.053/1.053, allocations: 177.1 MB / 203.1 MB, free: 5.641 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.1338/0.1338, allocations: 21.8 MB / 281.3 MB, free: 7.258 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_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1") translateModel(SystemDynamics.WorldDynamics.World2.Scenario_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 358.1 MB, free: 5.383 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.697e-05/2.909e-05, allocations: 2.312 kB / 358.1 MB, free: 5.379 MB / 330.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_1): time 0.003359/0.003388, allocations: 3.161 MB / 361.2 MB, free: 2.203 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00142/0.004807, allocations: 0.6623 MB / 361.9 MB, free: 1.539 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004041/0.005212, allocations: 19.94 kB / 361.9 MB, free: 1.52 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003428/0.005554, allocations: 166.3 kB / 362.1 MB, free: 1.355 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002559/0.00581, allocations: 122.8 kB / 362.2 MB, free: 1.234 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005938/0.006404, allocations: 363.5 kB / 362.5 MB, free: 0.8789 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006699/0.007074, allocations: 0.8443 MB / 363.4 MB, free: 32 kB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005201/0.007594, allocations: 476.1 kB / 363.9 MB, free: 15.53 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003632/0.007957, allocations: 490.8 kB / 364.3 MB, free: 15.05 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000214/0.008171, allocations: 302.7 kB / 364.6 MB, free: 14.75 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.535e-05/0.008257, allocations: 88 kB / 364.7 MB, free: 14.67 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001616/0.008418, allocations: 108 kB / 364.8 MB, free: 14.56 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002721/0.00869, allocations: 458.4 kB / 365.3 MB, free: 14.11 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001894/0.00888, allocations: 314.7 kB / 365.6 MB, free: 13.8 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007902/0.00967, allocations: 0.8902 MB / 366.5 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.009673, allocations: 0 / 366.5 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.009675, allocations: 0 / 366.5 MB, free: 12.91 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.543e-05/0.009691, allocations: 0 / 366.5 MB, free: 12.91 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: 259 * Number of variables: 259 Notification: Performance of Generate backend data structure: time 0.001523/0.01121, allocations: 1.828 MB / 368.3 MB, free: 11.03 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.01125, allocations: 8.031 kB / 368.3 MB, free: 11.02 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002429/0.0115, allocations: 283.6 kB / 368.6 MB, free: 10.74 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006557/0.01215, allocations: 0.701 MB / 369.3 MB, free: 10 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.689e-05/0.0122, allocations: 74.42 kB / 369.4 MB, free: 9.93 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.7e-05/0.01228, allocations: 100.4 kB / 369.5 MB, free: 9.832 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008368/0.01312, allocations: 0.7508 MB / 370.2 MB, free: 9.004 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/0.01314, allocations: 4.125 kB / 370.2 MB, free: 9 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.272e-05/0.01318, allocations: 44.38 kB / 370.2 MB, free: 8.957 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.121e-05/0.0132, allocations: 28.36 kB / 370.3 MB, free: 8.93 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005043/0.01371, allocations: 359.5 kB / 370.6 MB, free: 8.582 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00275/0.01646, allocations: 3.303 MB / 373.9 MB, free: 5.172 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005714/0.01703, allocations: 356.9 kB / 374.3 MB, free: 4.816 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001613/0.01719, allocations: 125.6 kB / 374.4 MB, free: 4.691 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.077e-05/0.01726, allocations: 28.64 kB / 374.4 MB, free: 4.664 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.01729, allocations: 49.92 kB / 374.5 MB, free: 4.605 MB / 346.7 MB Notification: Performance of pre-optimization done (n=66): time 3.747e-06/0.0173, allocations: 4 kB / 374.5 MB, free: 4.602 MB / 346.7 MB Notification: Performance of matching and sorting (n=66): time 0.000709/0.01801, allocations: 0.5518 MB / 375 MB, free: 4.043 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/0.01804, allocations: 56.06 kB / 375.1 MB, free: 3.977 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008562/0.0189, allocations: 1.126 MB / 376.2 MB, free: 2.82 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.816e-05/0.01893, allocations: 37.7 kB / 376.3 MB, free: 2.777 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004363/0.01936, allocations: 0.8193 MB / 377.1 MB, free: 1.945 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001188/0.01948, allocations: 233.9 kB / 377.3 MB, free: 1.715 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001195/0.0196, allocations: 116 kB / 377.4 MB, free: 1.594 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.01973, allocations: 0.4965 MB / 377.9 MB, free: 1.09 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/0.01988, allocations: 93.25 kB / 378 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002034/0.02008, allocations: 227.6 kB / 378.2 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003824/0.02047, allocations: 353.5 kB / 378.6 MB, free: 344 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.02047, allocations: 4 kB / 378.6 MB, free: 340 kB / 346.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.0005795/0.02105, allocations: 0.5391 MB / 379.1 MB, free: 15.79 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.02107, allocations: 8 kB / 379.1 MB, free: 15.78 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.02108, allocations: 4 kB / 379.1 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.02109, allocations: 7.984 kB / 379.1 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002569/0.02135, allocations: 127.8 kB / 379.3 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.02136, allocations: 7.938 kB / 379.3 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000121/0.02148, allocations: 59.88 kB / 379.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.572e-05/0.02151, allocations: 24 kB / 379.3 MB, free: 15.55 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 (81): * Single equations (assignments): 81 * 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.0001818/0.02169, allocations: 194.9 kB / 379.5 MB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.0218, allocations: 166.9 kB / 379.7 MB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005785/0.02237, allocations: 0.5191 MB / 380.2 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.02238, allocations: 8 kB / 380.2 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.02238, allocations: 3.938 kB / 380.2 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.02239, allocations: 3.984 kB / 380.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001385/0.02377, allocations: 1.279 MB / 381.5 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.02378, allocations: 0 / 381.5 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003445/0.02412, allocations: 115.8 kB / 381.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.02413, allocations: 4 kB / 381.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.566e-05/0.02416, allocations: 15.98 kB / 381.6 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.159e-06/0.02417, allocations: 4 kB / 381.6 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.02417, allocations: 0 / 381.6 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008977/0.02507, allocations: 0.7634 MB / 382.4 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001148/0.02518, allocations: 118.9 kB / 382.5 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.175e-05/0.02524, allocations: 15.98 kB / 382.5 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001503/0.02539, allocations: 12 kB / 382.6 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.929e-05/0.02545, allocations: 40.58 kB / 382.6 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.568e-05/0.02548, allocations: 16 kB / 382.6 MB, free: 12.19 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000656/0.02614, allocations: 0.6599 MB / 383.3 MB, free: 11.53 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.02614, allocations: 0 / 383.3 MB, free: 11.53 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005069/0.02664, allocations: 211.2 kB / 383.5 MB, free: 11.32 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 (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.0001728/0.02682, allocations: 115.2 kB / 383.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005148/0.02733, allocations: 334.4 kB / 383.9 MB, free: 10.87 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.02733, allocations: 0.625 kB / 383.9 MB, free: 10.87 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000235/0.02757, allocations: 184.7 kB / 384.1 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005173/0.02808, allocations: 103.4 kB / 384.2 MB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002626/0.03071, allocations: 2.186 MB / 386.4 MB, free: 8.352 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002625/0.03097, allocations: 325.1 kB / 386.7 MB, free: 8.008 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001763/0.03115, allocations: 72.36 kB / 386.8 MB, free: 7.934 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.03125, allocations: 40.5 kB / 386.8 MB, free: 7.891 MB / 362.7 MB Notification: Performance of SimCode: time 7.11e-07/0.03125, allocations: 0 / 386.8 MB, free: 7.891 MB / 362.7 MB Notification: Performance of Templates: time 0.01032/0.04157, allocations: 4.298 MB / 391.1 MB, free: 3.625 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1.makefile [Timeout 660] (rm -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1.pipe ; mkfifo SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1.pipe ; head -c 1048576 < SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1.pipe >> ../files/SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1.sim & ./SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1.pipe 2>&1) [Timeout 240] (rm -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1_cvode.pipe ; mkfifo SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1_cvode.pipe ; head -c 1048576 < SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1_cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1_cvode.sim & ./SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1 -abortSlowSimulation -alarm=240 -lv LOG_STATS -s cvode > SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1_cvode.pipe 2>&1) [Timeout 240] (rm -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1_gbode.pipe ; mkfifo SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1_gbode.pipe ; head -c 1048576 < SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1_gbode.sim & ./SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1 -abortSlowSimulation -alarm=240 -lv LOG_STATS -s gbode -gbm=radauIIA3 > SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1_gbode.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.368453396949917]