Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.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.001533/0.001533, allocations: 80.53 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001763/0.001763, allocations: 159.3 kB / 22.46 MB, free: 5.375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.265/1.265, allocations: 158.6 MB / 184.2 MB, free: 6.395 MB / 174.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.04622/0.04622, allocations: 6.403 MB / 242.9 MB, free: 12.76 MB / 238.1 MB " [Timeout remaining time 180] Using package ModelicaByExample with version 0.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies") translateModel(ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 360.3 MB, free: 11.07 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.493e-05/2.626e-05, allocations: 6.281 kB / 360.3 MB, free: 11.06 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies): time 0.001373/0.001399, allocations: 0.6564 MB / 361 MB, free: 10.41 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003398/0.001739, allocations: 171.3 kB / 361.2 MB, free: 10.24 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.411e-05/0.001803, allocations: 3.938 kB / 361.2 MB, free: 10.23 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.528e-05/0.001848, allocations: 15.81 kB / 361.2 MB, free: 10.22 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.119e-05/0.00194, allocations: 23.8 kB / 361.2 MB, free: 10.2 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000146/0.002086, allocations: 51.92 kB / 361.2 MB, free: 10.14 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00015/0.002236, allocations: 143.7 kB / 361.4 MB, free: 10 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001563/0.002392, allocations: 57.77 kB / 361.4 MB, free: 9.949 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.884e-05/0.002471, allocations: 91.78 kB / 361.5 MB, free: 9.859 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.992e-05/0.002541, allocations: 51.78 kB / 361.6 MB, free: 9.809 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.26e-05/0.002573, allocations: 23.94 kB / 361.6 MB, free: 9.785 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.008e-05/0.002593, allocations: 20 kB / 361.6 MB, free: 9.766 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.758e-05/0.002621, allocations: 39.84 kB / 361.7 MB, free: 9.727 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.863e-05/0.00266, allocations: 55.89 kB / 361.7 MB, free: 9.672 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001567/0.002816, allocations: 195.3 kB / 361.9 MB, free: 9.48 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.002819, allocations: 0 / 361.9 MB, free: 9.48 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.31e-07/0.002819, allocations: 0 / 361.9 MB, free: 9.48 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.002824, allocations: 0 / 361.9 MB, free: 9.48 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0004667/0.003291, allocations: 390 kB / 362.3 MB, free: 9.062 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.003327, allocations: 11.98 kB / 362.3 MB, free: 9.051 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.677e-05/0.003374, allocations: 24.8 kB / 362.3 MB, free: 9.027 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001541/0.003528, allocations: 157.5 kB / 362.5 MB, free: 8.848 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.003543, allocations: 12.75 kB / 362.5 MB, free: 8.836 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.59e-05/0.003579, allocations: 20.38 kB / 362.5 MB, free: 8.816 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002724/0.003851, allocations: 246.2 kB / 362.8 MB, free: 8.555 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.003867, allocations: 4.188 kB / 362.8 MB, free: 8.551 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.801e-05/0.003885, allocations: 8.375 kB / 362.8 MB, free: 8.543 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.00389, allocations: 4.375 kB / 362.8 MB, free: 8.539 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001588/0.004049, allocations: 115.6 kB / 362.9 MB, free: 8.426 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006067/0.004656, allocations: 475.8 kB / 363.3 MB, free: 7.93 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000208/0.004864, allocations: 118.5 kB / 363.5 MB, free: 7.805 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.172e-05/0.004945, allocations: 76.98 kB / 363.5 MB, free: 7.727 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.558e-05/0.004961, allocations: 4 kB / 363.5 MB, free: 7.723 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.86e-05/0.00498, allocations: 38.5 kB / 363.6 MB, free: 7.676 MB / 286.1 MB Notification: Performance of pre-optimization done (n=15): time 1.182e-06/0.004981, allocations: 0 / 363.6 MB, free: 7.676 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.0002846/0.005265, allocations: 165.6 kB / 363.7 MB, free: 7.508 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.852e-05/0.005284, allocations: 63.33 kB / 363.8 MB, free: 7.434 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.213e-05/0.005346, allocations: 124.1 kB / 363.9 MB, free: 7.305 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.005361, allocations: 29.7 kB / 364 MB, free: 7.27 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.766e-05/0.005398, allocations: 140.4 kB / 364.1 MB, free: 7.129 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.252e-05/0.005431, allocations: 51.55 kB / 364.1 MB, free: 7.078 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.165e-05/0.005472, allocations: 33.7 kB / 364.2 MB, free: 7.039 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 3.987e-05/0.005512, allocations: 322.8 kB / 364.5 MB, free: 6.715 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.538e-05/0.005568, allocations: 39.98 kB / 364.5 MB, free: 6.676 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.064e-05/0.005618, allocations: 39.98 kB / 364.6 MB, free: 6.637 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001188/0.005737, allocations: 107.5 kB / 364.7 MB, free: 6.531 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.005739, allocations: 0 / 364.7 MB, free: 6.531 MB / 286.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000165/0.005904, allocations: 153.6 kB / 364.8 MB, free: 6.375 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.005915, allocations: 7.938 kB / 364.8 MB, free: 6.367 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.00592, allocations: 4 kB / 364.8 MB, free: 6.363 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.005936, allocations: 0 / 364.8 MB, free: 6.363 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001705/0.006106, allocations: 31.98 kB / 364.9 MB, free: 6.332 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.00611, allocations: 3.938 kB / 364.9 MB, free: 6.328 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.897e-05/0.006149, allocations: 3.938 kB / 364.9 MB, free: 6.324 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.435e-06/0.006158, allocations: 8 kB / 364.9 MB, free: 6.316 MB / 286.1 MB 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 6.959e-05/0.006227, allocations: 133.7 kB / 365 MB, free: 6.176 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.147e-05/0.006259, allocations: 11.91 kB / 365 MB, free: 6.164 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.112e-05/0.0063, allocations: 20.44 kB / 365 MB, free: 6.145 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.006302, allocations: 0 / 365 MB, free: 6.145 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.006307, allocations: 8 kB / 365 MB, free: 6.137 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.006311, allocations: 0 / 365 MB, free: 6.137 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000169/0.00648, allocations: 189.1 kB / 365.2 MB, free: 5.922 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.006481, allocations: 0 / 365.2 MB, free: 5.922 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001607/0.006642, allocations: 27.98 kB / 365.3 MB, free: 5.895 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.006645, allocations: 3.984 kB / 365.3 MB, free: 5.891 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.006658, allocations: 11.94 kB / 365.3 MB, free: 5.879 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.006659, allocations: 0 / 365.3 MB, free: 5.879 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.006661, allocations: 4 kB / 365.3 MB, free: 5.875 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002734/0.006934, allocations: 295.2 kB / 365.6 MB, free: 5.57 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.109e-05/0.006945, allocations: 15.98 kB / 365.6 MB, free: 5.555 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.006964, allocations: 8 kB / 365.6 MB, free: 5.547 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.917e-05/0.007043, allocations: 4 kB / 365.6 MB, free: 5.543 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.475e-05/0.007068, allocations: 7.984 kB / 365.6 MB, free: 5.535 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.007076, allocations: 4 kB / 365.6 MB, free: 5.531 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.431e-05/0.00711, allocations: 102.6 kB / 365.7 MB, free: 5.434 MB / 286.1 MB Notification: Performance of sort global known variables: time 7e-08/0.00711, allocations: 0 / 365.7 MB, free: 5.434 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002294/0.00734, allocations: 31.89 kB / 365.7 MB, free: 5.402 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (rabbits.population,foxes.population,wolves.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 (15): * Single equations (assignments): 15 * 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 8.059e-05/0.00742, allocations: 95.25 kB / 365.8 MB, free: 5.297 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000169/0.007589, allocations: 115.8 kB / 365.9 MB, free: 5.184 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/0.007597, allocations: 0 / 365.9 MB, free: 5.184 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 6.224e-05/0.007659, allocations: 59.92 kB / 366 MB, free: 5.125 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/0.008013, allocations: 22.11 kB / 366 MB, free: 5.105 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004773/0.00849, allocations: 314 kB / 366.3 MB, free: 4.773 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.948e-05/0.00856, allocations: 115.6 kB / 366.4 MB, free: 4.637 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.955e-05/0.008609, allocations: 12.59 kB / 366.5 MB, free: 4.625 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.778e-05/0.008647, allocations: 16.5 kB / 366.5 MB, free: 4.609 MB / 286.1 MB Notification: Performance of SimCode: time 2.8e-07/0.008648, allocations: 0 / 366.5 MB, free: 4.609 MB / 286.1 MB Notification: Performance of Templates: time 0.003447/0.01209, allocations: 1.076 MB / 367.5 MB, free: 3.547 MB / 286.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.makefile [Timeout 660] (rm -f ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.pipe ; mkfifo ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.pipe >> ../files/ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.sim & ./ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.204761229455471] Failed to read output from testmodel.py, exit status != 0: 0.018340546637773514 0.032757281 0.027102485000000003 Calling exit ...