Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction.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.Hair_Lynx_Interaction,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction") translateModel(SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 180.3 kB / 15.43 MB, free: 5.777 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.584/1.584, allocations: 225.7 MB / 241.9 MB, free: 14.64 MB / 202.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.0007822/0.0007821, allocations: 95.86 kB / 293 MB, free: 4.883 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.1577/0.1577, allocations: 28.84 MB / 373 MB, free: 14.89 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.0002965/0.0002965, allocations: 9.031 kB / 441.2 MB, free: 87.39 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07509/0.0754, allocations: 57.49 MB / 498.7 MB, free: 30.33 MB / 346.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction): time 0.001663/0.0771, allocations: 1.919 MB / 0.4889 GB, free: 28.39 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007987/0.07792, allocations: 0.7507 MB / 0.4896 GB, free: 27.6 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001111/0.07804, allocations: 7.938 kB / 0.4896 GB, free: 27.59 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001179/0.07817, allocations: 27.77 kB / 0.4896 GB, free: 27.57 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 8.06e-05/0.07826, allocations: 31.8 kB / 0.4897 GB, free: 27.54 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002705/0.07853, allocations: 103.9 kB / 0.4898 GB, free: 27.43 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001835/0.07873, allocations: 252.1 kB / 0.49 GB, free: 27.18 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002065/0.07894, allocations: 173.9 kB / 0.4902 GB, free: 27.02 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.104e-05/0.07901, allocations: 71.53 kB / 0.4902 GB, free: 26.95 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.249e-05/0.07909, allocations: 91.36 kB / 0.4903 GB, free: 26.86 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.075e-05/0.07912, allocations: 4 kB / 0.4903 GB, free: 26.85 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.074e-05/0.0792, allocations: 27.98 kB / 0.4904 GB, free: 26.82 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.028e-05/0.07926, allocations: 59.7 kB / 0.4904 GB, free: 26.77 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.021e-05/0.07934, allocations: 140.7 kB / 0.4906 GB, free: 26.62 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001932/0.07954, allocations: 283.1 kB / 0.4908 GB, free: 26.34 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.07955, allocations: 0 / 0.4908 GB, free: 26.34 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.07956, allocations: 0 / 0.4908 GB, free: 26.34 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.07957, allocations: 3.938 kB / 0.4908 GB, free: 26.34 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.0006254/0.0802, allocations: 0.5942 MB / 0.4914 GB, free: 25.69 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.87e-05/0.08024, allocations: 11.97 kB / 0.4914 GB, free: 25.68 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.529e-05/0.0803, allocations: 44.38 kB / 0.4915 GB, free: 25.64 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002063/0.08051, allocations: 291.4 kB / 0.4917 GB, free: 25.31 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.078e-05/0.08054, allocations: 29.03 kB / 0.4918 GB, free: 25.28 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.741e-05/0.08058, allocations: 28.38 kB / 0.4918 GB, free: 25.25 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004535/0.08104, allocations: 348 kB / 0.4921 GB, free: 24.89 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.08106, allocations: 3.938 kB / 0.4921 GB, free: 24.89 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.078e-05/0.08109, allocations: 12 kB / 0.4921 GB, free: 24.88 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.0811, allocations: 11.94 kB / 0.4922 GB, free: 24.87 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004034/0.08151, allocations: 250.4 kB / 0.4924 GB, free: 24.62 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001007/0.08253, allocations: 1.164 MB / 0.4935 GB, free: 23.39 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003533/0.08289, allocations: 234.4 kB / 0.4938 GB, free: 23.15 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001665/0.08307, allocations: 101.1 kB / 0.4938 GB, free: 23.05 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.65e-05/0.08311, allocations: 27.88 kB / 0.4939 GB, free: 23.02 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002765/0.0834, allocations: 155.3 kB / 0.494 GB, free: 22.86 MB / 346.7 MB Notification: Performance of pre-optimization done (n=18): time 1.593e-06/0.08341, allocations: 0 / 0.494 GB, free: 22.86 MB / 346.7 MB Notification: Performance of matching and sorting (n=18): time 0.0005623/0.08398, allocations: 341.6 kB / 0.4944 GB, free: 22.52 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.933e-05/0.08401, allocations: 51.41 kB / 0.4944 GB, free: 22.46 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001723/0.08419, allocations: 262.7 kB / 0.4946 GB, free: 22.2 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.08421, allocations: 33.7 kB / 0.4947 GB, free: 22.16 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.562e-05/0.08429, allocations: 215.9 kB / 0.4949 GB, free: 21.94 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.195e-05/0.08433, allocations: 59.19 kB / 0.4949 GB, free: 21.88 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.468e-06/0.08434, allocations: 4 kB / 0.4949 GB, free: 21.88 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.538e-05/0.08439, allocations: 338.8 kB / 0.4953 GB, free: 21.54 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001772/0.08458, allocations: 92.19 kB / 0.4954 GB, free: 21.45 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001783/0.08476, allocations: 140.7 kB / 0.4955 GB, free: 21.29 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003323/0.0851, allocations: 265.2 kB / 0.4957 GB, free: 21.02 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.08512, allocations: 3.938 kB / 0.4957 GB, free: 21.01 MB / 346.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004386/0.08556, allocations: 328.2 kB / 0.4961 GB, free: 20.68 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.08559, allocations: 37.81 kB / 0.4961 GB, free: 20.64 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.0856, allocations: 4 kB / 0.4961 GB, free: 20.63 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.418e-05/0.08563, allocations: 4 kB / 0.4961 GB, free: 20.63 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001794/0.08582, allocations: 39.92 kB / 0.4961 GB, free: 20.59 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.08584, allocations: 4 kB / 0.4961 GB, free: 20.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001349/0.08598, allocations: 27.83 kB / 0.4962 GB, free: 20.56 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.606e-05/0.086, allocations: 4 kB / 0.4962 GB, free: 20.55 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.Hunting.T_start,Hunting.T_start,$PRE.Hunting.count,Hunting.count,Lynx.Integrator1.local_reset,Hare.Integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 1 * 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.0001009/0.08611, allocations: 173.8 kB / 0.4963 GB, free: 20.38 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.198e-05/0.08614, allocations: 19.72 kB / 0.4964 GB, free: 20.36 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004166/0.08656, allocations: 271.6 kB / 0.4966 GB, free: 20.08 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.08657, allocations: 4 kB / 0.4966 GB, free: 20.07 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.08658, allocations: 0 / 0.4966 GB, free: 20.07 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.08659, allocations: 4 kB / 0.4966 GB, free: 20.07 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005867/0.08718, allocations: 0.6815 MB / 0.4973 GB, free: 19.33 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.08719, allocations: 0 / 0.4973 GB, free: 19.33 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001573/0.08736, allocations: 39.91 kB / 0.4973 GB, free: 19.29 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.08737, allocations: 4 kB / 0.4973 GB, free: 19.29 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.08739, allocations: 4 kB / 0.4973 GB, free: 19.29 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.08739, allocations: 4 kB / 0.4973 GB, free: 19.28 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.0874, allocations: 3.938 kB / 0.4973 GB, free: 19.28 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005476/0.08795, allocations: 475 kB / 0.4978 GB, free: 18.8 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.117e-05/0.088, allocations: 96.86 kB / 0.4979 GB, free: 18.68 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.756e-05/0.08803, allocations: 4 kB / 0.4979 GB, free: 18.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.08817, allocations: 11.98 kB / 0.4979 GB, free: 18.67 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.145e-05/0.08823, allocations: 23.91 kB / 0.4979 GB, free: 18.64 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/0.08825, allocations: 8.062 kB / 0.4979 GB, free: 18.64 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001143/0.08837, allocations: 186 kB / 0.4981 GB, free: 18.46 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.08838, allocations: 4 kB / 0.4981 GB, free: 18.45 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002527/0.08864, allocations: 67.67 kB / 0.4982 GB, free: 18.39 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Hare.Integrator1.y,Lynx.Integrator1.y) * Number of discrete variables: 3 ($whenCondition1,Hunting.T_start,Hunting.count) * Number of discrete states: 1 (Hunting.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001032/0.08875, allocations: 115.2 kB / 0.4983 GB, free: 18.27 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004045/0.08916, allocations: 279.1 kB / 0.4986 GB, free: 17.98 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.08917, allocations: 4 kB / 0.4986 GB, free: 17.98 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001801/0.08936, allocations: 116.3 kB / 0.4987 GB, free: 17.86 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000339/0.08971, allocations: 33.06 kB / 0.4987 GB, free: 17.83 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00076/0.09048, allocations: 0.7208 MB / 0.4994 GB, free: 17.08 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001501/0.09064, allocations: 0.7945 MB / 0.5002 GB, free: 16.26 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.921e-05/0.09072, allocations: 17.55 kB / 0.5002 GB, free: 16.24 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.904e-05/0.09076, allocations: 19.38 kB / 0.5002 GB, free: 16.22 MB / 346.7 MB Notification: Performance of SimCode: time 2.1e-07/0.09077, allocations: 0 / 0.5002 GB, free: 16.22 MB / 346.7 MB Notification: Performance of Templates: time 0.003973/0.09475, allocations: 1.814 MB / 0.502 GB, free: 14.42 MB / 346.7 MB make -j1 -f SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction.makefile (rm -f SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction.pipe ; mkfifo SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction.pipe ; head -c 1048576 < SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction.pipe >> ../files/SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction.sim & ./SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction -abortSlowSimulation -alarm=480 -lv LOG_STATS > SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction.pipe 2>&1)