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.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.0009931/0.0009931, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0009908/0.0009908, allocations: 174.3 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8695/0.8695, allocations: 158.6 MB / 185 MB, free: 3.059 MB / 170.7 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.02348/0.02348, allocations: 6.403 MB / 243.6 MB, free: 8.988 MB / 234.7 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.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: Performance of FrontEnd - loaded program: time 3.106e-06/3.106e-06, allocations: 0 / 361.1 MB, free: 3.926 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.699e-05/3.01e-05, allocations: 2.281 kB / 361.1 MB, free: 3.922 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra): time 0.001075/0.001105, allocations: 0.5485 MB / 361.6 MB, free: 3.371 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002494/0.001354, allocations: 111.6 kB / 361.7 MB, free: 3.262 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.846e-05/0.001393, allocations: 4 kB / 361.7 MB, free: 3.258 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.523e-05/0.001428, allocations: 7.875 kB / 361.7 MB, free: 3.25 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.447e-05/0.001493, allocations: 3.938 kB / 361.7 MB, free: 3.246 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001296/0.001622, allocations: 27.95 kB / 361.8 MB, free: 3.219 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001143/0.001737, allocations: 75.83 kB / 361.8 MB, free: 3.145 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.001859, allocations: 27.97 kB / 361.9 MB, free: 3.117 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.481e-05/0.001903, allocations: 39.91 kB / 361.9 MB, free: 3.078 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.36e-05/0.001957, allocations: 23.89 kB / 361.9 MB, free: 3.055 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.485e-05/0.001982, allocations: 16 kB / 361.9 MB, free: 3.039 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.045e-05/0.001992, allocations: 11.94 kB / 361.9 MB, free: 3.027 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.884e-05/0.002011, allocations: 23.92 kB / 362 MB, free: 3.004 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.368e-05/0.002035, allocations: 23.91 kB / 362 MB, free: 2.98 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 9.982e-05/0.002135, allocations: 91.72 kB / 362.1 MB, free: 2.891 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.002137, allocations: 0 / 362.1 MB, free: 2.891 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.002138, allocations: 0 / 362.1 MB, free: 2.891 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.002142, allocations: 0 / 362.1 MB, free: 2.891 MB / 282.7 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.0003132/0.002455, allocations: 318 kB / 362.4 MB, free: 2.551 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.002489, allocations: 15.98 kB / 362.4 MB, free: 2.535 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.319e-05/0.002522, allocations: 12.89 kB / 362.4 MB, free: 2.523 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.002631, allocations: 133.6 kB / 362.6 MB, free: 2.367 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.488e-06/0.002641, allocations: 8.562 kB / 362.6 MB, free: 2.359 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.181e-05/0.002662, allocations: 12.38 kB / 362.6 MB, free: 2.348 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001387/0.002801, allocations: 142.1 kB / 362.7 MB, free: 2.191 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.002811, allocations: 4 kB / 362.7 MB, free: 2.188 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.002822, allocations: 4 kB / 362.7 MB, free: 2.184 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.002827, allocations: 7.938 kB / 362.7 MB, free: 2.176 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.529e-05/0.002892, allocations: 47.97 kB / 362.8 MB, free: 2.129 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003453/0.003237, allocations: 332.3 kB / 363.1 MB, free: 1.773 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/0.003361, allocations: 82.48 kB / 363.2 MB, free: 1.684 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.498e-05/0.003396, allocations: 28.86 kB / 363.2 MB, free: 1.652 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.779e-06/0.003405, allocations: 4 kB / 363.2 MB, free: 1.648 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.473e-05/0.00342, allocations: 34.55 kB / 363.2 MB, free: 1.605 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 1.553e-06/0.003422, allocations: 0 / 363.2 MB, free: 1.605 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001611/0.003583, allocations: 101.6 kB / 363.3 MB, free: 1.5 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.75e-05/0.0036, allocations: 55.41 kB / 363.4 MB, free: 1.434 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.932e-05/0.003639, allocations: 114.1 kB / 363.5 MB, free: 1.312 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.134e-06/0.003647, allocations: 25.7 kB / 363.5 MB, free: 1.281 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.416e-05/0.003671, allocations: 108 kB / 363.6 MB, free: 1.172 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.121e-05/0.003692, allocations: 35.88 kB / 363.7 MB, free: 1.137 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.708e-05/0.003719, allocations: 25.72 kB / 363.7 MB, free: 1.105 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 2.689e-05/0.003746, allocations: 318.8 kB / 364 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.366e-05/0.00377, allocations: 20 kB / 364 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.11e-05/0.003791, allocations: 23.98 kB / 364.1 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.269e-05/0.003843, allocations: 52.8 kB / 364.1 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.003845, allocations: 0 / 364.1 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.189e-05/0.003917, allocations: 89.64 kB / 364.2 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.003928, allocations: 4 kB / 364.2 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.003932, allocations: 0 / 364.2 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.003945, allocations: 4 kB / 364.2 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.008e-05/0.004025, allocations: 23.92 kB / 364.2 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.004029, allocations: 0 / 364.2 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.637e-05/0.004046, allocations: 8 kB / 364.2 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-06/0.004053, allocations: 0 / 364.2 MB, free: 0.5547 MB / 282.7 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 4.259e-05/0.004095, allocations: 117.8 kB / 364.3 MB, free: 440 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.388e-05/0.004109, allocations: 8.234 kB / 364.4 MB, free: 432 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.304e-05/0.004132, allocations: 12.44 kB / 364.4 MB, free: 424 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.004135, allocations: 4 kB / 364.4 MB, free: 420 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.004138, allocations: 7.938 kB / 364.4 MB, free: 412 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.004141, allocations: 4 kB / 364.4 MB, free: 408 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.035e-05/0.004232, allocations: 141.2 kB / 364.5 MB, free: 236 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.004233, allocations: 3.938 kB / 364.5 MB, free: 232 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.446e-05/0.004287, allocations: 23.91 kB / 364.5 MB, free: 208 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.004289, allocations: 0 / 364.5 MB, free: 208 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.004296, allocations: 0 / 364.5 MB, free: 208 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.52e-07/0.004297, allocations: 0 / 364.5 MB, free: 208 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.004298, allocations: 0 / 364.5 MB, free: 208 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001636/0.004461, allocations: 215.5 kB / 364.8 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.197e-06/0.004471, allocations: 11.92 kB / 364.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.045e-05/0.004481, allocations: 4.062 kB / 364.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.819e-05/0.004519, allocations: 0 / 364.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.516e-05/0.004534, allocations: 7.938 kB / 364.8 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-06/0.00454, allocations: 4 kB / 364.8 MB, free: 15.95 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.094e-05/0.004571, allocations: 87.27 kB / 364.9 MB, free: 15.86 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.004571, allocations: 0 / 364.9 MB, free: 15.86 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001504/0.004721, allocations: 19.95 kB / 364.9 MB, free: 15.84 MB / 298.7 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.785e-05/0.004799, allocations: 99.19 kB / 365 MB, free: 15.73 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001016/0.004901, allocations: 47.98 kB / 365 MB, free: 15.69 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.004903, allocations: 8 kB / 365 MB, free: 15.68 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.741e-05/0.00493, allocations: 31.92 kB / 365.1 MB, free: 15.65 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002414/0.005171, allocations: 11.94 kB / 365.1 MB, free: 15.64 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003224/0.005494, allocations: 226.8 kB / 365.3 MB, free: 15.38 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.488e-05/0.005549, allocations: 77.45 kB / 365.4 MB, free: 15.28 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.682e-05/0.005576, allocations: 12.5 kB / 365.4 MB, free: 15.27 MB / 298.7 MB Notification: Performance of SimCode: time 7.41e-07/0.005576, allocations: 4 kB / 365.4 MB, free: 15.26 MB / 298.7 MB Notification: Performance of Templates: time 0.001849/0.007425, allocations: 1.109 MB / 366.5 MB, free: 14.15 MB / 298.7 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: 4.095004660077393] Failed to read output from testmodel.py, exit status != 0: 0.012294507585465908 0.020974893 0.017235453 Calling exit ...