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.001342/0.001342, allocations: 110.2 kB / 18.25 MB, free: 4.898 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.001403/0.001403, allocations: 195.3 kB / 19.18 MB, free: 3.977 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.337/1.337, allocations: 205.1 MB / 225.1 MB, free: 12.29 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.001254/0.001254, allocations: 51.92 kB / 281.3 MB, free: 3.176 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08389/0.08516, allocations: 46.63 MB / 327.9 MB, free: 4.473 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002412/0.08761, allocations: 1.361 MB / 329.3 MB, free: 3.094 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0268/0.1144, allocations: 23.68 MB / 353 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.355e-05/0.1145, allocations: 3.938 kB / 353 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001136/0.1147, allocations: 11.92 kB / 353 MB, free: 11.31 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01358/0.1283, allocations: 5.632 MB / 358.6 MB, free: 5.664 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007652/0.1291, allocations: 346.8 kB / 359 MB, free: 5.324 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001443/0.1292, allocations: 71.7 kB / 359 MB, free: 5.254 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.076e-05/0.1293, allocations: 7.984 kB / 359 MB, free: 5.246 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.914e-05/0.1294, allocations: 27.92 kB / 359.1 MB, free: 5.219 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/0.1295, allocations: 43.83 kB / 359.1 MB, free: 5.176 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.51e-05/0.1295, allocations: 0 / 359.1 MB, free: 5.176 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01458/0.1441, allocations: 8.582 MB / 367.7 MB, free: 12.58 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.289e-05/0.1442, allocations: 19.91 kB / 367.7 MB, free: 12.56 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.824e-05/0.1443, allocations: 27.86 kB / 367.7 MB, free: 12.54 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008654/0.1529, allocations: 4.344 MB / 372.1 MB, free: 8.184 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.153, allocations: 0 / 372.1 MB, free: 8.184 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.153, allocations: 4 kB / 372.1 MB, free: 8.18 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.059e-05/0.153, allocations: 0 / 372.1 MB, free: 8.18 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.002058/0.1551, allocations: 0.9007 MB / 373 MB, free: 7.23 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.1551, allocations: 12.03 kB / 373 MB, free: 7.219 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.136e-05/0.1552, allocations: 4.922 kB / 373 MB, free: 7.215 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001714/0.1553, allocations: 211.6 kB / 373.2 MB, free: 6.969 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.1554, allocations: 4 kB / 373.2 MB, free: 6.965 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.189e-05/0.1554, allocations: 0 / 373.2 MB, free: 6.965 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001622/0.1556, allocations: 75.39 kB / 373.3 MB, free: 6.879 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.024e-06/0.1556, allocations: 0 / 373.3 MB, free: 6.879 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.1556, allocations: 0 / 373.3 MB, free: 6.879 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.1556, allocations: 0 / 373.3 MB, free: 6.879 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001214/0.1557, allocations: 39.91 kB / 373.3 MB, free: 6.84 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001966/0.1559, allocations: 190.5 kB / 373.5 MB, free: 6.602 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002938/0.1562, allocations: 97.17 kB / 373.6 MB, free: 6.488 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.238e-05/0.1563, allocations: 33.7 kB / 373.6 MB, free: 6.449 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.354e-05/0.1564, allocations: 15.97 kB / 373.7 MB, free: 6.434 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.1564, allocations: 34.56 kB / 373.7 MB, free: 6.391 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.1564, allocations: 4 kB / 373.7 MB, free: 6.387 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.000322/0.1567, allocations: 101.5 kB / 373.8 MB, free: 6.281 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.464e-05/0.1568, allocations: 77.11 kB / 373.9 MB, free: 6.188 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.1569, allocations: 137.8 kB / 374 MB, free: 6.043 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.157, allocations: 29.7 kB / 374 MB, free: 6.008 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.574e-05/0.157, allocations: 84.14 kB / 374.1 MB, free: 5.922 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.021e-05/0.157, allocations: 15.8 kB / 374.1 MB, free: 5.906 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-05/0.1571, allocations: 21.62 kB / 374.2 MB, free: 5.879 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.1572, allocations: 322.8 kB / 374.5 MB, free: 5.555 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.188e-05/0.1573, allocations: 15.98 kB / 374.5 MB, free: 5.539 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.411e-05/0.1573, allocations: 33.7 kB / 374.5 MB, free: 5.5 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/0.1575, allocations: 54 kB / 374.6 MB, free: 5.441 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1575, allocations: 4 kB / 374.6 MB, free: 5.438 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001761/0.1577, allocations: 81.59 kB / 374.7 MB, free: 5.352 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.1577, allocations: 8 kB / 374.7 MB, free: 5.344 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.1577, allocations: 0 / 374.7 MB, free: 5.344 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.1577, allocations: 0 / 374.7 MB, free: 5.344 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.808e-05/0.1578, allocations: 11.98 kB / 374.7 MB, free: 5.332 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.1578, allocations: 0 / 374.7 MB, free: 5.332 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.324e-05/0.1579, allocations: 12.31 kB / 374.7 MB, free: 5.32 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.533e-06/0.1579, allocations: 0 / 374.7 MB, free: 5.32 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 7.471e-05/0.158, allocations: 113.8 kB / 374.8 MB, free: 5.199 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.687e-05/0.158, allocations: 15.84 kB / 374.8 MB, free: 5.184 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002478/0.1583, allocations: 101.4 kB / 374.9 MB, free: 5.078 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.1583, allocations: 4 kB / 374.9 MB, free: 5.074 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1583, allocations: 0 / 374.9 MB, free: 5.074 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.716e-06/0.1583, allocations: 0 / 374.9 MB, free: 5.074 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001288/0.1584, allocations: 181.6 kB / 375.1 MB, free: 4.848 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.1584, allocations: 4.125 kB / 375.1 MB, free: 4.844 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.97e-05/0.1585, allocations: 8 kB / 375.1 MB, free: 4.836 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.1585, allocations: 7.938 kB / 375.1 MB, free: 4.828 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.1585, allocations: 4 kB / 375.1 MB, free: 4.824 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1585, allocations: 0 / 375.1 MB, free: 4.824 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1585, allocations: 0 / 375.1 MB, free: 4.824 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001959/0.1587, allocations: 121.8 kB / 375.2 MB, free: 4.684 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.658e-05/0.1588, allocations: 85 kB / 375.3 MB, free: 4.582 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.958e-05/0.1588, allocations: 4 kB / 375.3 MB, free: 4.578 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.507e-05/0.1589, allocations: 8 kB / 375.3 MB, free: 4.57 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.587e-05/0.159, allocations: 7.984 kB / 375.3 MB, free: 4.562 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.159, allocations: 4 kB / 375.3 MB, free: 4.559 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.842e-05/0.1591, allocations: 107.3 kB / 375.4 MB, free: 4.453 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1591, allocations: 3.938 kB / 375.5 MB, free: 4.449 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00238/0.1614, allocations: 0.929 MB / 376.4 MB, free: 3.52 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.003917/0.1654, allocations: 1.356 MB / 377.7 MB, free: 2.156 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002256/0.1656, allocations: 47.97 kB / 377.8 MB, free: 2.109 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.1656, allocations: 3.938 kB / 377.8 MB, free: 2.105 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.019e-05/0.1657, allocations: 23.98 kB / 377.8 MB, free: 2.082 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002219/0.1659, allocations: 15.98 kB / 377.8 MB, free: 2.066 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004526/0.1664, allocations: 206.2 kB / 378 MB, free: 1.828 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002027/0.1666, allocations: 0.6846 MB / 378.7 MB, free: 1.117 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.608e-05/0.1667, allocations: 19.42 kB / 378.7 MB, free: 1.098 MB / 318.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1667, allocations: 0 / 378.7 MB, free: 1.098 MB / 318.1 MB Notification: Performance of Templates: time 0.1775/0.3442, allocations: 19.41 MB / 398.1 MB, free: 44.59 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/jenkins1/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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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