Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.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: 106.3 kB / 17.08 MB, free: 6.016 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.001336/0.001336, allocations: 195.7 kB / 20.03 MB, free: 3.082 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.348/1.348, allocations: 205.1 MB / 227.9 MB, free: 4.367 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.0494/0.0494, allocations: 8.106 MB / 285.4 MB, free: 11 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.ClassicLotkaVolterra,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra") translateModel(ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra") [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.002213/0.002213, allocations: 79.88 kB / 396.1 MB, free: 6.812 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2239/0.2262, allocations: 48.3 MB / 444.4 MB, free: 8.777 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra): time 0.001601/0.2278, allocations: 0.563 MB / 444.9 MB, free: 8.426 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002547/0.2281, allocations: 119.3 kB / 445 MB, free: 8.34 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.305e-05/0.2281, allocations: 2.25 kB / 445 MB, free: 8.34 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.937e-05/0.2282, allocations: 10.09 kB / 445 MB, free: 8.332 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.194e-05/0.2282, allocations: 8.438 kB / 445.1 MB, free: 8.324 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001317/0.2284, allocations: 33.19 kB / 445.1 MB, free: 8.305 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001164/0.2285, allocations: 67.98 kB / 445.2 MB, free: 8.273 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.2286, allocations: 39.86 kB / 445.2 MB, free: 8.254 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.355e-05/0.2287, allocations: 38.06 kB / 445.2 MB, free: 8.23 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.01e-05/0.2287, allocations: 37.61 kB / 445.3 MB, free: 8.207 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.033e-05/0.2288, allocations: 8.781 kB / 445.3 MB, free: 8.207 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.591e-05/0.2288, allocations: 8.906 kB / 445.3 MB, free: 8.207 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.196e-05/0.2288, allocations: 18.89 kB / 445.3 MB, free: 8.195 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.831e-05/0.2289, allocations: 45.52 kB / 445.3 MB, free: 8.16 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001246/0.229, allocations: 90.08 kB / 445.4 MB, free: 8.129 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.229, allocations: 1.438 kB / 445.4 MB, free: 8.129 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.229, allocations: 0.7031 kB / 445.4 MB, free: 8.129 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.229, allocations: 0 / 445.4 MB, free: 8.129 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0003628/0.2294, allocations: 387.2 kB / 445.8 MB, free: 7.738 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.033e-05/0.2294, allocations: 13.7 kB / 445.8 MB, free: 7.734 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.084e-05/0.2295, allocations: 14.31 kB / 445.8 MB, free: 7.727 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.2296, allocations: 188.6 kB / 446 MB, free: 7.516 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.2296, allocations: 8.844 kB / 446 MB, free: 7.512 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.408e-05/0.2296, allocations: 6.75 kB / 446 MB, free: 7.512 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001691/0.2298, allocations: 96.8 kB / 446.1 MB, free: 7.453 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.2298, allocations: 0 / 446.1 MB, free: 7.453 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.2299, allocations: 6 kB / 446.1 MB, free: 7.449 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.229e-06/0.2299, allocations: 2.75 kB / 446.1 MB, free: 7.449 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.51e-05/0.23, allocations: 54.61 kB / 446.2 MB, free: 7.43 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004539/0.2304, allocations: 412.1 kB / 446.6 MB, free: 7.082 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001533/0.2306, allocations: 94.56 kB / 446.7 MB, free: 7.023 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.429e-05/0.2306, allocations: 41.88 kB / 446.7 MB, free: 7 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.421e-05/0.2307, allocations: 1.062 kB / 446.7 MB, free: 7 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.675e-05/0.2307, allocations: 36.33 kB / 446.8 MB, free: 6.957 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.342e-06/0.2307, allocations: 1.188 kB / 446.8 MB, free: 6.957 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002073/0.2309, allocations: 98.23 kB / 446.9 MB, free: 6.898 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.163e-05/0.2309, allocations: 53.23 kB / 446.9 MB, free: 6.836 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.321e-05/0.231, allocations: 120.1 kB / 447 MB, free: 6.723 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.398e-06/0.231, allocations: 25.7 kB / 447.1 MB, free: 6.691 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.988e-05/0.231, allocations: 104.6 kB / 447.2 MB, free: 6.594 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.383e-05/0.2311, allocations: 33.86 kB / 447.2 MB, free: 6.566 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.534e-05/0.2311, allocations: 30.16 kB / 447.2 MB, free: 6.539 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.533e-05/0.2312, allocations: 318.5 kB / 447.5 MB, free: 6.223 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.65e-05/0.2312, allocations: 20.28 kB / 447.6 MB, free: 6.215 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.095e-05/0.2312, allocations: 20.47 kB / 447.6 MB, free: 6.207 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.702e-05/0.2313, allocations: 54.33 kB / 447.6 MB, free: 6.176 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.2313, allocations: 1.375 kB / 447.6 MB, free: 6.176 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001119/0.2314, allocations: 88.95 kB / 447.7 MB, free: 6.121 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.2315, allocations: 5.156 kB / 447.7 MB, free: 6.121 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.2315, allocations: 4 kB / 447.7 MB, free: 6.117 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.2315, allocations: 2.453 kB / 447.7 MB, free: 6.117 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.2316, allocations: 20.97 kB / 447.7 MB, free: 6.113 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.369e-06/0.2316, allocations: 0 / 447.7 MB, free: 6.113 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.538e-05/0.2316, allocations: 13.23 kB / 447.8 MB, free: 6.102 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.2316, allocations: 6.25 kB / 447.8 MB, free: 6.098 MB / 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 (10): * Single equations (assignments): 10 * 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.029e-05/0.2317, allocations: 114.3 kB / 447.9 MB, free: 5.98 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.661e-05/0.2317, allocations: 4.469 kB / 447.9 MB, free: 5.98 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.859e-05/0.2318, allocations: 13.12 kB / 447.9 MB, free: 5.969 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.2318, allocations: 6.062 kB / 447.9 MB, free: 5.965 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.2318, allocations: 0 / 447.9 MB, free: 5.965 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.2318, allocations: 6.094 kB / 447.9 MB, free: 5.961 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001595/0.232, allocations: 207.5 kB / 448.1 MB, free: 5.746 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.232, allocations: 0.9375 kB / 448.1 MB, free: 5.746 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.293e-05/0.2321, allocations: 18.39 kB / 448.1 MB, free: 5.742 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.2321, allocations: 0 / 448.1 MB, free: 5.742 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.2321, allocations: 2.016 kB / 448.1 MB, free: 5.742 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.2321, allocations: 3.938 kB / 448.1 MB, free: 5.738 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2321, allocations: 2.406 kB / 448.1 MB, free: 5.738 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001751/0.2323, allocations: 212.6 kB / 448.3 MB, free: 5.566 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.588e-05/0.2323, allocations: 83.48 kB / 448.4 MB, free: 5.469 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/0.2323, allocations: 1.062 kB / 448.4 MB, free: 5.469 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.44e-05/0.2324, allocations: 5.094 kB / 448.4 MB, free: 5.465 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.553e-05/0.2324, allocations: 9.156 kB / 448.4 MB, free: 5.461 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.101e-06/0.2324, allocations: 2.094 kB / 448.4 MB, free: 5.461 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.644e-05/0.2325, allocations: 87.06 kB / 448.5 MB, free: 5.383 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2325, allocations: 5.156 kB / 448.5 MB, free: 5.379 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002244/0.2327, allocations: 19.45 kB / 448.6 MB, free: 5.371 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (rabbits.population,foxes.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 (8): * Single equations (assignments): 8 * 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.478e-05/0.2328, allocations: 112 kB / 448.7 MB, free: 5.27 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001221/0.2329, allocations: 52.28 kB / 448.7 MB, free: 5.254 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.2329, allocations: 1.375 kB / 448.7 MB, free: 5.254 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.852e-05/0.2329, allocations: 31.09 kB / 448.7 MB, free: 5.242 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002958/0.2333, allocations: 16.44 kB / 448.8 MB, free: 5.234 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003381/0.2336, allocations: 230 kB / 449 MB, free: 5.043 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001088/0.2337, allocations: 0.6946 MB / 449.7 MB, free: 4.348 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.066e-05/0.2338, allocations: 11.66 kB / 449.7 MB, free: 4.34 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2338, allocations: 0 / 449.7 MB, free: 4.34 MB / 318.1 MB Notification: Performance of Templates: time 0.002667/0.2364, allocations: 1.062 MB / 450.8 MB, free: 4.234 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.makefile [Timeout 660] (rm -f ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.pipe ; mkfifo ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.pipe >> ../files/ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.sim & ./ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.370510326931253] Failed to read output from testmodel.py, exit status != 0: 0.24264942295849323 0.25346866300000004 0.021963953 Calling exit ...