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.001347/0.001347, allocations: 71.75 kB / 21.24 MB, free: 404 kB / 14.72 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.001403/0.001403, allocations: 169.6 kB / 24.5 MB, free: 3.453 MB / 14.72 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.415/1.415, allocations: 177.2 MB / 204.9 MB, free: 8.914 MB / 190.1 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 0.001536/0.001536, allocations: 47.81 kB / 325.6 MB, free: 260 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09598/0.09752, allocations: 53.34 MB / 378.9 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.0026/0.1001, allocations: 1.355 MB / 380.3 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02957/0.1297, allocations: 21.17 MB / 401.4 MB, free: 9.059 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.056e-05/0.1297, allocations: 0 / 401.4 MB, free: 9.059 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001066/0.1298, allocations: 3.938 kB / 401.4 MB, free: 9.055 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01467/0.1445, allocations: 5.959 MB / 407.4 MB, free: 3.094 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000811/0.1453, allocations: 362.7 kB / 407.7 MB, free: 2.738 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000122/0.1454, allocations: 79.69 kB / 407.8 MB, free: 2.66 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.399e-05/0.1455, allocations: 0 / 407.8 MB, free: 2.66 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.412e-05/0.1455, allocations: 31.92 kB / 407.8 MB, free: 2.629 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.686e-05/0.1456, allocations: 47.75 kB / 407.9 MB, free: 2.582 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.557e-05/0.1456, allocations: 7.938 kB / 407.9 MB, free: 2.574 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01532/0.161, allocations: 8.379 MB / 416.3 MB, free: 10.18 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.712e-05/0.161, allocations: 19.91 kB / 416.3 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.181e-05/0.1611, allocations: 23.81 kB / 416.3 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009825/0.1709, allocations: 4.334 MB / 420.7 MB, free: 5.797 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.1709, allocations: 0 / 420.7 MB, free: 5.797 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1709, allocations: 4 kB / 420.7 MB, free: 5.793 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.126e-06/0.1709, allocations: 0 / 420.7 MB, free: 5.793 MB / 382.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.002131/0.1731, allocations: 0.8679 MB / 421.5 MB, free: 4.891 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.1731, allocations: 8.031 kB / 421.5 MB, free: 4.883 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.358e-05/0.1732, allocations: 12.89 kB / 421.5 MB, free: 4.871 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001585/0.1733, allocations: 146 kB / 421.7 MB, free: 4.703 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.1733, allocations: 4 kB / 421.7 MB, free: 4.699 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.304e-05/0.1733, allocations: 0 / 421.7 MB, free: 4.699 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002138/0.1736, allocations: 126.7 kB / 421.8 MB, free: 4.551 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.1736, allocations: 0 / 421.8 MB, free: 4.551 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.1736, allocations: 4 kB / 421.8 MB, free: 4.547 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.1736, allocations: 0 / 421.8 MB, free: 4.547 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001246/0.1737, allocations: 35.97 kB / 421.9 MB, free: 4.512 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000184/0.1739, allocations: 138.1 kB / 422 MB, free: 4.344 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003153/0.1742, allocations: 93.16 kB / 422.1 MB, free: 4.234 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.615e-05/0.1743, allocations: 29.77 kB / 422.1 MB, free: 4.199 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.062e-05/0.1743, allocations: 8 kB / 422.1 MB, free: 4.191 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/0.1744, allocations: 42.55 kB / 422.2 MB, free: 4.141 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.1744, allocations: 4 kB / 422.2 MB, free: 4.137 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003126/0.1747, allocations: 101.9 kB / 422.3 MB, free: 4.031 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.384e-05/0.1747, allocations: 81.05 kB / 422.3 MB, free: 3.934 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.1749, allocations: 137.8 kB / 422.5 MB, free: 3.789 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.1749, allocations: 33.7 kB / 422.5 MB, free: 3.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.749e-05/0.1749, allocations: 80.14 kB / 422.6 MB, free: 3.668 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.506e-05/0.175, allocations: 23.84 kB / 422.6 MB, free: 3.645 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.945e-05/0.175, allocations: 17.72 kB / 422.6 MB, free: 3.621 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.1752, allocations: 318.8 kB / 422.9 MB, free: 3.301 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.711e-05/0.1752, allocations: 19.98 kB / 423 MB, free: 3.281 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.068e-05/0.1753, allocations: 33.7 kB / 423 MB, free: 3.242 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/0.1754, allocations: 53.67 kB / 423 MB, free: 3.184 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.1754, allocations: 0 / 423 MB, free: 3.184 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001929/0.1756, allocations: 85.55 kB / 423.1 MB, free: 3.094 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.1756, allocations: 4 kB / 423.1 MB, free: 3.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.1757, allocations: 0 / 423.1 MB, free: 3.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.1757, allocations: 0 / 423.1 MB, free: 3.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.878e-05/0.1757, allocations: 15.98 kB / 423.2 MB, free: 3.074 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.1757, allocations: 4 kB / 423.2 MB, free: 3.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.631e-05/0.1758, allocations: 11.83 kB / 423.2 MB, free: 3.059 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.837e-06/0.1758, allocations: 4 kB / 423.2 MB, free: 3.055 MB / 382.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 9.231e-05/0.1759, allocations: 117.8 kB / 423.3 MB, free: 2.93 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.069e-05/0.1759, allocations: 0 / 423.3 MB, free: 2.93 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002433/0.1762, allocations: 105.6 kB / 423.4 MB, free: 2.824 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.1762, allocations: 0 / 423.4 MB, free: 2.824 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.1762, allocations: 0 / 423.4 MB, free: 2.824 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.1762, allocations: 4 kB / 423.4 MB, free: 2.82 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001225/0.1763, allocations: 121.2 kB / 423.5 MB, free: 2.672 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1763, allocations: 4 kB / 423.5 MB, free: 2.668 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.485e-05/0.1764, allocations: 24.11 kB / 423.5 MB, free: 2.645 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.1764, allocations: 0 / 423.5 MB, free: 2.645 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.1764, allocations: 0 / 423.5 MB, free: 2.645 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.1764, allocations: 4 kB / 423.5 MB, free: 2.641 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1764, allocations: 0 / 423.5 MB, free: 2.641 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000215/0.1766, allocations: 113.8 kB / 423.7 MB, free: 2.508 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.187e-05/0.1766, allocations: 11.94 kB / 423.7 MB, free: 2.496 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/0.1766, allocations: 0 / 423.7 MB, free: 2.496 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.809e-05/0.1767, allocations: 8 kB / 423.7 MB, free: 2.488 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.905e-05/0.1768, allocations: 12.17 kB / 423.7 MB, free: 2.477 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.683e-06/0.1768, allocations: 0 / 423.7 MB, free: 2.477 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.35e-05/0.1769, allocations: 119.6 kB / 423.8 MB, free: 2.359 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1769, allocations: 0 / 423.8 MB, free: 2.359 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00231/0.1792, allocations: 0.9586 MB / 424.8 MB, free: 1.398 MB / 382.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.003687/0.1829, allocations: 1.328 MB / 426.1 MB, free: 56 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002081/0.1831, allocations: 47.91 kB / 426.1 MB, free: 8 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1831, allocations: 4 kB / 426.1 MB, free: 4 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.878e-05/0.1832, allocations: 27.92 kB / 426.2 MB, free: 15.98 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002451/0.1834, allocations: 27.5 kB / 426.2 MB, free: 15.95 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004372/0.1838, allocations: 184.8 kB / 426.4 MB, free: 15.74 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.325e-05/0.1839, allocations: 64 kB / 426.4 MB, free: 15.66 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.447e-05/0.184, allocations: 19.97 kB / 426.5 MB, free: 15.64 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.846e-05/0.184, allocations: 20.5 kB / 426.5 MB, free: 15.62 MB / 398.1 MB Notification: Performance of SimCode: time 3.4e-07/0.184, allocations: 0 / 426.5 MB, free: 15.62 MB / 398.1 MB Notification: Performance of Templates: time 0.03958/0.2236, allocations: 27.34 MB / 453.8 MB, free: 4.258 MB / 414.1 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 -s ida -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/jenkins1/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/jenkins1/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.396941124927253]