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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.0009915/0.0009915, allocations: 182.6 kB / 18.04 MB, free: 3.781 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.431/1.431, allocations: 205.4 MB / 224.2 MB, free: 9.047 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008014/0.0008016, allocations: 85.55 kB / 272.5 MB, free: 8.285 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003317/0.0003319, allocations: 15.98 kB / 329.5 MB, free: 15.3 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2304/0.2307, allocations: 47.57 MB / 377 MB, free: 45.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 13.38/13.61, allocations: 6.612 GB / 6.981 GB, free: 76.2 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002519/13.61, allocations: 79.95 kB / 6.981 GB, free: 76.12 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5911/14.2, allocations: 177.2 MB / 7.154 GB, free: 62.39 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.142e-06/14.2, allocations: 0 / 7.154 GB, free: 62.39 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.033e-06/14.2, allocations: 4 kB / 7.154 GB, free: 62.38 MB / 426.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.004637/14.21, allocations: 1.092 MB / 7.155 GB, free: 61.29 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/14.21, allocations: 8.031 kB / 7.155 GB, free: 61.28 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.093e-05/14.21, allocations: 8.844 kB / 7.155 GB, free: 61.27 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/14.21, allocations: 191.6 kB / 7.155 GB, free: 61.05 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/14.21, allocations: 12.38 kB / 7.155 GB, free: 61.04 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.365e-05/14.21, allocations: 384 / 7.155 GB, free: 61.04 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001566/14.21, allocations: 67.66 kB / 7.155 GB, free: 60.98 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/14.21, allocations: 4.125 kB / 7.155 GB, free: 60.97 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/14.21, allocations: 7.938 kB / 7.155 GB, free: 60.96 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/14.21, allocations: 0 / 7.155 GB, free: 60.96 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001224/14.21, allocations: 39 kB / 7.155 GB, free: 60.94 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001897/14.21, allocations: 189.6 kB / 7.155 GB, free: 60.71 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002705/14.21, allocations: 96.22 kB / 7.155 GB, free: 60.61 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.986e-05/14.21, allocations: 33.52 kB / 7.156 GB, free: 60.58 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.921e-05/14.21, allocations: 15.8 kB / 7.156 GB, free: 60.57 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.815e-05/14.21, allocations: 37.62 kB / 7.156 GB, free: 60.52 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/14.21, allocations: 0 / 7.156 GB, free: 60.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002932/14.21, allocations: 104.5 kB / 7.156 GB, free: 60.43 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.144e-05/14.21, allocations: 84.91 kB / 7.156 GB, free: 60.33 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.37e-05/14.21, allocations: 129.3 kB / 7.156 GB, free: 60.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.144e-05/14.21, allocations: 29.7 kB / 7.156 GB, free: 60.17 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.322e-05/14.21, allocations: 88.14 kB / 7.156 GB, free: 60.08 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.787e-05/14.21, allocations: 11.81 kB / 7.156 GB, free: 60.07 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-06/14.21, allocations: 0 / 7.156 GB, free: 60.07 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 4.925e-05/14.21, allocations: 322.9 kB / 7.156 GB, free: 59.75 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.572e-05/14.21, allocations: 15.8 kB / 7.156 GB, free: 59.73 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.198e-05/14.21, allocations: 33.5 kB / 7.156 GB, free: 59.7 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001074/14.21, allocations: 57.62 kB / 7.156 GB, free: 59.65 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/14.21, allocations: 3.938 kB / 7.156 GB, free: 59.64 MB / 426.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000157/14.21, allocations: 84.88 kB / 7.156 GB, free: 59.57 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/14.21, allocations: 11.94 kB / 7.156 GB, free: 59.55 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/14.21, allocations: 0 / 7.156 GB, free: 59.55 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/14.21, allocations: 0 / 7.156 GB, free: 59.55 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.564e-05/14.21, allocations: 19.47 kB / 7.157 GB, free: 59.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/14.21, allocations: 0 / 7.157 GB, free: 59.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.125e-05/14.21, allocations: 3.938 kB / 7.157 GB, free: 59.54 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.008e-05/14.21, allocations: 8 kB / 7.157 GB, free: 59.53 MB / 426.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 () * 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 5.343e-05/14.21, allocations: 113.3 kB / 7.157 GB, free: 59.41 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.823e-05/14.21, allocations: 15.84 kB / 7.157 GB, free: 59.39 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002262/14.21, allocations: 104.1 kB / 7.157 GB, free: 59.3 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/14.21, allocations: 0 / 7.157 GB, free: 59.3 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/14.21, allocations: 0 / 7.157 GB, free: 59.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/14.21, allocations: 3.938 kB / 7.157 GB, free: 59.3 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.531e-05/14.21, allocations: 177 kB / 7.157 GB, free: 59.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/14.21, allocations: 4 kB / 7.157 GB, free: 59.08 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.606e-05/14.21, allocations: 11.56 kB / 7.157 GB, free: 59.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/14.21, allocations: 3.938 kB / 7.157 GB, free: 59.07 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.978e-06/14.21, allocations: 8 kB / 7.157 GB, free: 59.06 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/14.21, allocations: 3.938 kB / 7.157 GB, free: 59.06 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/14.21, allocations: 0 / 7.157 GB, free: 59.06 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001624/14.21, allocations: 112 kB / 7.157 GB, free: 58.94 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.096e-05/14.21, allocations: 104.8 kB / 7.157 GB, free: 58.83 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/14.21, allocations: 3.938 kB / 7.157 GB, free: 58.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.84e-05/14.21, allocations: 8 kB / 7.157 GB, free: 58.82 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.534e-05/14.21, allocations: 7.609 kB / 7.157 GB, free: 58.81 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/14.21, allocations: 4 kB / 7.157 GB, free: 58.81 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.123e-05/14.21, allocations: 107.1 kB / 7.157 GB, free: 58.71 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.123e-05/14.21, allocations: 0 / 7.157 GB, free: 58.71 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004189/14.21, allocations: 0.9778 MB / 7.158 GB, free: 57.76 MB / 426.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 () * 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.00782/14.22, allocations: 1.479 MB / 7.16 GB, free: 56.44 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000238/14.22, allocations: 43.62 kB / 7.16 GB, free: 56.4 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/14.22, allocations: 4 kB / 7.16 GB, free: 56.4 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.559e-05/14.22, allocations: 27.83 kB / 7.16 GB, free: 56.38 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003092/14.22, allocations: 19.84 kB / 7.16 GB, free: 56.36 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004241/14.22, allocations: 220.8 kB / 7.16 GB, free: 56.14 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001113/14.22, allocations: 0.6923 MB / 7.161 GB, free: 55.43 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.79e-05/14.22, allocations: 10.89 kB / 7.161 GB, free: 55.42 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.492e-05/14.22, allocations: 15.44 kB / 7.161 GB, free: 55.41 MB / 426.7 MB Notification: Performance of SimCode: time 3.41e-07/14.22, allocations: 0 / 7.161 GB, free: 55.41 MB / 426.7 MB Notification: Performance of Templates: time 0.03809/14.26, allocations: 29.74 MB / 7.19 GB, free: 29.19 MB / 426.7 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","../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