Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001049/0.001049, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001449/0.002498, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001106/0.001106, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001402/0.002508, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9536/0.9536, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08013/1.034, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.96e-05/2.094e-05, allocations: 4.984 kB / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002285/0.002306, allocations: 1.449 MB / 246 MB, free: 12.85 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.02746/0.02977, allocations: 23.4 MB / 269.4 MB, free: 5.371 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.141e-05/0.02981, allocations: 8 kB / 269.4 MB, free: 5.363 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.643e-05/0.0299, allocations: 7.938 kB / 269.4 MB, free: 5.355 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.122/0.1519, allocations: 5.496 MB / 274.9 MB, free: 2.781 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006853/0.1526, allocations: 362.8 kB / 275.2 MB, free: 2.781 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001247/0.1527, allocations: 82.94 kB / 275.3 MB, free: 2.781 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.632e-05/0.1527, allocations: 3.953 kB / 275.3 MB, free: 2.781 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.532e-05/0.1528, allocations: 55.25 kB / 275.4 MB, free: 2.781 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.912e-05/0.1529, allocations: 34.34 kB / 275.4 MB, free: 2.781 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.381e-05/0.1529, allocations: 3.406 kB / 275.4 MB, free: 2.781 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0118/0.1647, allocations: 8.922 MB / 284.3 MB, free: 2.758 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.705e-05/0.1648, allocations: 12.27 kB / 284.3 MB, free: 2.754 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.207e-05/0.1648, allocations: 13.75 kB / 284.4 MB, free: 2.754 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00668/0.1715, allocations: 4.225 MB / 288.6 MB, free: 2.613 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.601e-05/0.1715, allocations: 0.5938 kB / 288.6 MB, free: 2.613 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1715, allocations: 0 / 288.6 MB, free: 2.613 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.659e-05/0.1715, allocations: 3.875 kB / 288.6 MB, free: 2.613 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.002285/0.1738, allocations: 1.187 MB / 289.8 MB, free: 18.05 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.111e-05/0.1738, allocations: 10.19 kB / 289.8 MB, free: 18.05 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.17e-05/0.1739, allocations: 7.328 kB / 289.8 MB, free: 18.05 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/0.174, allocations: 135.3 kB / 289.9 MB, free: 17.92 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.174, allocations: 4.031 kB / 289.9 MB, free: 17.92 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.606e-06/0.174, allocations: 2.719 kB / 289.9 MB, free: 17.92 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.1741, allocations: 133.4 kB / 290.1 MB, free: 17.79 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.1741, allocations: 0 / 290.1 MB, free: 17.79 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.744e-06/0.1741, allocations: 4.062 kB / 290.1 MB, free: 17.79 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.1741, allocations: 0.5 kB / 290.1 MB, free: 17.79 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.127e-05/0.1742, allocations: 23.09 kB / 290.1 MB, free: 17.78 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.589e-05/0.1743, allocations: 77.36 kB / 290.2 MB, free: 17.69 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001497/0.1744, allocations: 75.2 kB / 290.2 MB, free: 17.63 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.73e-05/0.1744, allocations: 16.75 kB / 290.3 MB, free: 17.61 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.185e-05/0.1745, allocations: 17.67 kB / 290.3 MB, free: 17.61 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/0.1745, allocations: 36.38 kB / 290.3 MB, free: 17.57 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.1745, allocations: 0 / 290.3 MB, free: 17.57 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001203/0.1746, allocations: 63.67 kB / 290.4 MB, free: 17.54 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.639e-05/0.1746, allocations: 81.05 kB / 290.5 MB, free: 17.44 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.285e-05/0.1747, allocations: 128 kB / 290.6 MB, free: 17.33 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.478e-06/0.1747, allocations: 31.64 kB / 290.6 MB, free: 17.3 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.198e-05/0.1747, allocations: 85.33 kB / 290.7 MB, free: 17.21 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.448e-05/0.1748, allocations: 14.31 kB / 290.7 MB, free: 17.2 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.384e-05/0.1748, allocations: 24.64 kB / 290.7 MB, free: 17.19 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.911e-05/0.1748, allocations: 313.3 kB / 291 MB, free: 16.88 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.572e-05/0.1749, allocations: 9.766 kB / 291 MB, free: 16.87 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.839e-05/0.1749, allocations: 20.48 kB / 291.1 MB, free: 16.86 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.647e-05/0.1749, allocations: 37.81 kB / 291.1 MB, free: 16.83 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1749, allocations: 3 kB / 291.1 MB, free: 16.83 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 5.787e-05/0.175, allocations: 61.27 kB / 291.2 MB, free: 16.79 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.175, allocations: 8.031 kB / 291.2 MB, free: 16.79 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.175, allocations: 0 / 291.2 MB, free: 16.79 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.945e-06/0.175, allocations: 0 / 291.2 MB, free: 16.79 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.147e-05/0.1751, allocations: 21.02 kB / 291.2 MB, free: 16.79 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.066e-06/0.1751, allocations: 2 kB / 291.2 MB, free: 16.79 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.032e-05/0.1751, allocations: 9.047 kB / 291.2 MB, free: 16.79 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.008e-06/0.1751, allocations: 0 / 291.2 MB, free: 16.79 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 5.392e-05/0.1751, allocations: 117.7 kB / 291.3 MB, free: 16.67 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.957e-06/0.1751, allocations: 6 kB / 291.3 MB, free: 16.67 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001085/0.1752, allocations: 68.28 kB / 291.4 MB, free: 16.64 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1753, allocations: 0.9062 kB / 291.4 MB, free: 16.64 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.1753, allocations: 7.188 kB / 291.4 MB, free: 16.63 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.1753, allocations: 1.75 kB / 291.4 MB, free: 16.63 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.499e-05/0.1753, allocations: 77.61 kB / 291.5 MB, free: 16.55 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.1753, allocations: 1.031 kB / 291.5 MB, free: 16.55 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.01e-05/0.1754, allocations: 10 kB / 291.5 MB, free: 16.55 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.707e-05/0.1754, allocations: 14.08 kB / 291.5 MB, free: 16.55 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.1754, allocations: 4.359 kB / 291.5 MB, free: 16.55 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.959e-06/0.1754, allocations: 4.875 kB / 291.5 MB, free: 16.55 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1754, allocations: 3.938 kB / 291.5 MB, free: 16.55 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.1754, allocations: 3.938 kB / 291.5 MB, free: 16.54 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.252e-05/0.1755, allocations: 89.17 kB / 291.6 MB, free: 16.46 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.048e-05/0.1755, allocations: 3.281 kB / 291.6 MB, free: 16.46 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.148e-05/0.1755, allocations: 7.75 kB / 291.6 MB, free: 16.46 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.949e-05/0.1755, allocations: 11.16 kB / 291.6 MB, free: 16.46 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.1755, allocations: 8.812 kB / 291.6 MB, free: 16.46 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.169e-05/0.1756, allocations: 26.84 kB / 291.7 MB, free: 16.45 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1756, allocations: 0 / 291.7 MB, free: 16.45 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.002072/0.1776, allocations: 0.9605 MB / 292.6 MB, free: 16.3 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.002944/0.1806, allocations: 1.537 MB / 294.2 MB, free: 16.01 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.607e-05/0.1807, allocations: 30.97 kB / 294.2 MB, free: 16 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/0.1807, allocations: 3.75 kB / 294.2 MB, free: 16 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.903e-05/0.1807, allocations: 21.69 kB / 294.2 MB, free: 15.99 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001381/0.1808, allocations: 33.38 kB / 294.2 MB, free: 15.98 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001251/0.1821, allocations: 192.3 kB / 294.4 MB, free: 15.82 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.899e-05/0.1821, allocations: 62 kB / 294.5 MB, free: 15.74 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.924e-05/0.1821, allocations: 11.16 kB / 294.5 MB, free: 15.74 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.198e-05/0.1822, allocations: 79.19 kB / 294.6 MB, free: 15.69 MB / 282.7 MB Notification: Performance of SimCode: time 1.273e-06/0.1822, allocations: 3.188 kB / 294.6 MB, free: 15.69 MB / 282.7 MB Notification: Performance of Templates: time 0.03448/0.2167, allocations: 31.93 MB / 326.5 MB, free: 0.7539 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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: 4.4820272689685225]