Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.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_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002118/0.002118, allocations: 180.9 kB / 13.65 MB, free: 1.66 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.184/2.184, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.00115/0.00115, allocations: 94.58 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.137e-05/3.147e-05, allocations: 0 / 321.5 MB, free: 17.87 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1004, allocations: 47.58 MB / 369.1 MB, free: 2.219 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.986/2.086, allocations: 0.6442 GB / 1.005 GB, free: 13.11 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002782/2.087, allocations: 80.14 kB / 1.005 GB, free: 13.07 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5644/2.651, allocations: 117.1 MB / 1.119 GB, free: 73.88 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.523e-06/2.651, allocations: 0 / 1.119 GB, free: 73.88 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.656e-06/2.651, allocations: 0 / 1.119 GB, free: 73.88 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.001305/2.653, allocations: 0.5609 MB / 1.12 GB, free: 73.27 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/2.653, allocations: 16.02 kB / 1.12 GB, free: 73.25 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001555/2.653, allocations: 8 kB / 1.12 GB, free: 73.25 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/2.653, allocations: 186.9 kB / 1.12 GB, free: 73.02 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/2.653, allocations: 0 / 1.12 GB, free: 73.02 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.728e-05/2.653, allocations: 11.89 kB / 1.12 GB, free: 73.01 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/2.653, allocations: 59.41 kB / 1.12 GB, free: 72.94 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/2.653, allocations: 0 / 1.12 GB, free: 72.94 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.6e-05/2.653, allocations: 0 / 1.12 GB, free: 72.94 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/2.653, allocations: 3.984 kB / 1.12 GB, free: 72.94 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.609e-05/2.653, allocations: 12 kB / 1.12 GB, free: 72.93 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001771/2.654, allocations: 182.5 kB / 1.12 GB, free: 72.7 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002929/2.654, allocations: 73.28 kB / 1.12 GB, free: 72.61 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.335e-05/2.654, allocations: 21.78 kB / 1.12 GB, free: 72.58 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1309/2.785, allocations: 35.87 MB / 1.155 GB, free: 33.25 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.176e-05/2.785, allocations: 38.5 kB / 1.155 GB, free: 33.21 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 3.406e-06/2.785, allocations: 0 / 1.155 GB, free: 33.21 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002847/2.785, allocations: 69.61 kB / 1.155 GB, free: 33.13 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/2.785, allocations: 81.11 kB / 1.155 GB, free: 33.04 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/2.785, allocations: 105 kB / 1.156 GB, free: 32.93 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/2.785, allocations: 29.7 kB / 1.156 GB, free: 32.89 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.822e-05/2.785, allocations: 154.6 kB / 1.156 GB, free: 32.74 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.519e-05/2.785, allocations: 19.59 kB / 1.156 GB, free: 32.72 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.063e-06/2.785, allocations: 4 kB / 1.156 GB, free: 32.71 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.948e-05/2.786, allocations: 314.8 kB / 1.156 GB, free: 32.4 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.029e-05/2.786, allocations: 7.984 kB / 1.156 GB, free: 32.39 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.749e-05/2.786, allocations: 25.72 kB / 1.156 GB, free: 32.36 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.613e-05/2.786, allocations: 11.94 kB / 1.156 GB, free: 32.35 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/2.786, allocations: 0 / 1.156 GB, free: 32.35 MB / 426.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001509/2.786, allocations: 65.67 kB / 1.156 GB, free: 32.28 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/2.786, allocations: 4 kB / 1.156 GB, free: 32.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/2.786, allocations: 3.953 kB / 1.156 GB, free: 32.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/2.786, allocations: 0 / 1.156 GB, free: 32.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/2.786, allocations: 23.86 kB / 1.156 GB, free: 32.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/2.786, allocations: 0 / 1.156 GB, free: 32.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.323e-05/2.786, allocations: 0 / 1.156 GB, free: 32.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.864e-05/2.786, allocations: 8 kB / 1.156 GB, free: 32.24 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 () * 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.992e-05/2.786, allocations: 105 kB / 1.156 GB, free: 32.13 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.166e-05/2.786, allocations: 7.906 kB / 1.156 GB, free: 32.12 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000275/2.787, allocations: 93.91 kB / 1.156 GB, free: 32.02 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/2.787, allocations: 7.953 kB / 1.156 GB, free: 32.01 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/2.787, allocations: 4 kB / 1.156 GB, free: 32.01 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/2.787, allocations: 0 / 1.156 GB, free: 32.01 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001275/2.787, allocations: 180.8 kB / 1.157 GB, free: 31.79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/2.787, allocations: 0 / 1.157 GB, free: 31.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001057/2.787, allocations: 19.92 kB / 1.157 GB, free: 31.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/2.787, allocations: 0 / 1.157 GB, free: 31.77 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/2.787, allocations: 0 / 1.157 GB, free: 31.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/2.787, allocations: 4 kB / 1.157 GB, free: 31.76 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/2.787, allocations: 3.953 kB / 1.157 GB, free: 31.76 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001755/2.787, allocations: 103.7 kB / 1.157 GB, free: 31.63 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.407e-05/2.787, allocations: 92.98 kB / 1.157 GB, free: 31.52 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.343e-05/2.787, allocations: 4.281 kB / 1.157 GB, free: 31.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001273/2.787, allocations: 7.953 kB / 1.157 GB, free: 31.51 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.79e-05/2.787, allocations: 11.92 kB / 1.157 GB, free: 31.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/2.787, allocations: 0 / 1.157 GB, free: 31.5 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.021e-05/2.788, allocations: 99.27 kB / 1.157 GB, free: 31.4 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.232e-06/2.788, allocations: 0 / 1.157 GB, free: 31.4 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001358/2.789, allocations: 339.5 kB / 1.157 GB, free: 31.07 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 () * 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.002261/2.791, allocations: 0.71 MB / 1.158 GB, free: 30.35 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001829/2.791, allocations: 27.94 kB / 1.158 GB, free: 30.32 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/2.791, allocations: 0 / 1.158 GB, free: 30.32 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.018e-05/2.791, allocations: 23.98 kB / 1.158 GB, free: 30.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002147/2.792, allocations: 8 kB / 1.158 GB, free: 30.29 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003886/2.792, allocations: 123.4 kB / 1.158 GB, free: 30.14 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001334/2.792, allocations: 0.6848 MB / 1.159 GB, free: 29.43 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.974e-05/2.792, allocations: 23.42 kB / 1.159 GB, free: 29.4 MB / 426.7 MB Notification: Performance of SimCode: time 7.41e-07/2.792, allocations: 0 / 1.159 GB, free: 29.4 MB / 426.7 MB Notification: Performance of Templates: time 0.01411/2.806, allocations: 6.716 MB / 1.165 GB, free: 22.68 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_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_T/Inverse_sh_T.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches