Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.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.0009853/0.0009853, allocations: 72.06 kB / 21.7 MB, free: 2.844 MB / 18.57 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.001141/0.001141, allocations: 140.9 kB / 24.98 MB, free: 9.363 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9462/0.9462, allocations: 173.4 MB / 201.5 MB, free: 9.332 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 268.1 MB, free: 6.746 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.743e-05/2.885e-05, allocations: 6.25 kB / 268.1 MB, free: 6.738 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.001954/0.001983, allocations: 1.393 MB / 269.5 MB, free: 5.332 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.1339/0.1359, allocations: 23.22 MB / 292.7 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.045e-05/0.1359, allocations: 1.281 kB / 292.7 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001258/0.1361, allocations: 9.391 kB / 292.7 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01225/0.1483, allocations: 6 MB / 298.7 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007053/0.149, allocations: 374.5 kB / 299.1 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001541/0.1492, allocations: 77.31 kB / 299.1 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.562e-05/0.1492, allocations: 5.688 kB / 299.1 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.117e-05/0.1493, allocations: 42.94 kB / 299.2 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.488e-05/0.1494, allocations: 32.53 kB / 299.2 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.71e-05/0.1494, allocations: 3.906 kB / 299.2 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01356/0.163, allocations: 8.382 MB / 307.6 MB, free: 11.8 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.089e-05/0.163, allocations: 21.59 kB / 307.6 MB, free: 11.79 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.879e-05/0.1631, allocations: 27 kB / 307.6 MB, free: 11.78 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009603/0.1727, allocations: 5.479 MB / 313.1 MB, free: 8.504 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.1727, allocations: 0 / 313.1 MB, free: 8.504 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1727, allocations: 0 / 313.1 MB, free: 8.504 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.1727, allocations: 0 / 313.1 MB, free: 8.504 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.001708/0.1744, allocations: 0.9562 MB / 314.1 MB, free: 7.746 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.1744, allocations: 9.609 kB / 314.1 MB, free: 7.746 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.57e-05/0.1745, allocations: 12.8 kB / 314.1 MB, free: 7.738 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.1746, allocations: 124.5 kB / 314.2 MB, free: 7.605 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.252e-05/0.1746, allocations: 8.734 kB / 314.2 MB, free: 7.598 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.14e-05/0.1746, allocations: 3.25 kB / 314.2 MB, free: 7.598 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.1748, allocations: 136.3 kB / 314.4 MB, free: 7.449 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.1748, allocations: 6.797 kB / 314.4 MB, free: 7.445 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.1748, allocations: 2.656 kB / 314.4 MB, free: 7.445 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.1748, allocations: 0 / 314.4 MB, free: 7.445 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.137e-05/0.1749, allocations: 13 kB / 314.4 MB, free: 7.441 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001239/0.175, allocations: 134.4 kB / 314.5 MB, free: 7.281 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001955/0.1752, allocations: 91.81 kB / 314.6 MB, free: 7.195 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.158e-05/0.1752, allocations: 26.55 kB / 314.6 MB, free: 7.168 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.941e-05/0.1753, allocations: 17.64 kB / 314.7 MB, free: 7.164 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.948e-05/0.1753, allocations: 43.61 kB / 314.7 MB, free: 7.113 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 7.92e-07/0.1753, allocations: 3.938 kB / 314.7 MB, free: 7.109 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.000177/0.1755, allocations: 65.86 kB / 314.8 MB, free: 7.055 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.446e-05/0.1755, allocations: 81.11 kB / 314.8 MB, free: 6.957 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.661e-05/0.1756, allocations: 185.9 kB / 315 MB, free: 6.758 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.973e-06/0.1756, allocations: 25.7 kB / 315 MB, free: 6.727 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.228e-05/0.1756, allocations: 137.3 kB / 315.2 MB, free: 6.59 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.547e-05/0.1756, allocations: 22.42 kB / 315.2 MB, free: 6.57 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.597e-05/0.1756, allocations: 27.38 kB / 315.2 MB, free: 6.535 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.852e-05/0.1757, allocations: 0.4884 MB / 315.7 MB, free: 6.035 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.27e-05/0.1757, allocations: 8 kB / 315.7 MB, free: 6.027 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.443e-05/0.1757, allocations: 27.36 kB / 315.8 MB, free: 5.992 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.804e-05/0.1758, allocations: 37.52 kB / 315.8 MB, free: 5.953 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.1758, allocations: 0 / 315.8 MB, free: 5.953 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 8.015e-05/0.1758, allocations: 68.81 kB / 315.9 MB, free: 5.883 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.1759, allocations: 7.938 kB / 315.9 MB, free: 5.875 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.1759, allocations: 4 kB / 315.9 MB, free: 5.871 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.1759, allocations: 4 kB / 315.9 MB, free: 5.867 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.998e-05/0.1759, allocations: 8 kB / 315.9 MB, free: 5.859 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.1759, allocations: 3.359 kB / 315.9 MB, free: 5.859 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.196e-05/0.176, allocations: 7.984 kB / 315.9 MB, free: 5.852 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/0.176, allocations: 0 / 315.9 MB, free: 5.852 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 4.405e-05/0.176, allocations: 160.6 kB / 316 MB, free: 5.684 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.581e-05/0.176, allocations: 11.89 kB / 316.1 MB, free: 5.672 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001209/0.1761, allocations: 84.31 kB / 316.1 MB, free: 5.586 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.1761, allocations: 7 kB / 316.2 MB, free: 5.582 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.1761, allocations: 0 / 316.2 MB, free: 5.582 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.1761, allocations: 0 / 316.2 MB, free: 5.582 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.682e-05/0.1762, allocations: 126.3 kB / 316.3 MB, free: 5.426 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1762, allocations: 0.875 kB / 316.3 MB, free: 5.426 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.802e-05/0.1762, allocations: 8 kB / 316.3 MB, free: 5.418 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1762, allocations: 0 / 316.3 MB, free: 5.418 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.1762, allocations: 7.938 kB / 316.3 MB, free: 5.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.1762, allocations: 0 / 316.3 MB, free: 5.41 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.1762, allocations: 0 / 316.3 MB, free: 5.41 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.157e-05/0.1763, allocations: 115.9 kB / 316.4 MB, free: 5.273 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.559e-05/0.1764, allocations: 11.95 kB / 316.4 MB, free: 5.262 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.1764, allocations: 15.86 kB / 316.4 MB, free: 5.246 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.215e-05/0.1764, allocations: 0 / 316.4 MB, free: 5.246 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.801e-05/0.1765, allocations: 11.98 kB / 316.4 MB, free: 5.234 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.1765, allocations: 3.562 kB / 316.4 MB, free: 5.234 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.178e-05/0.1765, allocations: 143.2 kB / 316.6 MB, free: 5.094 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1765, allocations: 0 / 316.6 MB, free: 5.094 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.00153/0.178, allocations: 0.9469 MB / 317.5 MB, free: 4.145 MB / 266.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.002663/0.1807, allocations: 1.475 MB / 319 MB, free: 2.781 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000116/0.1808, allocations: 31.67 kB / 319 MB, free: 2.746 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1808, allocations: 3.188 kB / 319 MB, free: 2.746 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.642e-05/0.1808, allocations: 27.67 kB / 319.1 MB, free: 2.715 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001807/0.181, allocations: 27.94 kB / 319.1 MB, free: 2.691 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005764/0.1816, allocations: 188.8 kB / 319.3 MB, free: 2.48 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.177e-05/0.1816, allocations: 59.34 kB / 319.3 MB, free: 2.402 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.499e-05/0.1816, allocations: 19.92 kB / 319.4 MB, free: 2.383 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.747e-05/0.1817, allocations: 12.5 kB / 319.4 MB, free: 2.371 MB / 266.7 MB Notification: Performance of SimCode: time 1.242e-06/0.1817, allocations: 4 kB / 319.4 MB, free: 2.367 MB / 266.7 MB Notification: Performance of Templates: time 0.03446/0.2161, allocations: 28.07 MB / 347.4 MB, free: 6.328 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.262565419077873]