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.00102/0.001021, allocations: 98.02 kB / 16.95 MB, free: 6.453 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.001237/0.001238, allocations: 182.9 kB / 17.84 MB, free: 6.004 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.426/1.426, allocations: 205.4 MB / 224 MB, free: 13.16 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.0004495/0.0004496, allocations: 20 kB / 280.8 MB, free: 3.738 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1/0.1005, allocations: 47.57 MB / 328.3 MB, free: 4.094 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.001312/0.1019, allocations: 1.074 MB / 329.4 MB, free: 3.008 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.02628/0.1281, allocations: 22.17 MB / 351.6 MB, free: 12.78 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.019e-05/0.1282, allocations: 4 kB / 351.6 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001059/0.1284, allocations: 7.922 kB / 351.6 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01194/0.1403, allocations: 4.21 MB / 355.8 MB, free: 8.543 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007494/0.1411, allocations: 215.1 kB / 356 MB, free: 8.332 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001385/0.1412, allocations: 91.59 kB / 356.1 MB, free: 8.242 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.94e-05/0.1413, allocations: 4 kB / 356.1 MB, free: 8.238 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.007e-05/0.1413, allocations: 27.92 kB / 356.1 MB, free: 8.211 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.1415, allocations: 39.89 kB / 356.2 MB, free: 8.172 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.1415, allocations: 4 kB / 356.2 MB, free: 8.168 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01632/0.1578, allocations: 7.658 MB / 363.8 MB, free: 0.5 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.338e-05/0.1579, allocations: 15.97 kB / 363.9 MB, free: 496 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.634e-05/0.158, allocations: 37.64 kB / 363.9 MB, free: 452 kB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006291/0.1643, allocations: 2.768 MB / 366.7 MB, free: 13.67 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.1643, allocations: 0 / 366.7 MB, free: 13.67 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1643, allocations: 0 / 366.7 MB, free: 13.67 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.1643, allocations: 0 / 366.7 MB, free: 13.67 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.002227/0.1666, allocations: 0.8927 MB / 367.6 MB, free: 12.73 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.1666, allocations: 15.97 kB / 367.6 MB, free: 12.71 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.562e-05/0.1667, allocations: 7.906 kB / 367.6 MB, free: 12.7 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002074/0.1669, allocations: 195 kB / 367.8 MB, free: 12.47 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.1669, allocations: 4 kB / 367.8 MB, free: 12.47 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.1669, allocations: 0 / 367.8 MB, free: 12.47 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001901/0.1671, allocations: 75.33 kB / 367.8 MB, free: 12.38 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.1672, allocations: 0 / 367.8 MB, free: 12.38 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.1672, allocations: 0 / 367.8 MB, free: 12.38 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.1672, allocations: 0 / 367.8 MB, free: 12.38 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001247/0.1673, allocations: 39.97 kB / 367.9 MB, free: 12.34 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002219/0.1675, allocations: 194.5 kB / 368.1 MB, free: 12.1 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000298/0.1679, allocations: 93.12 kB / 368.2 MB, free: 11.99 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.111e-05/0.1679, allocations: 29.77 kB / 368.2 MB, free: 11.96 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.747e-05/0.168, allocations: 11.98 kB / 368.2 MB, free: 11.95 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.628e-05/0.1681, allocations: 46.5 kB / 368.2 MB, free: 11.89 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.1681, allocations: 0 / 368.2 MB, free: 11.89 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003005/0.1684, allocations: 97.56 kB / 368.3 MB, free: 11.79 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/0.1684, allocations: 81.05 kB / 368.4 MB, free: 11.69 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.1685, allocations: 142 kB / 368.6 MB, free: 11.54 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.1686, allocations: 25.7 kB / 368.6 MB, free: 11.51 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.036e-05/0.1686, allocations: 88.14 kB / 368.7 MB, free: 11.42 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.085e-05/0.1687, allocations: 15.7 kB / 368.7 MB, free: 11.41 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-06/0.1687, allocations: 0 / 368.7 MB, free: 11.41 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.1688, allocations: 322.8 kB / 369 MB, free: 11.08 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.926e-05/0.1688, allocations: 15.98 kB / 369 MB, free: 11.07 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.006e-05/0.1689, allocations: 29.7 kB / 369 MB, free: 11.03 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.041e-05/0.169, allocations: 23.98 kB / 369.1 MB, free: 11.01 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.169, allocations: 0 / 369.1 MB, free: 11.01 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001779/0.1692, allocations: 82.36 kB / 369.2 MB, free: 10.92 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.1692, allocations: 4 kB / 369.2 MB, free: 10.92 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1692, allocations: 96 / 369.2 MB, free: 10.92 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.1692, allocations: 7.984 kB / 369.2 MB, free: 10.91 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.648e-05/0.1693, allocations: 19.86 kB / 369.2 MB, free: 10.89 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.1693, allocations: 0 / 369.2 MB, free: 10.89 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.501e-05/0.1694, allocations: 11.94 kB / 369.2 MB, free: 10.88 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.1694, allocations: 0 / 369.2 MB, free: 10.88 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.435e-05/0.1695, allocations: 121.7 kB / 369.3 MB, free: 10.75 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.806e-05/0.1695, allocations: 7.906 kB / 369.3 MB, free: 10.74 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002281/0.1697, allocations: 93.55 kB / 369.4 MB, free: 10.64 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.1697, allocations: 0 / 369.4 MB, free: 10.64 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.1697, allocations: 3.938 kB / 369.4 MB, free: 10.64 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.1698, allocations: 4 kB / 369.4 MB, free: 10.64 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001404/0.1699, allocations: 185.5 kB / 369.6 MB, free: 10.41 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1699, allocations: 4 kB / 369.6 MB, free: 10.4 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.737e-05/0.17, allocations: 8 kB / 369.6 MB, free: 10.39 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.17, allocations: 0 / 369.6 MB, free: 10.39 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.17, allocations: 4 kB / 369.6 MB, free: 10.39 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.17, allocations: 0 / 369.6 MB, free: 10.39 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.17, allocations: 0 / 369.6 MB, free: 10.39 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000191/0.1702, allocations: 110 kB / 369.7 MB, free: 10.26 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.331e-05/0.1703, allocations: 100.9 kB / 369.8 MB, free: 10.14 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/0.1703, allocations: 3.938 kB / 369.8 MB, free: 10.14 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.257e-05/0.1704, allocations: 11.98 kB / 369.8 MB, free: 10.13 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.613e-05/0.1704, allocations: 4 kB / 369.8 MB, free: 10.12 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.642e-06/0.1705, allocations: 0 / 369.8 MB, free: 10.12 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.098e-05/0.1705, allocations: 115.2 kB / 370 MB, free: 10.01 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1706, allocations: 0 / 370 MB, free: 10.01 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00248/0.173, allocations: 0.9135 MB / 370.9 MB, free: 9.098 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004599/0.1777, allocations: 1.246 MB / 372.1 MB, free: 7.848 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002739/0.178, allocations: 47.91 kB / 372.2 MB, free: 7.801 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.178, allocations: 0 / 372.2 MB, free: 7.801 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.953e-05/0.1781, allocations: 27.98 kB / 372.2 MB, free: 7.773 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003189/0.1784, allocations: 23.94 kB / 372.2 MB, free: 7.75 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005761/0.179, allocations: 203.3 kB / 372.4 MB, free: 7.523 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002946/0.1793, allocations: 0.6887 MB / 373.1 MB, free: 6.809 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.993e-05/0.1794, allocations: 19.77 kB / 373.1 MB, free: 6.789 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.044e-05/0.1794, allocations: 15.44 kB / 373.1 MB, free: 6.773 MB / 318.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1794, allocations: 0 / 373.1 MB, free: 6.773 MB / 318.1 MB Notification: Performance of Templates: time 0.2015/0.3809, allocations: 28.84 MB / 402 MB, free: 40.66 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