Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001278/0.001278, allocations: 84.73 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001342/0.001342, allocations: 166.2 kB / 24.91 MB, free: 8.77 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9072/0.9072, allocations: 177 MB / 205.2 MB, free: 5.051 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 273.4 MB, free: 1.035 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.989e-05/2.124e-05, allocations: 13.27 kB / 273.4 MB, free: 1.023 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002123/0.002144, allocations: 1.446 MB / 274.9 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1354/0.1376, allocations: 23.27 MB / 298.1 MB, free: 14.63 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.411e-05/0.1376, allocations: 0 / 298.1 MB, free: 14.63 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001177/0.1377, allocations: 6.688 kB / 298.2 MB, free: 14.63 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01254/0.1503, allocations: 5.518 MB / 303.7 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007412/0.151, allocations: 369.4 kB / 304 MB, free: 13.4 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001282/0.1511, allocations: 82.38 kB / 304.1 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.94e-05/0.1512, allocations: 5.969 kB / 304.1 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.898e-05/0.1513, allocations: 50.08 kB / 304.2 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.898e-05/0.1513, allocations: 25.69 kB / 304.2 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.861e-05/0.1514, allocations: 2.562 kB / 304.2 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01293/0.1643, allocations: 8.905 MB / 313.1 MB, free: 9.039 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.301e-05/0.1643, allocations: 22.56 kB / 313.1 MB, free: 9.02 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.411e-05/0.1644, allocations: 20.08 kB / 313.1 MB, free: 9.008 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007813/0.1722, allocations: 5.502 MB / 318.6 MB, free: 3.496 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.1722, allocations: 4 kB / 318.6 MB, free: 3.492 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1722, allocations: 0 / 318.6 MB, free: 3.492 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.1722, allocations: 0 / 318.6 MB, free: 3.492 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.001466/0.1737, allocations: 0.8428 MB / 319.5 MB, free: 2.621 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.1737, allocations: 15.98 kB / 319.5 MB, free: 2.605 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.944e-05/0.1737, allocations: 4.938 kB / 319.5 MB, free: 2.602 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.71e-05/0.1738, allocations: 124.5 kB / 319.6 MB, free: 2.453 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.1738, allocations: 8.688 kB / 319.6 MB, free: 2.445 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.444e-06/0.1738, allocations: 4 kB / 319.6 MB, free: 2.441 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/0.1739, allocations: 138.3 kB / 319.8 MB, free: 2.277 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.841e-06/0.1739, allocations: 0 / 319.8 MB, free: 2.277 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.352e-06/0.1739, allocations: 0 / 319.8 MB, free: 2.277 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.1739, allocations: 0 / 319.8 MB, free: 2.277 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.9e-05/0.174, allocations: 21.58 kB / 319.8 MB, free: 2.254 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.881e-05/0.1741, allocations: 75.5 kB / 319.9 MB, free: 2.16 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001313/0.1742, allocations: 76.52 kB / 319.9 MB, free: 2.062 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.719e-05/0.1742, allocations: 17.72 kB / 320 MB, free: 2.039 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.456e-05/0.1742, allocations: 11.98 kB / 320 MB, free: 2.027 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.782e-05/0.1743, allocations: 42.5 kB / 320 MB, free: 1.977 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 9.21e-07/0.1743, allocations: 4 kB / 320 MB, free: 1.973 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001122/0.1744, allocations: 61.12 kB / 320.1 MB, free: 1.91 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.6e-05/0.1744, allocations: 81.05 kB / 320.2 MB, free: 1.812 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.873e-05/0.1744, allocations: 124.3 kB / 320.3 MB, free: 1.676 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.444e-06/0.1744, allocations: 33.7 kB / 320.3 MB, free: 1.637 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.077e-06/0.1745, allocations: 84.12 kB / 320.4 MB, free: 1.551 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.358e-05/0.1745, allocations: 23.78 kB / 320.4 MB, free: 1.527 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.367e-05/0.1745, allocations: 17.72 kB / 320.4 MB, free: 1.504 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.321e-05/0.1745, allocations: 326.8 kB / 320.8 MB, free: 1.176 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.368e-05/0.1745, allocations: 2.828 kB / 320.8 MB, free: 1.172 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.627e-05/0.1746, allocations: 17.72 kB / 320.8 MB, free: 1.148 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.454e-05/0.1746, allocations: 39.28 kB / 320.8 MB, free: 1.102 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.1746, allocations: 1.188 kB / 320.8 MB, free: 1.102 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 5.189e-05/0.1746, allocations: 51.34 kB / 320.9 MB, free: 1.043 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.668e-06/0.1747, allocations: 4 kB / 320.9 MB, free: 1.039 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.81e-06/0.1747, allocations: 0 / 320.9 MB, free: 1.039 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.1747, allocations: 3.938 kB / 320.9 MB, free: 1.035 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.559e-05/0.1747, allocations: 23.92 kB / 320.9 MB, free: 1.012 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.224e-06/0.1747, allocations: 0 / 320.9 MB, free: 1.012 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.886e-05/0.1747, allocations: 4 kB / 320.9 MB, free: 1.008 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-06/0.1747, allocations: 4 kB / 320.9 MB, free: 1.004 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.524e-05/0.1748, allocations: 108.7 kB / 321 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.756e-06/0.1748, allocations: 7.984 kB / 321 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.646e-05/0.1749, allocations: 81.48 kB / 321.1 MB, free: 0.793 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.1749, allocations: 3.938 kB / 321.1 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.1749, allocations: 2.625 kB / 321.1 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.1749, allocations: 4 kB / 321.1 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.841e-05/0.1749, allocations: 74.52 kB / 321.2 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1749, allocations: 0 / 321.2 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.542e-05/0.175, allocations: 15.92 kB / 321.2 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.175, allocations: 4 kB / 321.2 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.729e-06/0.175, allocations: 4 kB / 321.2 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.175, allocations: 0 / 321.2 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.175, allocations: 0 / 321.2 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.553e-05/0.175, allocations: 101.4 kB / 321.3 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.495e-05/0.175, allocations: 8 kB / 321.3 MB, free: 0.543 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.636e-06/0.1751, allocations: 4 kB / 321.3 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.971e-05/0.1751, allocations: 7.984 kB / 321.3 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.751e-05/0.1751, allocations: 7.922 kB / 321.3 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.1751, allocations: 8 kB / 321.3 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.295e-05/0.1751, allocations: 19.69 kB / 321.4 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1751, allocations: 0 / 321.4 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001555/0.1767, allocations: 0.9586 MB / 322.3 MB, free: 15.53 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.002858/0.1796, allocations: 1.516 MB / 323.8 MB, free: 14.01 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.117e-05/0.1796, allocations: 34.52 kB / 323.9 MB, free: 13.98 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.1796, allocations: 0 / 323.9 MB, free: 13.98 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.167e-05/0.1797, allocations: 24.8 kB / 323.9 MB, free: 13.95 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001332/0.1798, allocations: 27.23 kB / 323.9 MB, free: 13.93 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004826/0.1803, allocations: 190.9 kB / 324.1 MB, free: 13.71 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.756e-05/0.1803, allocations: 60.84 kB / 324.2 MB, free: 13.63 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.793e-05/0.1803, allocations: 15.97 kB / 324.2 MB, free: 13.61 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.147e-05/0.1804, allocations: 71.36 kB / 324.2 MB, free: 13.54 MB / 282.7 MB Notification: Performance of SimCode: time 7.71e-07/0.1804, allocations: 0 / 324.2 MB, free: 13.54 MB / 282.7 MB Notification: Performance of Templates: time 0.03363/0.214, allocations: 31.86 MB / 356.1 MB, free: 13.68 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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: 4.302590350154787]