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.002156/0.002156, allocations: 92.62 kB / 20.96 MB, free: 3.473 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.002399/0.002399, allocations: 149.3 kB / 24.26 MB, free: 184 kB / 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 1.456/1.456, allocations: 173.4 MB / 200.8 MB, free: 9.301 MB / 186.7 MB " [Timeout remaining time 178] 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 2.305e-06/2.305e-06, allocations: 0 / 267.3 MB, free: 6.734 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.732e-05/2.963e-05, allocations: 6.25 kB / 267.3 MB, free: 6.727 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.00252/0.002549, allocations: 1.353 MB / 268.7 MB, free: 5.359 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.03293/0.03548, allocations: 21.08 MB / 289.7 MB, free: 200 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.446e-05/0.03552, allocations: 0 / 289.7 MB, free: 200 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001236/0.03564, allocations: 7.922 kB / 289.8 MB, free: 192 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1201/0.1558, allocations: 5.988 MB / 295.7 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007772/0.1566, allocations: 370.7 kB / 296.1 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001221/0.1567, allocations: 81.88 kB / 296.2 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.531e-05/0.1567, allocations: 2.219 kB / 296.2 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.345e-05/0.1568, allocations: 42.33 kB / 296.2 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.506e-05/0.1569, allocations: 35.09 kB / 296.3 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.802e-05/0.1569, allocations: 2.625 kB / 296.3 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0146/0.1715, allocations: 8.388 MB / 304.7 MB, free: 12.34 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.536e-05/0.1715, allocations: 18.19 kB / 304.7 MB, free: 12.33 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.886e-05/0.1716, allocations: 20.27 kB / 304.7 MB, free: 12.32 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009283/0.1809, allocations: 5.475 MB / 310.2 MB, free: 9.094 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.1809, allocations: 6.844 kB / 310.2 MB, free: 9.09 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1809, allocations: 0 / 310.2 MB, free: 9.09 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.1809, allocations: 0 / 310.2 MB, free: 9.09 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.001685/0.1826, allocations: 0.8563 MB / 311 MB, free: 8.438 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.1826, allocations: 9.266 kB / 311 MB, free: 8.438 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.54e-05/0.1827, allocations: 14.86 kB / 311 MB, free: 8.43 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.1828, allocations: 138.9 kB / 311.2 MB, free: 8.289 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.1828, allocations: 4.156 kB / 311.2 MB, free: 8.289 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.306e-05/0.1828, allocations: 2.062 kB / 311.2 MB, free: 8.289 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/0.183, allocations: 125.3 kB / 311.3 MB, free: 8.16 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.183, allocations: 7 kB / 311.3 MB, free: 8.156 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.183, allocations: 7.438 kB / 311.3 MB, free: 8.152 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.183, allocations: 0 / 311.3 MB, free: 8.152 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001181/0.1831, allocations: 34.22 kB / 311.4 MB, free: 8.141 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001289/0.1832, allocations: 132.6 kB / 311.5 MB, free: 7.996 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002917/0.1835, allocations: 93.39 kB / 311.6 MB, free: 7.934 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.573e-05/0.1836, allocations: 34.53 kB / 311.6 MB, free: 7.91 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.747e-05/0.1836, allocations: 13.75 kB / 311.6 MB, free: 7.91 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.373e-05/0.1837, allocations: 40.31 kB / 311.7 MB, free: 7.863 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 9.12e-07/0.1837, allocations: 0 / 311.7 MB, free: 7.863 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002973/0.184, allocations: 102.4 kB / 311.8 MB, free: 7.809 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.983e-05/0.184, allocations: 83.78 kB / 311.9 MB, free: 7.711 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.547e-05/0.1841, allocations: 141.5 kB / 312 MB, free: 7.59 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.646e-06/0.1841, allocations: 28.7 kB / 312 MB, free: 7.559 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.911e-05/0.1841, allocations: 87.08 kB / 312.1 MB, free: 7.473 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.5e-05/0.1841, allocations: 18.17 kB / 312.1 MB, free: 7.457 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-05/0.1842, allocations: 22.02 kB / 312.1 MB, free: 7.434 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.346e-05/0.1842, allocations: 317.8 kB / 312.5 MB, free: 7.117 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.696e-05/0.1842, allocations: 22.77 kB / 312.5 MB, free: 7.109 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.68e-05/0.1843, allocations: 31.95 kB / 312.5 MB, free: 7.086 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001104/0.1844, allocations: 50.52 kB / 312.6 MB, free: 7.059 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1844, allocations: 2.375 kB / 312.6 MB, free: 7.059 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001627/0.1846, allocations: 84.2 kB / 312.6 MB, free: 7.008 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.1846, allocations: 10.47 kB / 312.6 MB, free: 7 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.1846, allocations: 0 / 312.6 MB, free: 7 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.1846, allocations: 0 / 312.6 MB, free: 7 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.297e-05/0.1847, allocations: 16 kB / 312.7 MB, free: 6.984 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.1847, allocations: 5.797 kB / 312.7 MB, free: 6.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.095e-05/0.1847, allocations: 0 / 312.7 MB, free: 6.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.635e-06/0.1847, allocations: 7.984 kB / 312.7 MB, free: 6.973 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.431e-05/0.1848, allocations: 105.8 kB / 312.8 MB, free: 6.859 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.769e-05/0.1848, allocations: 19.14 kB / 312.8 MB, free: 6.844 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002127/0.185, allocations: 101.6 kB / 312.9 MB, free: 6.742 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.185, allocations: 3.797 kB / 312.9 MB, free: 6.742 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.185, allocations: 4 kB / 312.9 MB, free: 6.738 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.185, allocations: 4 kB / 312.9 MB, free: 6.734 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.592e-05/0.1851, allocations: 120.1 kB / 313 MB, free: 6.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1851, allocations: 4 kB / 313 MB, free: 6.586 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.676e-05/0.1852, allocations: 8 kB / 313 MB, free: 6.578 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.1852, allocations: 0 / 313 MB, free: 6.578 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.1852, allocations: 7.984 kB / 313 MB, free: 6.57 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.1852, allocations: 3.938 kB / 313.1 MB, free: 6.566 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1852, allocations: 0 / 313.1 MB, free: 6.566 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001719/0.1853, allocations: 121.4 kB / 313.2 MB, free: 6.434 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.599e-05/0.1854, allocations: 11.94 kB / 313.2 MB, free: 6.422 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.678e-05/0.1854, allocations: 8 kB / 313.2 MB, free: 6.414 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.634e-05/0.1855, allocations: 7.938 kB / 313.2 MB, free: 6.406 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.349e-05/0.1855, allocations: 3.984 kB / 313.2 MB, free: 6.402 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-06/0.1855, allocations: 4 kB / 313.2 MB, free: 6.398 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.58e-05/0.1856, allocations: 107.3 kB / 313.3 MB, free: 6.293 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1856, allocations: 0 / 313.3 MB, free: 6.293 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001861/0.1874, allocations: 0.9508 MB / 314.3 MB, free: 5.34 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.00359/0.191, allocations: 1.483 MB / 315.7 MB, free: 3.973 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001938/0.1912, allocations: 43.97 kB / 315.8 MB, free: 3.93 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1912, allocations: 3.094 kB / 315.8 MB, free: 3.93 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.287e-05/0.1913, allocations: 23.98 kB / 315.8 MB, free: 3.906 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002304/0.1915, allocations: 15.98 kB / 315.8 MB, free: 3.891 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000353/0.1919, allocations: 182.9 kB / 316 MB, free: 3.688 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.32e-05/0.1919, allocations: 63.34 kB / 316.1 MB, free: 3.605 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.83e-05/0.1919, allocations: 11.98 kB / 316.1 MB, free: 3.594 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.312e-05/0.192, allocations: 20.48 kB / 316.1 MB, free: 3.574 MB / 266.7 MB Notification: Performance of SimCode: time 4.01e-07/0.192, allocations: 0 / 316.1 MB, free: 3.574 MB / 266.7 MB Notification: Performance of Templates: time 0.0425/0.2345, allocations: 27.52 MB / 343.6 MB, free: 8.098 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.39423363597598]