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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001235/0.001235, allocations: 175 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.501/1.501, allocations: 221.3 MB / 235.5 MB, free: 2.934 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009852/0.0009856, allocations: 99.48 kB / 286.5 MB, free: 212 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.535e-05/3.538e-05, allocations: 4 kB / 343.8 MB, free: 4.305 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1424, allocations: 50.41 MB / 394.2 MB, free: 1.848 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 17.24/17.39, allocations: 6.137 GB / 6.522 GB, free: 77.14 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001851/17.39, allocations: 85.56 kB / 6.522 GB, free: 77.07 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8049/18.19, allocations: 192.5 MB / 6.71 GB, free: 55.86 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.914e-06/18.19, allocations: 0 / 6.71 GB, free: 55.86 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.478e-06/18.19, allocations: 0 / 6.71 GB, free: 55.86 MB / 442.7 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.005879/18.2, allocations: 1.091 MB / 6.711 GB, free: 54.77 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/18.2, allocations: 12.03 kB / 6.711 GB, free: 54.76 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.685e-05/18.2, allocations: 8 kB / 6.711 GB, free: 54.75 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001626/18.2, allocations: 194.1 kB / 6.711 GB, free: 54.53 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/18.2, allocations: 3.953 kB / 6.711 GB, free: 54.52 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.461e-05/18.2, allocations: 4 kB / 6.711 GB, free: 54.52 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/18.2, allocations: 74.67 kB / 6.711 GB, free: 54.44 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/18.2, allocations: 0 / 6.711 GB, free: 54.44 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/18.2, allocations: 0 / 6.711 GB, free: 54.44 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/18.2, allocations: 4 kB / 6.711 GB, free: 54.44 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.597e-05/18.2, allocations: 31.31 kB / 6.712 GB, free: 54.41 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001821/18.2, allocations: 181.9 kB / 6.712 GB, free: 54.2 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002681/18.2, allocations: 104 kB / 6.712 GB, free: 54.09 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.427e-05/18.2, allocations: 29.19 kB / 6.712 GB, free: 54.06 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.622e-05/18.2, allocations: 8 kB / 6.712 GB, free: 54.05 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.765e-05/18.2, allocations: 42.16 kB / 6.712 GB, free: 54 MB / 442.7 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/18.2, allocations: 0 / 6.712 GB, free: 54 MB / 442.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001854/18.2, allocations: 76.92 kB / 6.712 GB, free: 53.93 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.954e-05/18.2, allocations: 81.05 kB / 6.712 GB, free: 53.84 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/18.2, allocations: 132.5 kB / 6.712 GB, free: 53.7 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/18.2, allocations: 25.7 kB / 6.712 GB, free: 53.67 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.878e-05/18.2, allocations: 92.12 kB / 6.712 GB, free: 53.57 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.858e-05/18.2, allocations: 11.61 kB / 6.712 GB, free: 53.57 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.589e-06/18.2, allocations: 4 kB / 6.712 GB, free: 53.56 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.373e-05/18.2, allocations: 318.8 kB / 6.713 GB, free: 53.24 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.176e-05/18.2, allocations: 19.56 kB / 6.713 GB, free: 53.23 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.403e-05/18.2, allocations: 29.52 kB / 6.713 GB, free: 53.2 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.8e-05/18.2, allocations: 15.7 kB / 6.713 GB, free: 53.18 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/18.2, allocations: 0 / 6.713 GB, free: 53.18 MB / 442.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001126/18.2, allocations: 80.23 kB / 6.713 GB, free: 53.11 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/18.2, allocations: 11.95 kB / 6.713 GB, free: 53.1 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/18.2, allocations: 3.938 kB / 6.713 GB, free: 53.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/18.2, allocations: 4.031 kB / 6.713 GB, free: 53.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.631e-05/18.2, allocations: 11.14 kB / 6.713 GB, free: 53.08 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/18.2, allocations: 8 kB / 6.713 GB, free: 53.07 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.966e-05/18.2, allocations: 3.938 kB / 6.713 GB, free: 53.07 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.048e-05/18.2, allocations: 4 kB / 6.713 GB, free: 53.07 MB / 442.7 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 () * 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 5.3e-05/18.2, allocations: 108.9 kB / 6.713 GB, free: 52.96 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.458e-05/18.2, allocations: 7.906 kB / 6.713 GB, free: 52.95 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001932/18.2, allocations: 109.4 kB / 6.713 GB, free: 52.86 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/18.2, allocations: 0 / 6.713 GB, free: 52.86 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/18.2, allocations: 7.875 kB / 6.713 GB, free: 52.85 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/18.2, allocations: 4 kB / 6.713 GB, free: 52.85 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001074/18.2, allocations: 172.8 kB / 6.713 GB, free: 52.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/18.2, allocations: 0 / 6.713 GB, free: 52.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.764e-05/18.2, allocations: 19.88 kB / 6.713 GB, free: 52.62 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/18.2, allocations: 0 / 6.713 GB, free: 52.62 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.856e-06/18.2, allocations: 0 / 6.713 GB, free: 52.62 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.706e-06/18.2, allocations: 3.953 kB / 6.713 GB, free: 52.62 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/18.2, allocations: 4 kB / 6.713 GB, free: 52.62 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001375/18.2, allocations: 115.4 kB / 6.713 GB, free: 52.48 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.595e-05/18.2, allocations: 103.5 kB / 6.713 GB, free: 52.38 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.735e-05/18.2, allocations: 3.953 kB / 6.713 GB, free: 52.37 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.203e-05/18.2, allocations: 8 kB / 6.713 GB, free: 52.36 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.591e-05/18.2, allocations: 11.22 kB / 6.713 GB, free: 52.36 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/18.2, allocations: 4 kB / 6.713 GB, free: 52.35 MB / 442.7 MB Notification: Performance of sorting global known variables: time 6.758e-05/18.2, allocations: 107.2 kB / 6.714 GB, free: 52.25 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.6e-07/18.2, allocations: 4 kB / 6.714 GB, free: 52.25 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005084/18.21, allocations: 0.9978 MB / 6.714 GB, free: 51.28 MB / 442.7 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 () * 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.006373/18.21, allocations: 1.449 MB / 6.716 GB, free: 49.98 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001646/18.21, allocations: 47.39 kB / 6.716 GB, free: 49.94 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/18.21, allocations: 0 / 6.716 GB, free: 49.94 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.831e-05/18.21, allocations: 20 kB / 6.716 GB, free: 49.92 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002387/18.21, allocations: 17.06 kB / 6.716 GB, free: 49.91 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003572/18.21, allocations: 112.7 kB / 6.716 GB, free: 49.79 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001409/18.21, allocations: 0.6913 MB / 6.717 GB, free: 49.07 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 6.421e-05/18.21, allocations: 25.48 kB / 6.717 GB, free: 49.06 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.067e-05/18.21, allocations: 11.44 kB / 6.717 GB, free: 49.05 MB / 442.7 MB Notification: Performance of SimCode: time 2.31e-07/18.21, allocations: 0 / 6.717 GB, free: 49.05 MB / 442.7 MB Notification: Performance of Templates: time 0.0329/18.25, allocations: 27.88 MB / 6.744 GB, free: 21.82 MB / 442.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_TX/Inverse_sh_TX.csv","../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