Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/SystemDynamics 2.1.1-master/package.mo", uses=false) Using package SystemDynamics with version 2.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/SystemDynamics 2.1.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(SystemDynamics.IntroductoryExamples.Gilpin,tolerance=1e-11,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin") translateModel(SystemDynamics.IntroductoryExamples.Gilpin,tolerance=1e-11,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008448/0.0008448, allocations: 178.8 kB / 15.43 MB, free: 6.199 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.254/1.254, allocations: 225.7 MB / 241.9 MB, free: 376 kB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007283/0.0007283, allocations: 92.8 kB / 293.1 MB, free: 12.87 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/SystemDynamics 2.1.1-master/package.mo): time 0.1495/0.1495, allocations: 28.84 MB / 373 MB, free: 12.77 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.0002813/0.0002813, allocations: 13.03 kB / 441.2 MB, free: 69.51 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07747/0.07777, allocations: 57.49 MB / 498.7 MB, free: 11.91 MB / 330.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Gilpin): time 0.001546/0.07934, allocations: 1.599 MB / 0.4886 GB, free: 10.3 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005291/0.07989, allocations: 291.1 kB / 0.4889 GB, free: 10.02 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001888/0.08009, allocations: 12 kB / 0.4889 GB, free: 10 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001607/0.08026, allocations: 43.56 kB / 0.4889 GB, free: 9.961 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001052/0.08037, allocations: 19.8 kB / 0.4889 GB, free: 9.941 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002481/0.08063, allocations: 131.9 kB / 0.4891 GB, free: 9.812 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002868/0.08092, allocations: 376.5 kB / 0.4894 GB, free: 9.441 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003803/0.08131, allocations: 326.3 kB / 0.4897 GB, free: 9.109 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6e-05/0.08138, allocations: 87.34 kB / 0.4898 GB, free: 9.023 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/0.08149, allocations: 119 kB / 0.4899 GB, free: 8.906 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.941e-05/0.08153, allocations: 8 kB / 0.4899 GB, free: 8.898 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.16e-05/0.08156, allocations: 8 kB / 0.4899 GB, free: 8.891 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.359e-05/0.08161, allocations: 67.58 kB / 0.49 GB, free: 8.824 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 9.888e-05/0.08171, allocations: 172.5 kB / 0.4902 GB, free: 8.648 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002594/0.08198, allocations: 358.8 kB / 0.4905 GB, free: 8.297 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.08199, allocations: 3.938 kB / 0.4905 GB, free: 8.293 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.082, allocations: 0 / 0.4905 GB, free: 8.293 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.08201, allocations: 0 / 0.4905 GB, free: 8.293 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.0006572/0.08267, allocations: 0.6244 MB / 0.4911 GB, free: 7.617 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.479e-05/0.08272, allocations: 11.97 kB / 0.4911 GB, free: 7.605 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.459e-05/0.08279, allocations: 56.28 kB / 0.4912 GB, free: 7.551 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000267/0.08306, allocations: 324.2 kB / 0.4915 GB, free: 7.191 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.651e-05/0.08309, allocations: 45.69 kB / 0.4915 GB, free: 7.148 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.606e-05/0.08316, allocations: 52.36 kB / 0.4916 GB, free: 7.098 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005566/0.08372, allocations: 491.6 kB / 0.4921 GB, free: 6.59 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.08374, allocations: 192 / 0.4921 GB, free: 6.59 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.808e-05/0.08377, allocations: 23.94 kB / 0.4921 GB, free: 6.566 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/0.08379, allocations: 12 kB / 0.4921 GB, free: 6.555 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003429/0.08413, allocations: 269.1 kB / 0.4923 GB, free: 6.293 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001302/0.08544, allocations: 1.642 MB / 0.494 GB, free: 4.574 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000286/0.08574, allocations: 194.6 kB / 0.4941 GB, free: 4.375 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.758e-05/0.08585, allocations: 84.84 kB / 0.4942 GB, free: 4.289 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.08587, allocations: 7.984 kB / 0.4942 GB, free: 4.281 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.252e-05/0.08589, allocations: 38.56 kB / 0.4943 GB, free: 4.234 MB / 330.7 MB Notification: Performance of pre-optimization done (n=20): time 1.182e-06/0.0859, allocations: 0 / 0.4943 GB, free: 4.234 MB / 330.7 MB Notification: Performance of matching and sorting (n=20): time 0.0003441/0.08625, allocations: 241.7 kB / 0.4945 GB, free: 3.992 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.866e-05/0.08628, allocations: 51.41 kB / 0.4945 GB, free: 3.93 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001727/0.08645, allocations: 270.5 kB / 0.4948 GB, free: 3.652 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.195e-05/0.08647, allocations: 25.7 kB / 0.4948 GB, free: 3.621 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.98e-05/0.08658, allocations: 263.7 kB / 0.4951 GB, free: 3.359 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.626e-05/0.08662, allocations: 74.94 kB / 0.4951 GB, free: 3.285 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.335e-06/0.08664, allocations: 4 kB / 0.4952 GB, free: 3.281 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.219e-05/0.08669, allocations: 342.8 kB / 0.4955 GB, free: 2.938 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.703e-05/0.08679, allocations: 63.98 kB / 0.4955 GB, free: 2.875 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.877e-05/0.08689, allocations: 110.7 kB / 0.4956 GB, free: 2.746 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001954/0.08709, allocations: 196.7 kB / 0.4958 GB, free: 2.535 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.0871, allocations: 0 / 0.4958 GB, free: 2.535 MB / 330.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002667/0.08737, allocations: 241.2 kB / 0.4961 GB, free: 2.293 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.08739, allocations: 4 kB / 0.4961 GB, free: 2.289 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.0874, allocations: 4 kB / 0.4961 GB, free: 2.285 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.08742, allocations: 7.938 kB / 0.4961 GB, free: 2.277 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001651/0.08759, allocations: 43.92 kB / 0.4961 GB, free: 2.234 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.0876, allocations: 4 kB / 0.4961 GB, free: 2.23 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.289e-05/0.08769, allocations: 27.67 kB / 0.4961 GB, free: 2.203 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.422e-05/0.08771, allocations: 8 kB / 0.4962 GB, free: 2.195 MB / 330.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.0001002/0.08782, allocations: 157.8 kB / 0.4963 GB, free: 2.031 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.625e-05/0.08786, allocations: 27.62 kB / 0.4963 GB, free: 2.004 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.679e-05/0.08791, allocations: 34.17 kB / 0.4964 GB, free: 1.973 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.08792, allocations: 0 / 0.4964 GB, free: 1.973 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.08793, allocations: 0 / 0.4964 GB, free: 1.973 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.08794, allocations: 7.938 kB / 0.4964 GB, free: 1.965 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000522/0.08846, allocations: 0.6686 MB / 0.497 GB, free: 1.242 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.08848, allocations: 4 kB / 0.497 GB, free: 1.238 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001638/0.08864, allocations: 24 kB / 0.4971 GB, free: 1.215 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.08865, allocations: 0 / 0.4971 GB, free: 1.215 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.08868, allocations: 11.98 kB / 0.4971 GB, free: 1.203 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.08868, allocations: 7.938 kB / 0.4971 GB, free: 1.195 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.08869, allocations: 0 / 0.4971 GB, free: 1.195 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003229/0.08902, allocations: 363.2 kB / 0.4974 GB, free: 0.8242 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.407e-05/0.08906, allocations: 104.8 kB / 0.4975 GB, free: 0.7031 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.466e-05/0.08909, allocations: 0 / 0.4975 GB, free: 0.7031 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.479e-05/0.08919, allocations: 7.938 kB / 0.4975 GB, free: 0.6953 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.358e-05/0.08922, allocations: 11.98 kB / 0.4975 GB, free: 0.6836 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.959e-06/0.08924, allocations: 12 kB / 0.4975 GB, free: 0.6719 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001103/0.08935, allocations: 182 kB / 0.4977 GB, free: 0.4922 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.08936, allocations: 0 / 0.4977 GB, free: 0.4922 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002562/0.08962, allocations: 83.44 kB / 0.4978 GB, free: 420 kB / 330.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 6.527e-05/0.08969, allocations: 103.1 kB / 0.4979 GB, free: 308 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002307/0.08993, allocations: 174 kB / 0.4981 GB, free: 140 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.08994, allocations: 384 / 0.4981 GB, free: 140 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.638e-05/0.09003, allocations: 83.91 kB / 0.4981 GB, free: 56 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003404/0.09038, allocations: 41.94 kB / 0.4982 GB, free: 16 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000998/0.09138, allocations: 0.8524 MB / 0.499 GB, free: 15.14 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000305/0.0917, allocations: 0.8106 MB / 0.4998 GB, free: 14.3 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.997e-05/0.09179, allocations: 18.03 kB / 0.4998 GB, free: 14.29 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.257e-05/0.09185, allocations: 23.44 kB / 0.4998 GB, free: 14.26 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.09186, allocations: 4 kB / 0.4999 GB, free: 14.26 MB / 346.7 MB Notification: Performance of Templates: time 0.004128/0.09599, allocations: 1.614 MB / 0.5014 GB, free: 12.65 MB / 346.7 MB make -j1 -f SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin.makefile (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)