Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin.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.00239/0.00239, allocations: 80.08 kB / 19.43 MB, free: 348 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.002862/0.002862, allocations: 165.6 kB / 22.76 MB, free: 1.664 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.609/1.609, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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.2243/0.2243, allocations: 21.79 MB / 281.4 MB, free: 7.211 MB / 266.7 MB " [Timeout remaining time 179] 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.IntroductoryExamples.Gilpin,tolerance=1e-11,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin") translateModel(SystemDynamics.IntroductoryExamples.Gilpin,tolerance=1e-11,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin") [Timeout 660] "Warning: Ignoring unknown experiment annotation option: Algorithm = \"dassl\" Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 358 MB, free: 5.461 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.455e-05/3.653e-05, allocations: 2.312 kB / 358 MB, free: 5.457 MB / 330.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Gilpin): time 0.003696/0.003733, allocations: 1.833 MB / 359.9 MB, free: 3.621 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008812/0.004614, allocations: 311 kB / 360.2 MB, free: 3.316 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002118/0.004826, allocations: 11.94 kB / 360.2 MB, free: 3.305 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002183/0.005044, allocations: 67.23 kB / 360.2 MB, free: 3.238 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000123/0.005167, allocations: 31.5 kB / 360.3 MB, free: 3.207 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003213/0.005488, allocations: 159.8 kB / 360.4 MB, free: 3.051 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005019/0.00599, allocations: 400.5 kB / 360.8 MB, free: 2.66 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004658/0.006456, allocations: 258.8 kB / 361.1 MB, free: 2.395 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002653/0.006721, allocations: 231.5 kB / 361.3 MB, free: 2.168 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001634/0.006885, allocations: 127.5 kB / 361.4 MB, free: 2.043 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 7.272e-05/0.006957, allocations: 44 kB / 361.5 MB, free: 2 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.607e-05/0.007013, allocations: 44 kB / 361.5 MB, free: 1.957 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001112/0.007125, allocations: 103.6 kB / 361.6 MB, free: 1.855 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001402/0.007265, allocations: 131.6 kB / 361.7 MB, free: 1.727 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005605/0.007825, allocations: 446.2 kB / 362.2 MB, free: 1.289 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.00783, allocations: 4 kB / 362.2 MB, free: 1.285 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.007831, allocations: 0 / 362.2 MB, free: 1.285 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.173e-06/0.007838, allocations: 0 / 362.2 MB, free: 1.285 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.001056/0.008894, allocations: 0.638 MB / 362.8 MB, free: 0.6133 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.008936, allocations: 12.03 kB / 362.8 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001715/0.009107, allocations: 96.61 kB / 362.9 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004545/0.009562, allocations: 277.8 kB / 363.2 MB, free: 212 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.843e-05/0.00961, allocations: 41.69 kB / 363.2 MB, free: 168 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.694e-05/0.009687, allocations: 48.38 kB / 363.3 MB, free: 120 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008166/0.0105, allocations: 491.6 kB / 363.8 MB, free: 15.61 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.01052, allocations: 192 / 363.8 MB, free: 15.61 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.07e-05/0.01056, allocations: 24.38 kB / 363.8 MB, free: 15.59 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.167e-05/0.01058, allocations: 20.25 kB / 363.8 MB, free: 15.57 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005136/0.01109, allocations: 285 kB / 364.1 MB, free: 15.29 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00205/0.01314, allocations: 1.401 MB / 365.5 MB, free: 13.83 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004113/0.01356, allocations: 182.6 kB / 365.7 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/0.0137, allocations: 80.84 kB / 365.7 MB, free: 13.56 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.01372, allocations: 7.938 kB / 365.7 MB, free: 13.55 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/0.01375, allocations: 34.56 kB / 365.8 MB, free: 13.51 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 1.172e-06/0.01375, allocations: 0 / 365.8 MB, free: 13.51 MB / 346.7 MB Notification: Performance of matching and sorting (n=20): time 0.0005185/0.01427, allocations: 256.5 kB / 366 MB, free: 13.25 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.305e-05/0.01432, allocations: 59.41 kB / 366.1 MB, free: 13.18 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00024/0.01456, allocations: 208.1 kB / 366.3 MB, free: 12.97 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.786e-05/0.01459, allocations: 29.7 kB / 366.3 MB, free: 12.93 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002359/0.01483, allocations: 272 kB / 366.6 MB, free: 12.66 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.781e-05/0.01491, allocations: 75.36 kB / 366.7 MB, free: 12.59 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.618e-05/0.015, allocations: 45.7 kB / 366.7 MB, free: 12.54 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001913/0.01519, allocations: 330.8 kB / 367 MB, free: 12.21 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001242/0.01532, allocations: 67.97 kB / 367.1 MB, free: 12.14 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001668/0.01548, allocations: 117.9 kB / 367.2 MB, free: 12 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003168/0.0158, allocations: 197.7 kB / 367.4 MB, free: 11.79 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.0158, allocations: 0 / 367.4 MB, free: 11.79 MB / 346.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004239/0.01623, allocations: 250.1 kB / 367.6 MB, free: 11.54 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.01625, allocations: 8 kB / 367.6 MB, free: 11.53 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.01625, allocations: 4.188 kB / 367.7 MB, free: 11.53 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-05/0.01627, allocations: 4 kB / 367.7 MB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000196/0.01647, allocations: 39.92 kB / 367.7 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.01648, allocations: 4 kB / 367.7 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.068e-05/0.01657, allocations: 19.84 kB / 367.7 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.29e-05/0.01659, allocations: 12 kB / 367.7 MB, free: 11.45 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 3 (Predator.Integrator1.local_reset,Prey_2.Integrator1.local_reset,Prey_1.Integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0001776/0.01677, allocations: 149.7 kB / 367.9 MB, free: 11.29 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.045e-05/0.01683, allocations: 31.86 kB / 367.9 MB, free: 11.26 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.881e-05/0.01689, allocations: 29.8 kB / 367.9 MB, free: 11.24 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.01689, allocations: 4 kB / 367.9 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.0169, allocations: 4 kB / 367.9 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.0169, allocations: 0 / 367.9 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007856/0.01769, allocations: 0.5486 MB / 368.5 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.01769, allocations: 3.938 kB / 368.5 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001998/0.01789, allocations: 31.98 kB / 368.5 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.01789, allocations: 0 / 368.5 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.679e-05/0.01791, allocations: 4 kB / 368.5 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.01791, allocations: 0 / 368.5 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.01791, allocations: 0 / 368.5 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005354/0.01844, allocations: 384.3 kB / 368.9 MB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.85e-05/0.01848, allocations: 23.8 kB / 368.9 MB, free: 10.19 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.741e-05/0.01851, allocations: 8 kB / 368.9 MB, free: 10.18 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.59e-05/0.01861, allocations: 0 / 368.9 MB, free: 10.18 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.789e-05/0.01864, allocations: 16.11 kB / 369 MB, free: 10.17 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.01866, allocations: 7.984 kB / 369 MB, free: 10.16 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001583/0.01882, allocations: 153.6 kB / 369.1 MB, free: 10.01 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01882, allocations: 0 / 369.1 MB, free: 10.01 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000338/0.01915, allocations: 79.56 kB / 369.2 MB, free: 9.934 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (Prey_1.Integrator1.y,Prey_2.Integrator1.y,Predator.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 (20): * Single equations (assignments): 20 * 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.000123/0.01928, allocations: 99.19 kB / 369.3 MB, free: 9.824 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003259/0.0196, allocations: 170.7 kB / 369.5 MB, free: 9.66 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.0196, allocations: 0 / 369.5 MB, free: 9.66 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001411/0.01975, allocations: 83.91 kB / 369.5 MB, free: 9.578 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003496/0.0201, allocations: 32.53 kB / 369.6 MB, free: 9.547 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001107/0.0212, allocations: 0.6423 MB / 370.2 MB, free: 8.875 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002373/0.02144, allocations: 206.5 kB / 370.4 MB, free: 8.652 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.953e-05/0.02152, allocations: 17.64 kB / 370.4 MB, free: 8.633 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.627e-05/0.0216, allocations: 16.5 kB / 370.4 MB, free: 8.617 MB / 346.7 MB Notification: Performance of SimCode: time 5.31e-07/0.0216, allocations: 0 / 370.4 MB, free: 8.617 MB / 346.7 MB Notification: Performance of Templates: time 0.007704/0.0293, allocations: 1.399 MB / 371.8 MB, free: 7.234 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin.makefile [Timeout 660] (rm -f SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin.pipe ; mkfifo SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin.pipe ; head -c 1048576 < SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin.pipe >> ../files/SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin.sim & ./SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin -abortSlowSimulation -alarm=480 -lv LOG_STATS > SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin.pipe 2>&1) [Timeout 480] (rm -f SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin_cvode.pipe ; mkfifo SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin_cvode.pipe ; head -c 1048576 < SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin_cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin_cvode.sim & ./SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin -abortSlowSimulation -alarm=480 -lv LOG_STATS -s cvode > SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin_cvode.pipe 2>&1) [Timeout 480] (rm -f SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin_gbode.pipe ; mkfifo SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin_gbode.pipe ; head -c 1048576 < SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin_gbode.sim & ./SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin -abortSlowSimulation -alarm=480 -lv LOG_STATS -s gbode -gbm=radauIIA3 > SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin_gbode.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.242663305951282]