Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.DryAirNasa.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|eta|lambda|eta_der|lambda_der|eta2|lambda2|eta2_der|lambda2_der",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.DryAirNasa") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003967/0.003972, allocations: 363.1 kB / 15.95 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.107/4.107, allocations: 388.9 MB / 405.6 MB, free: 9.664 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003606/0.003606, allocations: 229.6 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5165/0.5165, allocations: 80.02 MB / 0.5627 GB, free: 19.78 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007011/0.0007017, allocations: 8.875 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.123, allocations: 54.87 MB / 0.6801 GB, free: 41.68 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.25/2.373, allocations: 0.6067 GB / 1.287 GB, free: 154 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000232/2.373, allocations: 76.06 kB / 1.287 GB, free: 154 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1591/2.533, allocations: 45.42 MB / 1.331 GB, free: 142.3 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.763e-06/2.533, allocations: 0 / 1.331 GB, free: 142.3 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.645e-06/2.533, allocations: 0 / 1.331 GB, free: 142.3 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006418/2.533, allocations: 433.6 kB / 1.332 GB, free: 141.9 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/2.533, allocations: 11.75 kB / 1.332 GB, free: 141.9 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.891e-05/2.533, allocations: 7.719 kB / 1.332 GB, free: 141.9 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.982e-05/2.534, allocations: 167 kB / 1.332 GB, free: 141.7 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/2.534, allocations: 3.75 kB / 1.332 GB, free: 141.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.181e-05/2.534, allocations: 11.09 kB / 1.332 GB, free: 141.7 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/2.534, allocations: 68.88 kB / 1.332 GB, free: 141.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/2.534, allocations: 0 / 1.332 GB, free: 141.7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/2.534, allocations: 7.578 kB / 1.332 GB, free: 141.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/2.534, allocations: 0 / 1.332 GB, free: 141.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001085/2.534, allocations: 46.31 kB / 1.332 GB, free: 141.6 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004329/2.534, allocations: 376.9 kB / 1.332 GB, free: 141.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/2.535, allocations: 65.5 kB / 1.332 GB, free: 141.2 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.618e-05/2.535, allocations: 20.48 kB / 1.332 GB, free: 141.2 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002036/2.537, allocations: 1.217 MB / 1.334 GB, free: 139.7 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.192e-05/2.537, allocations: 41.95 kB / 1.334 GB, free: 139.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=9): time 2.194e-06/2.537, allocations: 7.875 kB / 1.334 GB, free: 139.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=14): time 0.009183/2.546, allocations: 0.6462 MB / 1.334 GB, free: 139.1 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.64e-05/2.546, allocations: 55.69 kB / 1.334 GB, free: 139.1 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.89e-05/2.546, allocations: 97.8 kB / 1.334 GB, free: 139 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.93e-05/2.546, allocations: 29.52 kB / 1.334 GB, free: 138.9 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.562e-05/2.546, allocations: 100.2 kB / 1.334 GB, free: 138.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.086e-05/2.546, allocations: 42.17 kB / 1.335 GB, free: 138.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.661e-05/2.546, allocations: 3.625 kB / 1.335 GB, free: 138.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.078e-05/2.546, allocations: 318.8 kB / 1.335 GB, free: 138.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003103/2.547, allocations: 85.25 kB / 1.335 GB, free: 138.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003264/2.547, allocations: 107.3 kB / 1.335 GB, free: 138.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003472/2.547, allocations: 87.78 kB / 1.335 GB, free: 138.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/2.547, allocations: 0 / 1.335 GB, free: 138.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0008725/2.548, allocations: 244.8 kB / 1.335 GB, free: 138.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/2.548, allocations: 8 kB / 1.335 GB, free: 138.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/2.548, allocations: 0 / 1.335 GB, free: 138.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/2.548, allocations: 4 kB / 1.335 GB, free: 138.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009443/2.549, allocations: 51.94 kB / 1.335 GB, free: 138 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/2.549, allocations: 0 / 1.335 GB, free: 138 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007639/2.55, allocations: 19.92 kB / 1.335 GB, free: 138 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.358e-05/2.55, allocations: 15.67 kB / 1.335 GB, free: 138 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001319/2.55, allocations: 114.3 kB / 1.336 GB, free: 137.9 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.128e-05/2.55, allocations: 15.86 kB / 1.336 GB, free: 137.9 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001248/2.552, allocations: 344.3 kB / 1.336 GB, free: 137.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/2.552, allocations: 3.953 kB / 1.336 GB, free: 137.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/2.552, allocations: 4 kB / 1.336 GB, free: 137.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/2.552, allocations: 0 / 1.336 GB, free: 137.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001407/2.553, allocations: 0.7552 MB / 1.337 GB, free: 136.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/2.553, allocations: 11.89 kB / 1.337 GB, free: 136.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008322/2.554, allocations: 39.97 kB / 1.337 GB, free: 136.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.184e-06/2.554, allocations: 3.984 kB / 1.337 GB, free: 136.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.217e-05/2.554, allocations: 11.61 kB / 1.337 GB, free: 136.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/2.554, allocations: 0 / 1.337 GB, free: 136.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/2.554, allocations: 0 / 1.337 GB, free: 136.8 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008461/2.555, allocations: 349.5 kB / 1.337 GB, free: 136.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001202/2.555, allocations: 104.4 kB / 1.337 GB, free: 136.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.188e-05/2.555, allocations: 11.39 kB / 1.337 GB, free: 136.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006591/2.556, allocations: 11.86 kB / 1.337 GB, free: 136.4 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.378e-05/2.556, allocations: 11.98 kB / 1.337 GB, free: 136.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-05/2.556, allocations: 11.98 kB / 1.337 GB, free: 136.4 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.587e-05/2.556, allocations: 83.16 kB / 1.337 GB, free: 136.3 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.61e-07/2.556, allocations: 0 / 1.337 GB, free: 136.3 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0007916/2.557, allocations: 145 kB / 1.337 GB, free: 136.2 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001137/2.558, allocations: 0.634 MB / 1.338 GB, free: 135.6 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0007837/2.559, allocations: 203.2 kB / 1.338 GB, free: 135.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/2.559, allocations: 0 / 1.338 GB, free: 135.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003698/2.559, allocations: 117.5 kB / 1.338 GB, free: 135.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005461/2.56, allocations: 38.95 kB / 1.338 GB, free: 135.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007961/2.561, allocations: 304.8 kB / 1.339 GB, free: 135 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000144/2.561, allocations: 0.6968 MB / 1.339 GB, free: 134.3 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0008058/2.561, allocations: 64.75 kB / 1.339 GB, free: 134.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003627/2.562, allocations: 27.41 kB / 1.339 GB, free: 134.2 MB / 490.7 MB Notification: Performance of SimCode: time 9.22e-07/2.562, allocations: 0 / 1.339 GB, free: 134.2 MB / 490.7 MB Notification: Performance of Templates: time 0.02483/2.587, allocations: 12.58 MB / 1.352 GB, free: 121.6 MB / 490.7 MB