Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.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.0009935/0.0009935, allocations: 85.95 kB / 23 MB, free: 1.504 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.001404/0.001404, allocations: 171.6 kB / 26.39 MB, free: 7.988 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.9308/0.9308, allocations: 158.6 MB / 188.3 MB, free: 2.82 MB / 170.7 MB " [Timeout remaining time 179] 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(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.532e-06/1.532e-06, allocations: 3.938 kB / 252.2 MB, free: 7.262 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.79e-05/2.943e-05, allocations: 10.25 kB / 252.3 MB, free: 7.25 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002462/0.002491, allocations: 1.39 MB / 253.6 MB, free: 5.848 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.02574/0.02824, allocations: 23.08 MB / 276.7 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.851e-05/0.02828, allocations: 0 / 276.7 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001092/0.02839, allocations: 11.86 kB / 276.7 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01083/0.03922, allocations: 5.684 MB / 282.4 MB, free: 8.965 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005685/0.03979, allocations: 366.4 kB / 282.8 MB, free: 8.605 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001202/0.03991, allocations: 87.56 kB / 282.9 MB, free: 8.52 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.722e-05/0.03995, allocations: 4 kB / 282.9 MB, free: 8.516 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.865e-05/0.04001, allocations: 43.89 kB / 282.9 MB, free: 8.473 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.606e-05/0.04009, allocations: 27.95 kB / 282.9 MB, free: 8.445 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.0401, allocations: 4 kB / 282.9 MB, free: 8.441 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01127/0.05137, allocations: 8.291 MB / 291.2 MB, free: 140 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.787e-05/0.05142, allocations: 11.98 kB / 291.2 MB, free: 128 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.396e-05/0.05146, allocations: 23.91 kB / 291.3 MB, free: 104 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01012/0.06159, allocations: 5.457 MB / 296.7 MB, free: 10.63 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.06159, allocations: 0 / 296.7 MB, free: 10.63 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.06159, allocations: 0 / 296.7 MB, free: 10.63 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.129e-06/0.0616, allocations: 0 / 296.7 MB, free: 10.63 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.002563/0.06416, allocations: 0.9481 MB / 297.7 MB, free: 9.645 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.0642, allocations: 11.98 kB / 297.7 MB, free: 9.633 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.044e-05/0.06425, allocations: 8.891 kB / 297.7 MB, free: 9.625 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.06437, allocations: 136.5 kB / 297.8 MB, free: 9.465 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.242e-05/0.06439, allocations: 4.375 kB / 297.8 MB, free: 9.461 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.361e-05/0.06441, allocations: 11.88 kB / 297.8 MB, free: 9.449 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001712/0.06458, allocations: 133.1 kB / 298 MB, free: 9.289 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.06459, allocations: 0 / 298 MB, free: 9.289 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.0646, allocations: 4 kB / 298 MB, free: 9.285 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.0646, allocations: 0 / 298 MB, free: 9.285 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.745e-05/0.06464, allocations: 11.98 kB / 298 MB, free: 9.273 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001496/0.06479, allocations: 116.9 kB / 298.1 MB, free: 9.129 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002111/0.065, allocations: 82.25 kB / 298.2 MB, free: 9.023 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.793e-05/0.06503, allocations: 19.44 kB / 298.2 MB, free: 8.996 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.052e-05/0.06508, allocations: 19.98 kB / 298.2 MB, free: 8.977 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.06511, allocations: 45.27 kB / 298.3 MB, free: 8.922 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.002e-06/0.06511, allocations: 0 / 298.3 MB, free: 8.922 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001785/0.06529, allocations: 69.56 kB / 298.3 MB, free: 8.848 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.06533, allocations: 81.11 kB / 298.4 MB, free: 8.75 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.06543, allocations: 181.8 kB / 298.6 MB, free: 8.555 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.06544, allocations: 25.7 kB / 298.6 MB, free: 8.523 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.464e-05/0.06549, allocations: 142.8 kB / 298.8 MB, free: 8.379 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.992e-05/0.06552, allocations: 19.8 kB / 298.8 MB, free: 8.359 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.991e-05/0.06556, allocations: 23.38 kB / 298.8 MB, free: 8.328 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.06568, allocations: 0.4923 MB / 299.3 MB, free: 7.824 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.221e-05/0.0657, allocations: 4 kB / 299.3 MB, free: 7.82 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.125e-05/0.06573, allocations: 27.36 kB / 299.3 MB, free: 7.785 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.391e-05/0.06579, allocations: 35.3 kB / 299.4 MB, free: 7.742 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.06579, allocations: 0 / 299.4 MB, free: 7.742 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001034/0.06589, allocations: 54.16 kB / 299.4 MB, free: 7.684 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.06591, allocations: 11.94 kB / 299.4 MB, free: 7.672 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.06591, allocations: 11.91 kB / 299.4 MB, free: 7.66 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.257e-06/0.06592, allocations: 0 / 299.4 MB, free: 7.66 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.482e-05/0.06598, allocations: 12 kB / 299.4 MB, free: 7.648 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.366e-06/0.06598, allocations: 4 kB / 299.4 MB, free: 7.645 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.993e-05/0.06601, allocations: 4.078 kB / 299.4 MB, free: 7.641 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-06/0.06602, allocations: 4 kB / 299.5 MB, free: 7.637 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (6): * Single equations (assignments): 6 * 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 7.498e-05/0.06609, allocations: 164.6 kB / 299.6 MB, free: 7.465 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.062e-05/0.06611, allocations: 7.938 kB / 299.6 MB, free: 7.457 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001356/0.06625, allocations: 81.5 kB / 299.7 MB, free: 7.375 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.06625, allocations: 0 / 299.7 MB, free: 7.375 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.06625, allocations: 0 / 299.7 MB, free: 7.375 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.06626, allocations: 4 kB / 299.7 MB, free: 7.371 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.786e-05/0.06635, allocations: 117.2 kB / 299.8 MB, free: 7.23 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.06635, allocations: 0 / 299.8 MB, free: 7.23 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.278e-05/0.0664, allocations: 11.98 kB / 299.8 MB, free: 7.219 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.0664, allocations: 0 / 299.8 MB, free: 7.219 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.273e-06/0.06641, allocations: 4 kB / 299.8 MB, free: 7.215 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.06641, allocations: 3.938 kB / 299.8 MB, free: 7.211 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.06641, allocations: 0 / 299.8 MB, free: 7.211 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001198/0.06653, allocations: 108 kB / 299.9 MB, free: 7.078 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.281e-05/0.06656, allocations: 7.984 kB / 299.9 MB, free: 7.07 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.202e-05/0.06658, allocations: 4 kB / 300 MB, free: 7.066 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.39e-05/0.06662, allocations: 11.94 kB / 300 MB, free: 7.055 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.245e-05/0.06665, allocations: 3.984 kB / 300 MB, free: 7.051 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.06666, allocations: 4 kB / 300 MB, free: 7.047 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.338e-05/0.06671, allocations: 135.2 kB / 300.1 MB, free: 6.914 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.06671, allocations: 0 / 300.1 MB, free: 6.914 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.002275/0.06899, allocations: 0.9353 MB / 301 MB, free: 5.977 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (6): * Single equations (assignments): 6 * 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.004012/0.073, allocations: 1.533 MB / 302.6 MB, free: 4.449 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001237/0.07312, allocations: 31.66 kB / 302.6 MB, free: 4.414 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.07313, allocations: 0 / 302.6 MB, free: 4.414 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.722e-05/0.07316, allocations: 23.61 kB / 302.6 MB, free: 4.387 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002225/0.07339, allocations: 23.97 kB / 302.7 MB, free: 4.363 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005757/0.07396, allocations: 185 kB / 302.8 MB, free: 4.152 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.324e-05/0.074, allocations: 59.34 kB / 302.9 MB, free: 4.074 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.84e-05/0.07404, allocations: 11.98 kB / 302.9 MB, free: 4.062 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/0.07414, allocations: 102.2 kB / 303 MB, free: 3.961 MB / 282.7 MB Notification: Performance of SimCode: time 8.31e-07/0.07415, allocations: 0 / 303 MB, free: 3.961 MB / 282.7 MB Notification: Performance of Templates: time 0.0447/0.1189, allocations: 35.18 MB / 338.2 MB, free: 0.7344 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/Inverse_sh_TX/Inverse_sh_TX.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.411272475030273]