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.000918/0.000918, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009354/0.0009354, allocations: 161 kB / 24.56 MB, free: 16 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 0.9474/0.9474, allocations: 177.1 MB / 205 MB, free: 5.582 MB / 186.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.532e-06/1.532e-06, allocations: 0 / 273 MB, free: 1.516 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.53e-05/1.683e-05, allocations: 2.312 kB / 273 MB, free: 1.512 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002151/0.002168, allocations: 1.411 MB / 274.4 MB, free: 96 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.135/0.1372, allocations: 23.34 MB / 297.7 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.475e-05/0.1372, allocations: 0 / 297.7 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001366/0.1373, allocations: 6.562 kB / 297.7 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0116/0.1489, allocations: 6.024 MB / 303.7 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000586/0.1495, allocations: 377.2 kB / 304.1 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00012/0.1496, allocations: 73.38 kB / 304.2 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.558e-05/0.1497, allocations: 6.453 kB / 304.2 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.048e-05/0.1497, allocations: 41.97 kB / 304.2 MB, free: 13.26 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.922e-05/0.1498, allocations: 39.31 kB / 304.3 MB, free: 13.24 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.1498, allocations: 2.562 kB / 304.3 MB, free: 13.24 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01114/0.161, allocations: 8.422 MB / 312.7 MB, free: 9.215 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.824e-05/0.161, allocations: 13.11 kB / 312.7 MB, free: 9.207 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.536e-05/0.1611, allocations: 26.12 kB / 312.7 MB, free: 9.195 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008459/0.1695, allocations: 5.505 MB / 318.2 MB, free: 3.973 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.1695, allocations: 0 / 318.2 MB, free: 3.973 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1695, allocations: 3.938 kB / 318.2 MB, free: 3.969 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.1695, allocations: 0 / 318.2 MB, free: 3.969 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.001484/0.171, allocations: 0.9637 MB / 319.2 MB, free: 2.965 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.1711, allocations: 8.031 kB / 319.2 MB, free: 2.957 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.444e-05/0.1711, allocations: 11.58 kB / 319.2 MB, free: 2.949 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.422e-05/0.1712, allocations: 132.5 kB / 319.4 MB, free: 2.793 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.969e-05/0.1712, allocations: 8.688 kB / 319.4 MB, free: 2.785 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.385e-05/0.1712, allocations: 4 kB / 319.4 MB, free: 2.781 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/0.1714, allocations: 137.1 kB / 319.5 MB, free: 2.617 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.1714, allocations: 0 / 319.5 MB, free: 2.617 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.1714, allocations: 0 / 319.5 MB, free: 2.617 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.1714, allocations: 0 / 319.5 MB, free: 2.617 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.943e-05/0.1714, allocations: 15.92 kB / 319.5 MB, free: 2.602 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001199/0.1716, allocations: 136.4 kB / 319.7 MB, free: 2.43 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001867/0.1718, allocations: 90.22 kB / 319.7 MB, free: 2.316 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.764e-05/0.1718, allocations: 26.23 kB / 319.8 MB, free: 2.285 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.993e-05/0.1718, allocations: 15.92 kB / 319.8 MB, free: 2.27 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.767e-05/0.1718, allocations: 41.33 kB / 319.8 MB, free: 2.219 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 8.32e-07/0.1718, allocations: 0 / 319.8 MB, free: 2.219 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001696/0.172, allocations: 69.58 kB / 319.9 MB, free: 2.145 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.844e-05/0.172, allocations: 85.09 kB / 320 MB, free: 2.043 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.228e-05/0.1721, allocations: 182.7 kB / 320.2 MB, free: 1.848 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.134e-06/0.1721, allocations: 25.7 kB / 320.2 MB, free: 1.816 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.261e-05/0.1721, allocations: 142.8 kB / 320.3 MB, free: 1.672 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.755e-05/0.1722, allocations: 15.83 kB / 320.3 MB, free: 1.656 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-05/0.1722, allocations: 27.38 kB / 320.4 MB, free: 1.621 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.077e-05/0.1722, allocations: 0.4884 MB / 320.8 MB, free: 1.121 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.065e-05/0.1722, allocations: 4 kB / 320.9 MB, free: 1.117 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.279e-05/0.1723, allocations: 23.38 kB / 320.9 MB, free: 1.086 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.782e-05/0.1723, allocations: 43.3 kB / 320.9 MB, free: 1.035 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1723, allocations: 0 / 320.9 MB, free: 1.035 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 7.868e-05/0.1724, allocations: 65.58 kB / 321 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.1724, allocations: 7.938 kB / 321 MB, free: 0.957 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.1724, allocations: 6.297 kB / 321 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.1724, allocations: 4 kB / 321 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.719e-05/0.1725, allocations: 8.875 kB / 321 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.1725, allocations: 0 / 321 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.223e-05/0.1725, allocations: 8 kB / 321 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/0.1725, allocations: 0 / 321 MB, free: 0.9336 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 3.997e-05/0.1726, allocations: 156.6 kB / 321.2 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.515e-05/0.1726, allocations: 15.88 kB / 321.2 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001207/0.1727, allocations: 84.34 kB / 321.3 MB, free: 0.668 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1727, allocations: 0 / 321.3 MB, free: 0.668 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.1727, allocations: 0 / 321.3 MB, free: 0.668 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1727, allocations: 1.688 kB / 321.3 MB, free: 0.668 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.54e-05/0.1728, allocations: 136.5 kB / 321.4 MB, free: 0.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1728, allocations: 0 / 321.4 MB, free: 0.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.666e-05/0.1728, allocations: 15.98 kB / 321.4 MB, free: 496 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.1728, allocations: 0 / 321.4 MB, free: 496 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.1728, allocations: 10.89 kB / 321.4 MB, free: 488 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.1728, allocations: 0 / 321.4 MB, free: 488 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1728, allocations: 7.938 kB / 321.4 MB, free: 480 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.674e-05/0.1729, allocations: 100.1 kB / 321.5 MB, free: 352 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.014e-05/0.1729, allocations: 11.94 kB / 321.5 MB, free: 340 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.278e-05/0.1729, allocations: 10.88 kB / 321.6 MB, free: 332 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.151e-05/0.1729, allocations: 7.984 kB / 321.6 MB, free: 324 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.819e-05/0.173, allocations: 4 kB / 321.6 MB, free: 320 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-06/0.173, allocations: 0 / 321.6 MB, free: 320 kB / 266.7 MB Notification: Performance of sorting global known variables: time 2.953e-05/0.173, allocations: 148.2 kB / 321.7 MB, free: 172 kB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.173, allocations: 3.938 kB / 321.7 MB, free: 168 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.001583/0.1746, allocations: 0.9547 MB / 322.7 MB, free: 15.21 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.002736/0.1773, allocations: 1.469 MB / 324.1 MB, free: 13.73 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001237/0.1775, allocations: 36.47 kB / 324.2 MB, free: 13.69 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.1775, allocations: 0 / 324.2 MB, free: 13.69 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.913e-05/0.1775, allocations: 23.91 kB / 324.2 MB, free: 13.66 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001825/0.1777, allocations: 26.8 kB / 324.2 MB, free: 13.64 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005835/0.1783, allocations: 186.8 kB / 324.4 MB, free: 13.43 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.395e-05/0.1783, allocations: 59.34 kB / 324.5 MB, free: 13.35 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.203e-05/0.1783, allocations: 20.06 kB / 324.5 MB, free: 13.33 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.478e-05/0.1784, allocations: 28.42 kB / 324.5 MB, free: 13.3 MB / 282.7 MB Notification: Performance of SimCode: time 8.61e-07/0.1784, allocations: 0 / 324.5 MB, free: 13.3 MB / 282.7 MB Notification: Performance of Templates: time 0.0259/0.2043, allocations: 28.22 MB / 352.7 MB, free: 1.07 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 -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: 5.3594556651078165]