Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009589/0.0009589, allocations: 91.5 kB / 21.2 MB, free: 3.375 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009127/0.0009127, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9147/0.9147, allocations: 177 MB / 204.8 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 272.9 MB, free: 1.5 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.595e-05/1.735e-05, allocations: 9.266 kB / 272.9 MB, free: 1.492 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.00387/0.003887, allocations: 1.412 MB / 274.3 MB, free: 68 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.1302/0.1341, allocations: 23.34 MB / 297.7 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.186e-05/0.1341, allocations: 0 / 297.7 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001156/0.1342, allocations: 10.64 kB / 297.7 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01009/0.1443, allocations: 6.025 MB / 303.7 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000484/0.1448, allocations: 374.1 kB / 304.1 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.396e-05/0.1449, allocations: 82.97 kB / 304.1 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.053e-05/0.1449, allocations: 1.438 kB / 304.1 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.396e-05/0.145, allocations: 46.02 kB / 304.2 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.069e-05/0.1451, allocations: 34.52 kB / 304.2 MB, free: 13.24 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.407e-05/0.1451, allocations: 3.5 kB / 304.2 MB, free: 13.24 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008351/0.1534, allocations: 8.425 MB / 312.6 MB, free: 9.215 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.078e-05/0.1535, allocations: 18.36 kB / 312.7 MB, free: 9.203 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.037e-05/0.1535, allocations: 19.72 kB / 312.7 MB, free: 9.195 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004147/0.1576, allocations: 5.506 MB / 318.2 MB, free: 3.906 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1576, allocations: 4 kB / 318.2 MB, free: 3.902 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1576, allocations: 0 / 318.2 MB, free: 3.902 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.1576, allocations: 0 / 318.2 MB, free: 3.902 MB / 266.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.0009467/0.1586, allocations: 0.9675 MB / 319.2 MB, free: 2.895 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.1586, allocations: 11.98 kB / 319.2 MB, free: 2.883 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.684e-05/0.1587, allocations: 8.891 kB / 319.2 MB, free: 2.875 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.36e-05/0.1588, allocations: 137 kB / 319.3 MB, free: 2.715 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.1588, allocations: 8.75 kB / 319.3 MB, free: 2.707 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.458e-06/0.1588, allocations: 0 / 319.3 MB, free: 2.707 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001215/0.1589, allocations: 133.1 kB / 319.4 MB, free: 2.547 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.1589, allocations: 4 kB / 319.5 MB, free: 2.543 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.1589, allocations: 0 / 319.5 MB, free: 2.543 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.1589, allocations: 4 kB / 319.5 MB, free: 2.539 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.74e-05/0.159, allocations: 19.92 kB / 319.5 MB, free: 2.52 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001025/0.1591, allocations: 129.5 kB / 319.6 MB, free: 2.355 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00017/0.1592, allocations: 90.16 kB / 319.7 MB, free: 2.242 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.462e-05/0.1593, allocations: 23.38 kB / 319.7 MB, free: 2.211 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.866e-05/0.1593, allocations: 15.98 kB / 319.7 MB, free: 2.195 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.621e-05/0.1593, allocations: 45.33 kB / 319.8 MB, free: 2.141 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 7.92e-07/0.1593, allocations: 0 / 319.8 MB, free: 2.141 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001481/0.1595, allocations: 69.58 kB / 319.8 MB, free: 2.066 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.611e-05/0.1595, allocations: 81.09 kB / 319.9 MB, free: 1.969 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.585e-05/0.1595, allocations: 182.8 kB / 320.1 MB, free: 1.773 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.612e-06/0.1595, allocations: 29.7 kB / 320.1 MB, free: 1.738 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.817e-05/0.1596, allocations: 130.9 kB / 320.3 MB, free: 1.605 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.1596, allocations: 23.83 kB / 320.3 MB, free: 1.582 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.186e-05/0.1596, allocations: 23.38 kB / 320.3 MB, free: 1.551 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.281e-05/0.1596, allocations: 0.4884 MB / 320.8 MB, free: 1.051 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.784e-05/0.1597, allocations: 7.938 kB / 320.8 MB, free: 1.043 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.953e-05/0.1597, allocations: 27.38 kB / 320.8 MB, free: 1.008 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.265e-05/0.1597, allocations: 41.97 kB / 320.9 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.1597, allocations: 0.75 kB / 320.9 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 6.352e-05/0.1598, allocations: 65.58 kB / 320.9 MB, free: 0.8906 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.028e-05/0.1598, allocations: 11.94 kB / 320.9 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.1598, allocations: 0 / 320.9 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.1598, allocations: 0 / 320.9 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.798e-05/0.1598, allocations: 15.98 kB / 321 MB, free: 0.8633 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.1599, allocations: 4 kB / 321 MB, free: 0.8594 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.914e-05/0.1599, allocations: 0.75 kB / 321 MB, free: 0.8594 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.1599, allocations: 4 kB / 321 MB, free: 0.8555 MB / 266.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 3.509e-05/0.1599, allocations: 156.6 kB / 321.1 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.211e-05/0.1599, allocations: 11.89 kB / 321.1 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.875e-05/0.16, allocations: 80.95 kB / 321.2 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.16, allocations: 0 / 321.2 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.16, allocations: 4 kB / 321.2 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-06/0.16, allocations: 4.844 kB / 321.2 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.212e-05/0.1601, allocations: 139.8 kB / 321.4 MB, free: 432 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.1601, allocations: 0 / 321.4 MB, free: 432 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.415e-05/0.1601, allocations: 15.98 kB / 321.4 MB, free: 416 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.1601, allocations: 0 / 321.4 MB, free: 416 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.1601, allocations: 3.938 kB / 321.4 MB, free: 412 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1601, allocations: 3.938 kB / 321.4 MB, free: 408 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.1601, allocations: 4 kB / 321.4 MB, free: 404 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.91e-05/0.1602, allocations: 100.1 kB / 321.5 MB, free: 276 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.892e-05/0.1602, allocations: 19.83 kB / 321.5 MB, free: 260 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.099e-05/0.1602, allocations: 7.938 kB / 321.5 MB, free: 252 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.978e-05/0.1603, allocations: 4 kB / 321.5 MB, free: 248 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.287e-05/0.1603, allocations: 7.984 kB / 321.5 MB, free: 240 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.1603, allocations: 4 kB / 321.5 MB, free: 236 kB / 266.7 MB Notification: Performance of sorting global known variables: time 2.644e-05/0.1603, allocations: 144 kB / 321.7 MB, free: 92 kB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1603, allocations: 0 / 321.7 MB, free: 92 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.001066/0.1614, allocations: 0.9563 MB / 322.6 MB, free: 15.13 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.002433/0.1638, allocations: 1.468 MB / 324.1 MB, free: 13.66 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001014/0.1639, allocations: 36.3 kB / 324.1 MB, free: 13.62 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.1639, allocations: 0 / 324.1 MB, free: 13.62 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.803e-05/0.1639, allocations: 27.61 kB / 324.1 MB, free: 13.59 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001656/0.1641, allocations: 19.39 kB / 324.2 MB, free: 13.57 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005116/0.1646, allocations: 190.9 kB / 324.4 MB, free: 13.35 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.118e-05/0.1647, allocations: 64.89 kB / 324.4 MB, free: 13.27 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.199e-05/0.1647, allocations: 7.984 kB / 324.4 MB, free: 13.26 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.894e-05/0.1647, allocations: 20.48 kB / 324.4 MB, free: 13.24 MB / 282.7 MB Notification: Performance of SimCode: time 7.61e-07/0.1647, allocations: 0 / 324.4 MB, free: 13.24 MB / 282.7 MB Notification: Performance of Templates: time 0.03087/0.1956, allocations: 33.96 MB / 358.4 MB, free: 11.28 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.27330786595121]