Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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=5000,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 111.7 kB / 17.28 MB, free: 6.199 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 185.3 kB / 18.2 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.306/1.306, allocations: 205.1 MB / 224.1 MB, free: 12.44 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00128/0.001281, allocations: 44.14 kB / 280.1 MB, free: 3.504 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09374/0.09503, allocations: 46.63 MB / 326.8 MB, free: 4.805 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002575/0.09767, allocations: 1.42 MB / 328.2 MB, free: 3.367 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.03018/0.1279, allocations: 23.81 MB / 352 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.805e-05/0.128, allocations: 4 kB / 352 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001557/0.1282, allocations: 7.922 kB / 352 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01557/0.1438, allocations: 5.039 MB / 357.1 MB, free: 6.41 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009322/0.1448, allocations: 330.9 kB / 357.4 MB, free: 6.086 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001344/0.1449, allocations: 75.69 kB / 357.5 MB, free: 6.012 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.087e-05/0.145, allocations: 4 kB / 357.5 MB, free: 6.008 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.043e-05/0.145, allocations: 27.92 kB / 357.5 MB, free: 5.98 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.1452, allocations: 43.83 kB / 357.5 MB, free: 5.938 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.1452, allocations: 4 kB / 357.5 MB, free: 5.934 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01494/0.1601, allocations: 8.691 MB / 366.2 MB, free: 13.23 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.603e-05/0.1602, allocations: 15.81 kB / 366.2 MB, free: 13.21 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.645e-05/0.1603, allocations: 31.84 kB / 366.3 MB, free: 13.18 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01118/0.1715, allocations: 4.425 MB / 370.7 MB, free: 8.75 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/0.1715, allocations: 4 kB / 370.7 MB, free: 8.746 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.205e-06/0.1715, allocations: 0 / 370.7 MB, free: 8.746 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.022e-06/0.1716, allocations: 0 / 370.7 MB, free: 8.746 MB / 318.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.002744/0.1743, allocations: 0.9045 MB / 371.6 MB, free: 7.793 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.955e-05/0.1744, allocations: 12.03 kB / 371.6 MB, free: 7.781 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.024e-05/0.1744, allocations: 0.9375 kB / 371.6 MB, free: 7.781 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001549/0.1746, allocations: 191.8 kB / 371.8 MB, free: 7.555 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.662e-05/0.1746, allocations: 15.92 kB / 371.8 MB, free: 7.539 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.273e-05/0.1747, allocations: 3.984 kB / 371.8 MB, free: 7.535 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.1748, allocations: 75.39 kB / 371.9 MB, free: 7.449 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.1748, allocations: 0 / 371.9 MB, free: 7.449 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.1749, allocations: 0 / 371.9 MB, free: 7.449 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.81e-06/0.1749, allocations: 0 / 371.9 MB, free: 7.449 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001247/0.175, allocations: 39.91 kB / 371.9 MB, free: 7.41 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002097/0.1752, allocations: 198.4 kB / 372.1 MB, free: 7.164 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003263/0.1756, allocations: 97.17 kB / 372.2 MB, free: 7.051 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.853e-05/0.1756, allocations: 33.77 kB / 372.3 MB, free: 7.012 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.957e-05/0.1757, allocations: 8 kB / 372.3 MB, free: 7.004 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.21e-05/0.1758, allocations: 42.48 kB / 372.3 MB, free: 6.953 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.002e-06/0.1758, allocations: 0 / 372.3 MB, free: 6.953 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003614/0.1761, allocations: 101.5 kB / 372.4 MB, free: 6.848 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.774e-05/0.1762, allocations: 81.11 kB / 372.5 MB, free: 6.75 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.1763, allocations: 133.8 kB / 372.6 MB, free: 6.609 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.1764, allocations: 29.7 kB / 372.6 MB, free: 6.574 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.31e-05/0.1764, allocations: 84.14 kB / 372.7 MB, free: 6.488 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.678e-05/0.1765, allocations: 19.8 kB / 372.7 MB, free: 6.469 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.05e-05/0.1765, allocations: 25.62 kB / 372.8 MB, free: 6.438 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.1767, allocations: 314.8 kB / 373.1 MB, free: 6.121 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.018e-05/0.1767, allocations: 19.98 kB / 373.1 MB, free: 6.102 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.474e-05/0.1768, allocations: 29.7 kB / 373.1 MB, free: 6.066 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001207/0.1769, allocations: 53.62 kB / 373.2 MB, free: 6.008 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1769, allocations: 4 kB / 373.2 MB, free: 6.004 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001704/0.1771, allocations: 78.14 kB / 373.3 MB, free: 5.922 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.1771, allocations: 8 kB / 373.3 MB, free: 5.914 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.1771, allocations: 0 / 373.3 MB, free: 5.914 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.346e-05/0.1772, allocations: 3.984 kB / 373.3 MB, free: 5.91 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.476e-05/0.1772, allocations: 19.86 kB / 373.3 MB, free: 5.891 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.1773, allocations: 0 / 373.3 MB, free: 5.891 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.096e-05/0.1773, allocations: 7.938 kB / 373.3 MB, free: 5.883 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.545e-06/0.1773, allocations: 0 / 373.3 MB, free: 5.883 MB / 318.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.371e-05/0.1774, allocations: 121.8 kB / 373.4 MB, free: 5.754 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.897e-05/0.1775, allocations: 7.906 kB / 373.4 MB, free: 5.746 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002425/0.1777, allocations: 101.5 kB / 373.5 MB, free: 5.641 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.1777, allocations: 4 kB / 373.5 MB, free: 5.637 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1777, allocations: 0 / 373.5 MB, free: 5.637 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.1777, allocations: 384 / 373.5 MB, free: 5.637 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001382/0.1779, allocations: 177.6 kB / 373.7 MB, free: 5.414 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1779, allocations: 0 / 373.7 MB, free: 5.414 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.738e-05/0.178, allocations: 12 kB / 373.7 MB, free: 5.402 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.178, allocations: 11.94 kB / 373.7 MB, free: 5.391 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.178, allocations: 128 / 373.7 MB, free: 5.391 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.178, allocations: 4 kB / 373.7 MB, free: 5.387 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.178, allocations: 3.938 kB / 373.7 MB, free: 5.383 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001939/0.1782, allocations: 117.8 kB / 373.8 MB, free: 5.246 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.044e-05/0.1783, allocations: 85 kB / 373.9 MB, free: 5.145 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.478e-05/0.1783, allocations: 7.984 kB / 373.9 MB, free: 5.137 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.406e-05/0.1784, allocations: 4 kB / 373.9 MB, free: 5.133 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.531e-05/0.1784, allocations: 8 kB / 373.9 MB, free: 5.125 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.918e-06/0.1784, allocations: 7.984 kB / 374 MB, free: 5.117 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.393e-05/0.1785, allocations: 107.3 kB / 374.1 MB, free: 5.012 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1785, allocations: 0 / 374.1 MB, free: 5.012 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002901/0.1814, allocations: 0.929 MB / 375 MB, free: 4.082 MB / 318.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.004637/0.1861, allocations: 1.356 MB / 376.3 MB, free: 2.723 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002878/0.1864, allocations: 48.03 kB / 376.4 MB, free: 2.676 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.1864, allocations: 0 / 376.4 MB, free: 2.676 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.258e-05/0.1865, allocations: 31.92 kB / 376.4 MB, free: 2.645 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002502/0.1868, allocations: 15.98 kB / 376.4 MB, free: 2.629 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004705/0.1872, allocations: 196.5 kB / 376.6 MB, free: 2.406 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002378/0.1875, allocations: 0.6807 MB / 377.3 MB, free: 1.699 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.047e-05/0.1876, allocations: 23.75 kB / 377.3 MB, free: 1.676 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.49e-05/0.1876, allocations: 19.44 kB / 377.4 MB, free: 1.656 MB / 318.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1876, allocations: 0 / 377.4 MB, free: 1.656 MB / 318.1 MB Notification: Performance of Templates: time 0.1924/0.38, allocations: 28.53 MB / 405.9 MB, free: 36.88 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/Inverse_sh_TX/Inverse_sh_TX.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches