Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.00113/0.00113, allocations: 112.2 kB / 17.74 MB, free: 5.344 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.001183/0.001183, allocations: 187.1 kB / 18.67 MB, free: 4.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 47.92 kB / 352 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2877/0.2889, allocations: 49.44 MB / 401.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.00224/0.2912, allocations: 1.372 MB / 402.8 MB, free: 7.492 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02715/0.3184, allocations: 23.53 MB / 426.3 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.07e-05/0.3185, allocations: 0 / 426.3 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001275/0.3187, allocations: 7.938 kB / 426.3 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01564/0.3344, allocations: 5.971 MB / 432.3 MB, free: 9.898 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008556/0.3352, allocations: 346.7 kB / 432.6 MB, free: 9.559 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000163/0.3354, allocations: 75.69 kB / 432.7 MB, free: 9.484 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.966e-05/0.3355, allocations: 11.88 kB / 432.7 MB, free: 9.473 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.014e-05/0.3355, allocations: 31.91 kB / 432.7 MB, free: 9.441 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.666e-05/0.3357, allocations: 39.89 kB / 432.8 MB, free: 9.402 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.3357, allocations: 0 / 432.8 MB, free: 9.402 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01684/0.3525, allocations: 8.861 MB / 441.6 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.891e-05/0.3526, allocations: 19.91 kB / 441.7 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.318e-05/0.3527, allocations: 27.86 kB / 441.7 MB, free: 496 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01087/0.3636, allocations: 4.363 MB / 446 MB, free: 12.11 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.3636, allocations: 4 kB / 446 MB, free: 12.11 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3636, allocations: 0 / 446 MB, free: 12.11 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.714e-06/0.3637, allocations: 0 / 446 MB, free: 12.11 MB / 366.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.002606/0.3663, allocations: 0.9201 MB / 447 MB, free: 11.14 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.3663, allocations: 8.031 kB / 447 MB, free: 11.13 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.788e-05/0.3664, allocations: 8.844 kB / 447 MB, free: 11.12 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000196/0.3666, allocations: 195.8 kB / 447.2 MB, free: 10.89 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.3667, allocations: 0 / 447.2 MB, free: 10.89 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.634e-05/0.3667, allocations: 7.984 kB / 447.2 MB, free: 10.89 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002002/0.3669, allocations: 79.39 kB / 447.3 MB, free: 10.8 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.3669, allocations: 0 / 447.3 MB, free: 10.8 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.3669, allocations: 0 / 447.3 MB, free: 10.8 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.3669, allocations: 0 / 447.3 MB, free: 10.8 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001349/0.3671, allocations: 39.91 kB / 447.3 MB, free: 10.76 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002282/0.3673, allocations: 182.5 kB / 447.5 MB, free: 10.53 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003326/0.3677, allocations: 105.2 kB / 447.6 MB, free: 10.41 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.723e-05/0.3678, allocations: 33.7 kB / 447.6 MB, free: 10.37 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.614e-05/0.3678, allocations: 12 kB / 447.6 MB, free: 10.36 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.3679, allocations: 38.55 kB / 447.7 MB, free: 10.31 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.3679, allocations: 0 / 447.7 MB, free: 10.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003364/0.3682, allocations: 101.5 kB / 447.8 MB, free: 10.2 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.883e-05/0.3683, allocations: 77.11 kB / 447.8 MB, free: 10.11 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/0.3684, allocations: 141.8 kB / 448 MB, free: 9.961 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.3684, allocations: 25.7 kB / 448 MB, free: 9.93 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.396e-05/0.3685, allocations: 88.14 kB / 448.1 MB, free: 9.84 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.519e-05/0.3685, allocations: 19.73 kB / 448.1 MB, free: 9.82 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.834e-05/0.3686, allocations: 21.72 kB / 448.1 MB, free: 9.793 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.3687, allocations: 318.8 kB / 448.4 MB, free: 9.473 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.953e-05/0.3688, allocations: 15.98 kB / 448.5 MB, free: 9.457 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.28e-05/0.3688, allocations: 33.7 kB / 448.5 MB, free: 9.418 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001301/0.369, allocations: 53.62 kB / 448.5 MB, free: 9.359 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.369, allocations: 0 / 448.5 MB, free: 9.359 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001895/0.3692, allocations: 93.45 kB / 448.6 MB, free: 9.262 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.3692, allocations: 4 kB / 448.6 MB, free: 9.258 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.3692, allocations: 0 / 448.6 MB, free: 9.258 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.3692, allocations: 4 kB / 448.6 MB, free: 9.254 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.96e-05/0.3693, allocations: 11.98 kB / 448.7 MB, free: 9.242 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.3693, allocations: 0 / 448.7 MB, free: 9.242 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.337e-05/0.3694, allocations: 4 kB / 448.7 MB, free: 9.238 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.3694, allocations: 0 / 448.7 MB, free: 9.238 MB / 366.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 8.612e-05/0.3695, allocations: 121.8 kB / 448.8 MB, free: 9.109 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.776e-05/0.3695, allocations: 7.906 kB / 448.8 MB, free: 9.102 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002551/0.3698, allocations: 109.9 kB / 448.9 MB, free: 8.992 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.3698, allocations: 0 / 448.9 MB, free: 8.992 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.3698, allocations: 4 kB / 448.9 MB, free: 8.988 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.3698, allocations: 0 / 448.9 MB, free: 8.988 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001503/0.37, allocations: 181.6 kB / 449.1 MB, free: 8.762 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.37, allocations: 0 / 449.1 MB, free: 8.762 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.914e-05/0.37, allocations: 8 kB / 449.1 MB, free: 8.754 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.37, allocations: 4 kB / 449.1 MB, free: 8.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.3701, allocations: 7.938 kB / 449.1 MB, free: 8.742 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.3701, allocations: 128 / 449.1 MB, free: 8.742 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.3701, allocations: 4 kB / 449.1 MB, free: 8.738 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002163/0.3703, allocations: 113.8 kB / 449.2 MB, free: 8.605 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.001e-05/0.3704, allocations: 89.09 kB / 449.3 MB, free: 8.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.3704, allocations: 3.984 kB / 449.3 MB, free: 8.496 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.276e-05/0.3705, allocations: 8 kB / 449.3 MB, free: 8.488 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.076e-05/0.3705, allocations: 4 kB / 449.3 MB, free: 8.484 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.3706, allocations: 8.359 kB / 449.3 MB, free: 8.477 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.233e-05/0.3706, allocations: 115.2 kB / 449.4 MB, free: 8.363 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.553e-06/0.3706, allocations: 0 / 449.4 MB, free: 8.363 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002656/0.3733, allocations: 0.9407 MB / 450.4 MB, free: 7.422 MB / 366.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.005333/0.3786, allocations: 1.329 MB / 451.7 MB, free: 6.086 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002668/0.3789, allocations: 43.97 kB / 451.7 MB, free: 6.043 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.379, allocations: 0 / 451.7 MB, free: 6.043 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.505e-05/0.379, allocations: 28.2 kB / 451.8 MB, free: 6.016 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002857/0.3793, allocations: 20.05 kB / 451.8 MB, free: 5.996 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00052/0.3799, allocations: 206.2 kB / 452 MB, free: 5.758 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002498/0.3801, allocations: 0.6807 MB / 452.7 MB, free: 5.051 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.81e-05/0.3802, allocations: 19.44 kB / 452.7 MB, free: 5.031 MB / 366.1 MB Notification: Performance of SimCode: time 2e-07/0.3802, allocations: 0 / 452.7 MB, free: 5.031 MB / 366.1 MB Notification: Performance of Templates: time 0.02797/0.4082, allocations: 18.15 MB / 470.8 MB, free: 2.859 MB / 382.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches