Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.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.001623/0.001623, allocations: 122.5 kB / 18.46 MB, free: 4.449 MB / 14.72 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.001787/0.001787, allocations: 190.6 kB / 21.4 MB, free: 1.52 MB / 14.72 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.459/1.459, allocations: 225.6 MB / 249.8 MB, free: 3.723 MB / 190.1 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_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00206/0.00206, allocations: 51.92 kB / 366.8 MB, free: 364 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1344, allocations: 52.14 MB / 418.9 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002881/0.1373, allocations: 1.359 MB / 420.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01499/0.1522, allocations: 12.14 MB / 432.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.451e-05/0.1523, allocations: 0 / 432.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 2.954e-05/0.1523, allocations: 4 kB / 432.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003443/0.1558, allocations: 1.049 MB / 433.5 MB, free: 13.51 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001871/0.1576, allocations: 0.6295 MB / 434.1 MB, free: 12.88 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001948/0.1578, allocations: 63.77 kB / 434.2 MB, free: 12.81 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.189e-05/0.1579, allocations: 4 kB / 434.2 MB, free: 12.81 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.993e-05/0.1579, allocations: 35.84 kB / 434.2 MB, free: 12.77 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001067/0.158, allocations: 27.91 kB / 434.3 MB, free: 12.75 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.748e-05/0.1581, allocations: 4 kB / 434.3 MB, free: 12.74 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003418/0.1615, allocations: 1.631 MB / 435.9 MB, free: 11.11 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.568e-05/0.1615, allocations: 15.92 kB / 435.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.07e-05/0.1616, allocations: 15.94 kB / 435.9 MB, free: 11.08 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002322/0.1639, allocations: 1.083 MB / 437 MB, free: 9.992 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1639, allocations: 0 / 437 MB, free: 9.992 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1639, allocations: 0 / 437 MB, free: 9.992 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.982e-06/0.1639, allocations: 4 kB / 437 MB, free: 9.988 MB / 366.1 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.0009787/0.1649, allocations: 0.5573 MB / 437.6 MB, free: 9.383 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.1649, allocations: 11.97 kB / 437.6 MB, free: 9.371 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001337/0.165, allocations: 8.922 kB / 437.6 MB, free: 9.363 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001836/0.1652, allocations: 176.3 kB / 437.8 MB, free: 9.152 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.1652, allocations: 384 / 437.8 MB, free: 9.152 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.712e-05/0.1653, allocations: 4.375 kB / 437.8 MB, free: 9.148 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001903/0.1654, allocations: 71.52 kB / 437.8 MB, free: 9.066 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.1655, allocations: 3.984 kB / 437.8 MB, free: 9.062 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.1655, allocations: 0 / 437.8 MB, free: 9.062 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.1655, allocations: 0 / 437.8 MB, free: 9.062 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000116/0.1656, allocations: 27.92 kB / 437.9 MB, free: 9.035 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002177/0.1658, allocations: 174.5 kB / 438 MB, free: 8.812 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003193/0.1661, allocations: 77.12 kB / 438.1 MB, free: 8.719 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.898e-05/0.1662, allocations: 25.77 kB / 438.1 MB, free: 8.688 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00678/0.173, allocations: 3.301 MB / 441.4 MB, free: 4.941 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.207e-05/0.173, allocations: 38.48 kB / 441.5 MB, free: 4.895 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.844e-06/0.173, allocations: 0 / 441.5 MB, free: 4.895 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003367/0.1734, allocations: 81.56 kB / 441.6 MB, free: 4.809 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.989e-05/0.1734, allocations: 77.11 kB / 441.6 MB, free: 4.715 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.1735, allocations: 125.8 kB / 441.7 MB, free: 4.582 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.1736, allocations: 25.7 kB / 441.8 MB, free: 4.551 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.789e-05/0.1736, allocations: 84.14 kB / 441.9 MB, free: 4.465 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.011e-05/0.1736, allocations: 23.78 kB / 441.9 MB, free: 4.441 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.116e-05/0.1737, allocations: 17.72 kB / 441.9 MB, free: 4.418 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.1738, allocations: 318.8 kB / 442.2 MB, free: 4.098 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.395e-05/0.1739, allocations: 8 kB / 442.2 MB, free: 4.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.435e-05/0.174, allocations: 33.64 kB / 442.2 MB, free: 4.051 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001155/0.1741, allocations: 37.7 kB / 442.3 MB, free: 4.008 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1741, allocations: 7.938 kB / 442.3 MB, free: 4 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001735/0.1743, allocations: 69.55 kB / 442.4 MB, free: 3.926 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.1743, allocations: 6.656 kB / 442.4 MB, free: 3.922 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.1743, allocations: 0 / 442.4 MB, free: 3.922 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.1743, allocations: 0 / 442.4 MB, free: 3.922 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.027e-05/0.1744, allocations: 19.98 kB / 442.4 MB, free: 3.902 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.1744, allocations: 0 / 442.4 MB, free: 3.902 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.493e-05/0.1744, allocations: 7.953 kB / 442.4 MB, free: 3.895 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.1744, allocations: 4 kB / 442.4 MB, free: 3.891 MB / 366.1 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 8.868e-05/0.1745, allocations: 109.8 kB / 442.5 MB, free: 3.773 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.032e-05/0.1745, allocations: 3.938 kB / 442.5 MB, free: 3.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002655/0.1748, allocations: 114.2 kB / 442.6 MB, free: 3.656 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.1748, allocations: 0 / 442.6 MB, free: 3.656 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/0.1748, allocations: 4 kB / 442.6 MB, free: 3.652 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1748, allocations: 128 / 442.6 MB, free: 3.652 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001548/0.175, allocations: 173.6 kB / 442.8 MB, free: 3.434 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.175, allocations: 3.984 kB / 442.8 MB, free: 3.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.931e-05/0.175, allocations: 11.98 kB / 442.8 MB, free: 3.418 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.175, allocations: 7.984 kB / 442.8 MB, free: 3.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.175, allocations: 0 / 442.8 MB, free: 3.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.175, allocations: 4 kB / 442.8 MB, free: 3.406 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.175, allocations: 0 / 442.8 MB, free: 3.406 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000272/0.1753, allocations: 101.9 kB / 442.9 MB, free: 3.285 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.739e-05/0.1754, allocations: 96.92 kB / 443 MB, free: 3.172 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.1754, allocations: 0 / 443 MB, free: 3.172 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.352e-05/0.1755, allocations: 11.98 kB / 443 MB, free: 3.16 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.518e-05/0.1755, allocations: 8 kB / 443 MB, free: 3.152 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.694e-06/0.1755, allocations: 0 / 443 MB, free: 3.152 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.706e-05/0.1756, allocations: 95.25 kB / 443.1 MB, free: 3.059 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1756, allocations: 4 kB / 443.1 MB, free: 3.055 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008646/0.1765, allocations: 326.8 kB / 443.5 MB, free: 2.734 MB / 366.1 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.001165/0.1776, allocations: 0.5913 MB / 444 MB, free: 2.133 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001854/0.1778, allocations: 31.92 kB / 444.1 MB, free: 2.102 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1778, allocations: 3.938 kB / 444.1 MB, free: 2.098 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.501e-05/0.1779, allocations: 19.92 kB / 444.1 MB, free: 2.078 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001874/0.1781, allocations: 11.94 kB / 444.1 MB, free: 2.066 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004413/0.1785, allocations: 193.8 kB / 444.3 MB, free: 1.84 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003198/0.1788, allocations: 0.6845 MB / 445 MB, free: 1.129 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.276e-05/0.1789, allocations: 27.36 kB / 445 MB, free: 1.102 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1789, allocations: 0 / 445 MB, free: 1.102 MB / 366.1 MB Notification: Performance of Templates: time 0.1944/0.3733, allocations: 5.941 MB / 451 MB, free: 30.13 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.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.43504991591908]