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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 118.7 kB / 17.13 MB, free: 5.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 194.1 kB / 20.08 MB, free: 2.871 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.498/1.498, allocations: 207.6 MB / 230.5 MB, free: 4.047 MB / 174.1 MB " [Timeout remaining time 178] 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.0513/0.0513, allocations: 8.203 MB / 290.5 MB, free: 8.125 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaByExample requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002169/0.002169, allocations: 67.89 kB / 406.4 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.244/0.2462, allocations: 50.89 MB / 457.3 MB, free: 3.918 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies): time 0.002187/0.2484, allocations: 0.7118 MB / 458 MB, free: 3.371 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004413/0.2488, allocations: 187.7 kB / 458.2 MB, free: 3.215 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.897e-05/0.2489, allocations: 7.438 kB / 458.2 MB, free: 3.211 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 7.211e-05/0.2489, allocations: 18.09 kB / 458.2 MB, free: 3.195 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001085/0.2491, allocations: 13.09 kB / 458.2 MB, free: 3.184 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001978/0.2493, allocations: 54.47 kB / 458.2 MB, free: 3.137 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002156/0.2495, allocations: 136.9 kB / 458.4 MB, free: 3.055 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001929/0.2497, allocations: 66.16 kB / 458.4 MB, free: 3.012 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.573e-05/0.2497, allocations: 66.88 kB / 458.5 MB, free: 2.965 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001104/0.2498, allocations: 74.64 kB / 458.6 MB, free: 2.902 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.006e-05/0.2499, allocations: 18.03 kB / 458.6 MB, free: 2.902 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.208e-05/0.2499, allocations: 21.03 kB / 458.6 MB, free: 2.902 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.204e-05/0.25, allocations: 42.92 kB / 458.7 MB, free: 2.863 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.946e-05/0.25, allocations: 74.45 kB / 458.7 MB, free: 2.805 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002179/0.2503, allocations: 185.8 kB / 458.9 MB, free: 2.66 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2503, allocations: 0 / 458.9 MB, free: 2.66 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.2503, allocations: 3.938 kB / 458.9 MB, free: 2.656 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.2503, allocations: 0 / 458.9 MB, free: 2.656 MB / 318.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.0006307/0.2509, allocations: 475.2 kB / 459.4 MB, free: 2.195 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.2509, allocations: 9.281 kB / 459.4 MB, free: 2.195 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.96e-05/0.251, allocations: 26.72 kB / 459.4 MB, free: 2.18 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001852/0.2512, allocations: 209.3 kB / 459.6 MB, free: 1.949 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.2512, allocations: 12.97 kB / 459.6 MB, free: 1.945 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.628e-05/0.2513, allocations: 21.75 kB / 459.7 MB, free: 1.938 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004006/0.2517, allocations: 167.7 kB / 459.8 MB, free: 1.832 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.937e-05/0.2517, allocations: 9.094 kB / 459.8 MB, free: 1.824 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.693e-05/0.2517, allocations: 10.19 kB / 459.8 MB, free: 1.816 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/0.2517, allocations: 9.25 kB / 459.9 MB, free: 1.812 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002827/0.252, allocations: 114.3 kB / 460 MB, free: 1.758 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009706/0.253, allocations: 0.5796 MB / 460.5 MB, free: 1.254 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002946/0.2533, allocations: 110.8 kB / 460.7 MB, free: 1.188 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001471/0.2534, allocations: 73.73 kB / 460.7 MB, free: 1.145 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.2534, allocations: 5.641 kB / 460.7 MB, free: 1.141 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.2534, allocations: 35.81 kB / 460.8 MB, free: 1.098 MB / 318.1 MB Notification: Performance of pre-optimization done (n=15): time 1.623e-06/0.2534, allocations: 0 / 460.8 MB, free: 1.098 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.0004666/0.2539, allocations: 181 kB / 460.9 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.543e-05/0.2539, allocations: 56.62 kB / 461 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.243e-05/0.254, allocations: 124 kB / 461.1 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.254, allocations: 31.23 kB / 461.1 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.912e-05/0.2541, allocations: 128.4 kB / 461.3 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.49e-05/0.2541, allocations: 57.91 kB / 461.3 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.103e-05/0.2542, allocations: 36.3 kB / 461.4 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.464e-05/0.2543, allocations: 325.4 kB / 461.7 MB, free: 260 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001052/0.2544, allocations: 40.86 kB / 461.7 MB, free: 240 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.961e-05/0.2545, allocations: 45.27 kB / 461.8 MB, free: 216 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002277/0.2547, allocations: 104.2 kB / 461.9 MB, free: 160 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2547, allocations: 0 / 461.9 MB, free: 160 kB / 318.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003063/0.255, allocations: 151.6 kB / 462 MB, free: 68 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.255, allocations: 5.625 kB / 462 MB, free: 68 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.255, allocations: 3.938 kB / 462 MB, free: 64 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.255, allocations: 0 / 462 MB, free: 64 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002719/0.2553, allocations: 33.89 kB / 462.1 MB, free: 56 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.2553, allocations: 1.406 kB / 462.1 MB, free: 56 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.512e-05/0.2554, allocations: 17.25 kB / 462.1 MB, free: 40 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.2554, allocations: 4.438 kB / 462.1 MB, free: 40 kB / 318.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 0.0001726/0.2556, allocations: 124.9 kB / 462.2 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.451e-05/0.2556, allocations: 16.64 kB / 462.2 MB, free: 15.9 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.278e-05/0.2557, allocations: 15.28 kB / 462.2 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.2557, allocations: 1.594 kB / 462.2 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.2557, allocations: 0 / 462.2 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.044e-06/0.2557, allocations: 3.938 kB / 462.2 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004631/0.2562, allocations: 265.8 kB / 462.5 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.2562, allocations: 7.984 kB / 462.5 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002622/0.2564, allocations: 30.39 kB / 462.5 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.2564, allocations: 1.469 kB / 462.5 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.197e-05/0.2565, allocations: 4 kB / 462.5 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.2565, allocations: 1.219 kB / 462.5 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.2565, allocations: 5.188 kB / 462.5 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005288/0.257, allocations: 296 kB / 462.8 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.457e-05/0.2571, allocations: 83.81 kB / 462.9 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.93e-05/0.2571, allocations: 9.406 kB / 462.9 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001384/0.2572, allocations: 5.375 kB / 462.9 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.26e-05/0.2573, allocations: 12 kB / 462.9 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/0.2573, allocations: 8.062 kB / 463 MB, free: 15.26 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.751e-05/0.2574, allocations: 105.9 kB / 463.1 MB, free: 15.17 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2574, allocations: 0 / 463.1 MB, free: 15.17 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004674/0.2578, allocations: 37.84 kB / 463.1 MB, free: 15.16 MB / 334.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 0.0001253/0.258, allocations: 95.75 kB / 463.2 MB, free: 15.07 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003025/0.2583, allocations: 105.7 kB / 463.3 MB, free: 15.02 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.2583, allocations: 1.375 kB / 463.3 MB, free: 15.02 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001295/0.2584, allocations: 59.55 kB / 463.3 MB, free: 15 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005665/0.259, allocations: 32.19 kB / 463.4 MB, free: 14.98 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008254/0.2598, allocations: 356.4 kB / 463.7 MB, free: 14.7 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004616/0.2603, allocations: 0.7251 MB / 464.5 MB, free: 13.98 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.237e-05/0.2603, allocations: 18.5 kB / 464.5 MB, free: 13.96 MB / 334.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2603, allocations: 1.125 kB / 464.5 MB, free: 13.96 MB / 334.1 MB Notification: Performance of Templates: time 0.004609/0.2649, allocations: 1.717 MB / 466.2 MB, free: 13.05 MB / 334.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: 6.850763836875558] Failed to read output from testmodel.py, exit status != 0: 0.27451776899397373 0.29857132200000003 0.043742198 Calling exit ...