Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo", uses=false) 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/Physiolibrary 3.0.0-master/package.mo", uses=false) Using package Physiolibrary with version 3.0.0-alpha11 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Physiolibrary 3.0.0-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) Using package Chemical with version 1.4.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo) Running command: translateModel(Physiolibrary.Population.Examples.PredatorPrey,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey") translateModel(Physiolibrary.Population.Examples.PredatorPrey,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo): time 0.1097/0.1097, allocations: 15.28 MB / 30.53 MB, free: 3.074 MB / 24.77 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 194.8 kB / 35.63 MB, free: 2.227 MB / 24.77 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.603/1.603, allocations: 225.7 MB / 266.3 MB, free: 6.066 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.0009006/0.0009007, allocations: 98.47 kB / 321.7 MB, free: 2.199 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo): time 0.135/0.135, allocations: 20.56 MB / 397.6 MB, free: 42.31 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008458/0.0008461, allocations: 19.98 kB / 469.4 MB, free: 3.039 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3761/0.377, allocations: 59.77 MB / 0.5168 GB, free: 40.95 MB / 378.7 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Population.Examples.PredatorPrey): time 0.002999/0.38, allocations: 1.979 MB / 0.5187 GB, free: 40.87 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004367/0.3805, allocations: 150.4 kB / 0.5189 GB, free: 40.84 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000111/0.3806, allocations: 2.156 kB / 0.5189 GB, free: 40.84 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001261/0.3807, allocations: 20.56 kB / 0.5189 GB, free: 40.82 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000118/0.3809, allocations: 48.2 kB / 0.519 GB, free: 40.8 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001462/0.381, allocations: 25.8 kB / 0.519 GB, free: 40.8 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002422/0.3813, allocations: 168.1 kB / 0.5191 GB, free: 40.75 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001847/0.3815, allocations: 61.89 kB / 0.5192 GB, free: 40.74 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.806e-05/0.3816, allocations: 52.94 kB / 0.5192 GB, free: 40.72 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001333/0.3817, allocations: 60.73 kB / 0.5193 GB, free: 40.7 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.507e-05/0.3817, allocations: 4.688 kB / 0.5193 GB, free: 40.7 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.899e-05/0.3818, allocations: 6.312 kB / 0.5193 GB, free: 40.7 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.27e-05/0.3818, allocations: 19.66 kB / 0.5193 GB, free: 40.7 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.003e-05/0.3819, allocations: 88.05 kB / 0.5194 GB, free: 40.64 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002121/0.3821, allocations: 136.8 kB / 0.5196 GB, free: 40.62 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.637e-05/0.3821, allocations: 1.281 kB / 0.5196 GB, free: 40.62 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.3822, allocations: 3.938 kB / 0.5196 GB, free: 40.61 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.271e-06/0.3822, allocations: 0 / 0.5196 GB, free: 40.61 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0004797/0.3827, allocations: 419.1 kB / 0.52 GB, free: 40.21 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.3827, allocations: 15.66 kB / 0.52 GB, free: 40.21 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.724e-05/0.3828, allocations: 16.81 kB / 0.52 GB, free: 40.2 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001877/0.3829, allocations: 206.6 kB / 0.5202 GB, free: 40 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.081e-05/0.383, allocations: 9.219 kB / 0.5202 GB, free: 40 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.961e-05/0.383, allocations: 16.31 kB / 0.5202 GB, free: 39.99 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002468/0.3833, allocations: 111.8 kB / 0.5203 GB, free: 39.96 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.3833, allocations: 2.25 kB / 0.5203 GB, free: 39.96 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.72e-05/0.3833, allocations: 12.78 kB / 0.5203 GB, free: 39.95 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.3833, allocations: 6.906 kB / 0.5203 GB, free: 39.95 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001487/0.3835, allocations: 73.56 kB / 0.5204 GB, free: 39.95 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000604/0.3841, allocations: 444.9 kB / 0.5208 GB, free: 39.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001976/0.3843, allocations: 116.3 kB / 0.5209 GB, free: 39.63 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.237e-05/0.3844, allocations: 48.41 kB / 0.521 GB, free: 39.62 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.094e-05/0.3844, allocations: 2.328 kB / 0.521 GB, free: 39.62 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.709e-05/0.3844, allocations: 34.5 kB / 0.521 GB, free: 39.58 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.182e-06/0.3844, allocations: 1.188 kB / 0.521 GB, free: 39.58 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002539/0.3847, allocations: 133.4 kB / 0.5212 GB, free: 39.54 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.302e-05/0.3847, allocations: 56.75 kB / 0.5212 GB, free: 39.47 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.3848, allocations: 161.5 kB / 0.5214 GB, free: 39.36 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.398e-06/0.3849, allocations: 25.7 kB / 0.5214 GB, free: 39.33 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.533e-05/0.3849, allocations: 124 kB / 0.5215 GB, free: 39.23 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.903e-05/0.3849, allocations: 43.25 kB / 0.5215 GB, free: 39.2 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.152e-06/0.385, allocations: 1.219 kB / 0.5215 GB, free: 39.2 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6e-05/0.385, allocations: 323.8 kB / 0.5219 GB, free: 38.89 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.867e-05/0.3851, allocations: 33.48 kB / 0.5219 GB, free: 38.89 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.497e-05/0.3851, allocations: 29.38 kB / 0.5219 GB, free: 38.89 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003972/0.3855, allocations: 159.9 kB / 0.5221 GB, free: 38.87 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.3856, allocations: 0 / 0.5221 GB, free: 38.87 MB / 378.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001857/0.3858, allocations: 134.3 kB / 0.5222 GB, free: 38.83 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.3858, allocations: 11.09 kB / 0.5222 GB, free: 38.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.3858, allocations: 0.875 kB / 0.5222 GB, free: 38.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.3858, allocations: 5.109 kB / 0.5222 GB, free: 38.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001482/0.386, allocations: 29.86 kB / 0.5222 GB, free: 38.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.386, allocations: 0 / 0.5222 GB, free: 38.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.478e-05/0.3861, allocations: 19.48 kB / 0.5223 GB, free: 38.81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.3861, allocations: 6.562 kB / 0.5223 GB, free: 38.81 MB / 378.7 MB Warning: Assuming fixed start value for the following 2 variables: prey.population:VARIABLE(flow=false min = max(0.0, max(0.0, max(0.0, 0.0))) start = prey.population_start unit = "1" fixed = true nominal = prey.NominalPopulation ) type: Real predator.population:VARIABLE(flow=false min = max(0.0, max(0.0, max(0.0, 0.0))) start = predator.population_start unit = "1" fixed = true nominal = predator.NominalPopulation ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.000226/0.3863, allocations: 142.4 kB / 0.5224 GB, free: 38.69 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.105e-05/0.3863, allocations: 18.06 kB / 0.5224 GB, free: 38.68 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.871e-05/0.3864, allocations: 16.72 kB / 0.5224 GB, free: 38.67 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.3864, allocations: 2.031 kB / 0.5224 GB, free: 38.67 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.3864, allocations: 0 / 0.5224 GB, free: 38.67 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.3864, allocations: 4.938 kB / 0.5224 GB, free: 38.67 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002074/0.3866, allocations: 234.9 kB / 0.5227 GB, free: 38.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3866, allocations: 0 / 0.5227 GB, free: 38.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001218/0.3868, allocations: 22.7 kB / 0.5227 GB, free: 38.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.3868, allocations: 5.188 kB / 0.5227 GB, free: 38.47 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.3868, allocations: 3.766 kB / 0.5227 GB, free: 38.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3868, allocations: 1.281 kB / 0.5227 GB, free: 38.47 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.3868, allocations: 8.484 kB / 0.5227 GB, free: 38.46 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002731/0.3871, allocations: 245.5 kB / 0.5229 GB, free: 38.32 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.273e-05/0.3871, allocations: 97.64 kB / 0.523 GB, free: 38.21 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.377e-05/0.3872, allocations: 5.484 kB / 0.523 GB, free: 38.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001178/0.3873, allocations: 1.859 kB / 0.523 GB, free: 38.21 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.045e-05/0.3873, allocations: 5.828 kB / 0.523 GB, free: 38.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.674e-06/0.3873, allocations: 6.5 kB / 0.523 GB, free: 38.21 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.948e-05/0.3874, allocations: 113.8 kB / 0.5232 GB, free: 38.14 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3874, allocations: 0 / 0.5232 GB, free: 38.14 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002306/0.3876, allocations: 35.34 kB / 0.5232 GB, free: 38.14 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (predator.population,prey.population) * 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 (12): * Single equations (assignments): 12 * 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 7.151e-05/0.3877, allocations: 109.5 kB / 0.5233 GB, free: 38.04 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001726/0.3879, allocations: 85.16 kB / 0.5234 GB, free: 38.04 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3879, allocations: 0 / 0.5234 GB, free: 38.04 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.17e-05/0.388, allocations: 41.3 kB / 0.5234 GB, free: 38.04 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002975/0.3883, allocations: 28.98 kB / 0.5234 GB, free: 38.03 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006882/0.389, allocations: 475.4 kB / 0.5239 GB, free: 37.7 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001549/0.3891, allocations: 0.7169 MB / 0.5246 GB, free: 37 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.902e-05/0.3892, allocations: 19.31 kB / 0.5246 GB, free: 36.99 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.563e-05/0.3893, allocations: 15.5 kB / 0.5246 GB, free: 36.98 MB / 378.7 MB Notification: Performance of SimCode: time 5.51e-07/0.3893, allocations: 0 / 0.5246 GB, free: 36.98 MB / 378.7 MB Notification: Performance of Templates: time 0.004066/0.3933, allocations: 1.307 MB / 0.5259 GB, free: 36.87 MB / 378.7 MB make -j1 -f Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.makefile (rm -f Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.pipe ; mkfifo Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.pipe >> ../files/Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.sim & ./Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.pipe 2>&1)