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.001527/0.001526, allocations: 108.3 kB / 17.16 MB, free: 6.324 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.001652/0.001652, allocations: 198.9 kB / 18.08 MB, free: 5.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.359/1.359, allocations: 222.9 MB / 241.8 MB, free: 15.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001111/0.001111, allocations: 50.45 kB / 300.6 MB, free: 6.344 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09908/0.1002, allocations: 49.44 MB / 350.1 MB, free: 4.895 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002668/0.1029, allocations: 1.422 MB / 351.5 MB, free: 3.457 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.1941/0.2971, allocations: 25.33 MB / 376.8 MB, free: 9.672 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.545e-05/0.2972, allocations: 1.781 kB / 376.8 MB, free: 9.672 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001197/0.2973, allocations: 12.41 kB / 376.8 MB, free: 9.672 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01519/0.3125, allocations: 4.923 MB / 381.7 MB, free: 9.465 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008223/0.3134, allocations: 322 kB / 382 MB, free: 9.41 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001259/0.3135, allocations: 95.72 kB / 382.1 MB, free: 9.391 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.407e-05/0.3136, allocations: 3.156 kB / 382.1 MB, free: 9.391 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.445e-05/0.3136, allocations: 29.53 kB / 382.2 MB, free: 9.387 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.705e-05/0.3137, allocations: 40.88 kB / 382.2 MB, free: 9.383 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.645e-05/0.3137, allocations: 3.969 kB / 382.2 MB, free: 9.383 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01735/0.3311, allocations: 8.902 MB / 391.1 MB, free: 6.848 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.021e-05/0.3312, allocations: 14.61 kB / 391.1 MB, free: 6.836 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.009e-05/0.3313, allocations: 31.3 kB / 391.2 MB, free: 6.82 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00701/0.3383, allocations: 2.963 MB / 394.1 MB, free: 5.402 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.3383, allocations: 0 / 394.1 MB, free: 5.402 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3383, allocations: 0 / 394.1 MB, free: 5.402 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.3383, allocations: 0 / 394.1 MB, free: 5.402 MB / 302.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.002879/0.3412, allocations: 0.9021 MB / 395 MB, free: 4.691 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.3413, allocations: 8.656 kB / 395 MB, free: 4.691 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.107e-05/0.3414, allocations: 8.719 kB / 395 MB, free: 4.688 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/0.3415, allocations: 203.8 kB / 395.2 MB, free: 4.469 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.3415, allocations: 3.938 kB / 395.3 MB, free: 4.465 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.231e-05/0.3415, allocations: 9.906 kB / 395.3 MB, free: 4.457 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.3417, allocations: 70.61 kB / 395.3 MB, free: 4.395 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.3417, allocations: 3.688 kB / 395.3 MB, free: 4.395 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.3417, allocations: 0 / 395.3 MB, free: 4.395 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.3417, allocations: 2.094 kB / 395.3 MB, free: 4.395 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001192/0.3419, allocations: 34.84 kB / 395.4 MB, free: 4.383 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001641/0.342, allocations: 193.3 kB / 395.6 MB, free: 4.16 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002695/0.3423, allocations: 98.94 kB / 395.7 MB, free: 4.094 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.656e-05/0.3424, allocations: 34.95 kB / 395.7 MB, free: 4.066 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.003e-05/0.3425, allocations: 11.11 kB / 395.7 MB, free: 4.062 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.72e-05/0.3425, allocations: 37.66 kB / 395.7 MB, free: 4.02 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.3425, allocations: 0 / 395.7 MB, free: 4.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003099/0.3428, allocations: 99.91 kB / 395.8 MB, free: 3.961 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.538e-05/0.3428, allocations: 78.95 kB / 395.9 MB, free: 3.867 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.405e-05/0.3429, allocations: 141 kB / 396 MB, free: 3.746 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.006e-05/0.3429, allocations: 28.05 kB / 396.1 MB, free: 3.715 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.242e-05/0.343, allocations: 91 kB / 396.2 MB, free: 3.625 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.714e-05/0.343, allocations: 15.81 kB / 396.2 MB, free: 3.609 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.165e-05/0.343, allocations: 16.31 kB / 396.2 MB, free: 3.594 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.356e-05/0.3431, allocations: 322.8 kB / 396.5 MB, free: 3.27 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.865e-05/0.3432, allocations: 20.83 kB / 396.5 MB, free: 3.262 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.681e-05/0.3432, allocations: 27.86 kB / 396.6 MB, free: 3.242 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001102/0.3433, allocations: 47.14 kB / 396.6 MB, free: 3.215 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3434, allocations: 4 kB / 396.6 MB, free: 3.211 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001681/0.3435, allocations: 87.83 kB / 396.7 MB, free: 3.156 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.3435, allocations: 5.312 kB / 396.7 MB, free: 3.156 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.3436, allocations: 384 / 396.7 MB, free: 3.156 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.3436, allocations: 2.688 kB / 396.7 MB, free: 3.156 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.351e-05/0.3436, allocations: 11.98 kB / 396.7 MB, free: 3.152 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.3437, allocations: 2.906 kB / 396.7 MB, free: 3.152 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.077e-05/0.3437, allocations: 7.875 kB / 396.7 MB, free: 3.145 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.3437, allocations: 2.438 kB / 396.7 MB, free: 3.145 MB / 302.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 6.471e-05/0.3438, allocations: 126.8 kB / 396.9 MB, free: 3.016 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.46e-05/0.3438, allocations: 10.8 kB / 396.9 MB, free: 3.008 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000219/0.344, allocations: 95.03 kB / 397 MB, free: 2.949 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.3441, allocations: 3.375 kB / 397 MB, free: 2.949 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.3441, allocations: 0 / 397 MB, free: 2.949 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.3441, allocations: 0 / 397 MB, free: 2.949 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.191e-05/0.3442, allocations: 181.3 kB / 397.1 MB, free: 2.742 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.3442, allocations: 0 / 397.1 MB, free: 2.742 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.515e-05/0.3442, allocations: 12.56 kB / 397.1 MB, free: 2.738 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.3442, allocations: 0 / 397.1 MB, free: 2.738 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.3443, allocations: 10.45 kB / 397.2 MB, free: 2.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.3443, allocations: 6.188 kB / 397.2 MB, free: 2.727 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3443, allocations: 0 / 397.2 MB, free: 2.727 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001768/0.3445, allocations: 115.3 kB / 397.3 MB, free: 2.629 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.514e-05/0.3445, allocations: 86.84 kB / 397.4 MB, free: 2.527 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.3445, allocations: 6.344 kB / 397.4 MB, free: 2.523 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.37e-05/0.3446, allocations: 2.906 kB / 397.4 MB, free: 2.523 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.861e-05/0.3447, allocations: 6.641 kB / 397.4 MB, free: 2.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.317e-06/0.3447, allocations: 9 kB / 397.4 MB, free: 2.516 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.705e-05/0.3447, allocations: 111 kB / 397.5 MB, free: 2.426 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3448, allocations: 3.062 kB / 397.5 MB, free: 2.426 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.003081/0.3478, allocations: 0.9346 MB / 398.4 MB, free: 2.215 MB / 302.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.005355/0.3532, allocations: 1.328 MB / 399.8 MB, free: 1.66 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002389/0.3535, allocations: 55.78 kB / 399.8 MB, free: 1.605 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.3535, allocations: 4 kB / 399.8 MB, free: 1.602 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.376e-05/0.3536, allocations: 23.98 kB / 399.8 MB, free: 1.578 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002712/0.3538, allocations: 26.5 kB / 399.9 MB, free: 1.555 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000442/0.3543, allocations: 222.9 kB / 400.1 MB, free: 1.301 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001106/0.3544, allocations: 0.6848 MB / 400.8 MB, free: 0.5898 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.891e-05/0.3545, allocations: 23.44 kB / 400.8 MB, free: 0.5664 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3545, allocations: 0 / 400.8 MB, free: 0.5664 MB / 302.1 MB Notification: Performance of Templates: time 0.02809/0.3826, allocations: 18.17 MB / 419 MB, free: 14.38 MB / 334.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