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.00144/0.00144, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.001548/0.001548, allocations: 165.7 kB / 24.26 MB, free: 176 kB / 18.57 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 1.481/1.481, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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 2.265e-06/2.265e-06, allocations: 0 / 272.3 MB, free: 1.852 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.479e-05/3.705e-05, allocations: 6.312 kB / 272.3 MB, free: 1.844 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.003271/0.003308, allocations: 1.374 MB / 273.7 MB, free: 472 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.1362/0.1396, allocations: 21.13 MB / 294.8 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.65e-05/0.1396, allocations: 0 / 294.8 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001121/0.1397, allocations: 9.734 kB / 294.8 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01369/0.1534, allocations: 6.01 MB / 300.8 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008105/0.1542, allocations: 373.6 kB / 301.2 MB, free: 13.58 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001097/0.1543, allocations: 81.62 kB / 301.3 MB, free: 13.56 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.292e-05/0.1543, allocations: 5.375 kB / 301.3 MB, free: 13.56 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.046e-05/0.1544, allocations: 42.23 kB / 301.3 MB, free: 13.56 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.374e-05/0.1545, allocations: 35.86 kB / 301.4 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.1545, allocations: 3.5 kB / 301.4 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01375/0.1683, allocations: 8.417 MB / 309.8 MB, free: 9.934 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.335e-05/0.1683, allocations: 18.02 kB / 309.8 MB, free: 9.922 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.267e-05/0.1684, allocations: 21.48 kB / 309.8 MB, free: 9.914 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008802/0.1772, allocations: 5.5 MB / 315.3 MB, free: 5.371 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.1772, allocations: 4 kB / 315.3 MB, free: 5.367 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.963e-06/0.1772, allocations: 0 / 315.3 MB, free: 5.367 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.997e-06/0.1772, allocations: 4 kB / 315.3 MB, free: 5.363 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.001682/0.1789, allocations: 0.8562 MB / 316.2 MB, free: 4.473 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.1789, allocations: 8.031 kB / 316.2 MB, free: 4.465 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.009e-05/0.179, allocations: 16.89 kB / 316.2 MB, free: 4.449 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.1791, allocations: 137 kB / 316.3 MB, free: 4.293 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.1791, allocations: 1.5 kB / 316.3 MB, free: 4.293 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.283e-05/0.1791, allocations: 11.94 kB / 316.4 MB, free: 4.281 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001595/0.1793, allocations: 130.7 kB / 316.5 MB, free: 4.129 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.1793, allocations: 0 / 316.5 MB, free: 4.129 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.1793, allocations: 0 / 316.5 MB, free: 4.129 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.1793, allocations: 0 / 316.5 MB, free: 4.129 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001165/0.1794, allocations: 39.03 kB / 316.5 MB, free: 4.094 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001295/0.1795, allocations: 138.2 kB / 316.7 MB, free: 3.926 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00027/0.1798, allocations: 93.12 kB / 316.7 MB, free: 3.816 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.282e-05/0.1799, allocations: 28.3 kB / 316.8 MB, free: 3.785 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.742e-05/0.1799, allocations: 11.98 kB / 316.8 MB, free: 3.773 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.652e-05/0.18, allocations: 50.44 kB / 316.8 MB, free: 3.715 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 9.11e-07/0.18, allocations: 0 / 316.8 MB, free: 3.715 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.000292/0.1802, allocations: 98.12 kB / 316.9 MB, free: 3.613 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.101e-05/0.1803, allocations: 81.05 kB / 317 MB, free: 3.516 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.873e-05/0.1804, allocations: 142.6 kB / 317.1 MB, free: 3.367 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.458e-06/0.1804, allocations: 25.7 kB / 317.2 MB, free: 3.336 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.96e-05/0.1804, allocations: 84.14 kB / 317.3 MB, free: 3.25 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.534e-05/0.1804, allocations: 15.89 kB / 317.3 MB, free: 3.234 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-05/0.1804, allocations: 17.72 kB / 317.3 MB, free: 3.211 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.105e-05/0.1805, allocations: 322.8 kB / 317.6 MB, free: 2.887 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.433e-05/0.1805, allocations: 15.98 kB / 317.6 MB, free: 2.871 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.238e-05/0.1806, allocations: 29.7 kB / 317.6 MB, free: 2.836 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001074/0.1807, allocations: 59.83 kB / 317.7 MB, free: 2.773 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.1807, allocations: 0 / 317.7 MB, free: 2.773 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001674/0.1809, allocations: 85.56 kB / 317.8 MB, free: 2.684 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.1809, allocations: 4 kB / 317.8 MB, free: 2.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1809, allocations: 4 kB / 317.8 MB, free: 2.676 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.1809, allocations: 0 / 317.8 MB, free: 2.676 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.148e-05/0.181, allocations: 19.92 kB / 317.8 MB, free: 2.656 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.181, allocations: 0 / 317.8 MB, free: 2.656 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.176e-05/0.181, allocations: 7.938 kB / 317.8 MB, free: 2.648 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.181, allocations: 0 / 317.8 MB, free: 2.648 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.741e-05/0.1811, allocations: 113.8 kB / 317.9 MB, free: 2.527 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.557e-05/0.1811, allocations: 11.89 kB / 317.9 MB, free: 2.516 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002085/0.1813, allocations: 105.1 kB / 318 MB, free: 2.41 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.1813, allocations: 3.938 kB / 318.1 MB, free: 2.406 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.1813, allocations: 0 / 318.1 MB, free: 2.406 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.1813, allocations: 4 kB / 318.1 MB, free: 2.402 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.127e-05/0.1814, allocations: 120.1 kB / 318.2 MB, free: 2.258 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.1814, allocations: 0 / 318.2 MB, free: 2.258 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.661e-05/0.1814, allocations: 16.86 kB / 318.2 MB, free: 2.242 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1814, allocations: 0 / 318.2 MB, free: 2.242 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.1814, allocations: 3.938 kB / 318.2 MB, free: 2.238 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1814, allocations: 0 / 318.2 MB, free: 2.238 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.1814, allocations: 4 kB / 318.2 MB, free: 2.234 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001695/0.1816, allocations: 116 kB / 318.3 MB, free: 2.102 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.577e-05/0.1816, allocations: 11.94 kB / 318.3 MB, free: 2.09 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.839e-05/0.1817, allocations: 15.94 kB / 318.3 MB, free: 2.074 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.506e-05/0.1818, allocations: 0 / 318.3 MB, free: 2.074 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.743e-05/0.1818, allocations: 7.984 kB / 318.3 MB, free: 2.066 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/0.1818, allocations: 4 kB / 318.3 MB, free: 2.062 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.62e-05/0.1819, allocations: 112.3 kB / 318.5 MB, free: 1.953 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1819, allocations: 0 / 318.5 MB, free: 1.953 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001686/0.1835, allocations: 0.9586 MB / 319.4 MB, free: 0.9922 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.003544/0.1871, allocations: 1.47 MB / 320.9 MB, free: 15.62 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002063/0.1873, allocations: 52.53 kB / 320.9 MB, free: 15.57 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1873, allocations: 0 / 320.9 MB, free: 15.57 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.863e-05/0.1874, allocations: 27.92 kB / 321 MB, free: 15.55 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002477/0.1876, allocations: 18.88 kB / 321 MB, free: 15.53 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004785/0.1881, allocations: 178.9 kB / 321.2 MB, free: 15.33 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.733e-05/0.1882, allocations: 71.34 kB / 321.2 MB, free: 15.24 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.348e-05/0.1882, allocations: 7.984 kB / 321.2 MB, free: 15.23 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.45e-05/0.1883, allocations: 20.48 kB / 321.3 MB, free: 15.21 MB / 282.7 MB Notification: Performance of SimCode: time 5.11e-07/0.1883, allocations: 0 / 321.3 MB, free: 15.21 MB / 282.7 MB Notification: Performance of Templates: time 0.04364/0.2319, allocations: 27.68 MB / 348.9 MB, free: 3.559 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.317638245061971]