Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001096/0.001096, allocations: 177 kB / 8.7 MB, free: 384 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.973/1.973, allocations: 205.3 MB / 214.4 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008672/0.0008671, allocations: 90.69 kB / 262.5 MB, free: 1.684 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.8e-05/2.802e-05, allocations: 4 kB / 315.5 MB, free: 22.73 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1303, allocations: 47.58 MB / 363.1 MB, free: 7.086 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.943/2.073, allocations: 0.6438 GB / 0.9984 GB, free: 37.48 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002322/2.074, allocations: 71.97 kB / 0.9985 GB, free: 37.41 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4918/2.566, allocations: 113.6 MB / 1.109 GB, free: 100.5 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.246e-06/2.566, allocations: 0 / 1.109 GB, free: 100.5 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.632e-05/2.566, allocations: 0 / 1.109 GB, free: 100.5 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.001794/2.567, allocations: 0.5609 MB / 1.11 GB, free: 99.92 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.84e-05/2.568, allocations: 12.03 kB / 1.11 GB, free: 99.91 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002028/2.568, allocations: 7.984 kB / 1.11 GB, free: 99.9 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002086/2.568, allocations: 175 kB / 1.11 GB, free: 99.69 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.802e-05/2.568, allocations: 3.984 kB / 1.11 GB, free: 99.69 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.151e-05/2.568, allocations: 3.953 kB / 1.11 GB, free: 99.68 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.646e-05/2.568, allocations: 23.92 kB / 1.11 GB, free: 99.66 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/2.568, allocations: 63.41 kB / 1.11 GB, free: 99.59 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/2.568, allocations: 0.75 kB / 1.11 GB, free: 99.59 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.789e-05/2.568, allocations: 0 / 1.11 GB, free: 99.59 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/2.568, allocations: 0 / 1.11 GB, free: 99.59 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002328/2.569, allocations: 151 kB / 1.11 GB, free: 99.4 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002448/2.569, allocations: 81.31 kB / 1.11 GB, free: 99.3 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.488e-05/2.569, allocations: 17.78 kB / 1.11 GB, free: 99.28 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07236/2.641, allocations: 35.88 MB / 1.145 GB, free: 60.06 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.172e-05/2.641, allocations: 38.48 kB / 1.146 GB, free: 60.02 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 4.077e-06/2.641, allocations: 0 / 1.146 GB, free: 60.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.00125/2.643, allocations: 149.5 kB / 1.146 GB, free: 59.86 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.509e-05/2.643, allocations: 77.11 kB / 1.146 GB, free: 59.77 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/2.643, allocations: 113.1 kB / 1.146 GB, free: 59.65 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/2.643, allocations: 25.7 kB / 1.146 GB, free: 59.62 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.077e-05/2.643, allocations: 92.12 kB / 1.146 GB, free: 59.53 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.582e-05/2.643, allocations: 15.72 kB / 1.146 GB, free: 59.51 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.04e-06/2.643, allocations: 0 / 1.146 GB, free: 59.51 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.507e-05/2.643, allocations: 322.8 kB / 1.146 GB, free: 59.19 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.144e-05/2.643, allocations: 7.938 kB / 1.146 GB, free: 59.18 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.495e-05/2.643, allocations: 25.72 kB / 1.146 GB, free: 59.15 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007019/2.644, allocations: 95.91 kB / 1.146 GB, free: 59.05 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/2.644, allocations: 0 / 1.146 GB, free: 59.05 MB / 426.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0007327/2.645, allocations: 161.7 kB / 1.147 GB, free: 58.89 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/2.645, allocations: 4 kB / 1.147 GB, free: 58.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.056e-06/2.645, allocations: 0 / 1.147 GB, free: 58.89 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/2.645, allocations: 0 / 1.147 GB, free: 58.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.69e-05/2.645, allocations: 19.89 kB / 1.147 GB, free: 58.87 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/2.645, allocations: 0 / 1.147 GB, free: 58.87 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.763e-05/2.645, allocations: 11.83 kB / 1.147 GB, free: 58.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.689e-05/2.645, allocations: 4 kB / 1.147 GB, free: 58.85 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 6.253e-05/2.645, allocations: 101 kB / 1.147 GB, free: 58.75 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.628e-05/2.645, allocations: 8 kB / 1.147 GB, free: 58.74 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008604/2.646, allocations: 185.7 kB / 1.147 GB, free: 58.55 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/2.646, allocations: 0 / 1.147 GB, free: 58.55 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/2.646, allocations: 3.953 kB / 1.147 GB, free: 58.55 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/2.646, allocations: 0 / 1.147 GB, free: 58.55 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.168e-05/2.646, allocations: 142.2 kB / 1.147 GB, free: 58.37 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/2.646, allocations: 0 / 1.147 GB, free: 58.37 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.745e-05/2.646, allocations: 23.92 kB / 1.147 GB, free: 58.35 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/2.646, allocations: 3.938 kB / 1.147 GB, free: 58.34 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/2.646, allocations: 0 / 1.147 GB, free: 58.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/2.646, allocations: 4 kB / 1.147 GB, free: 58.34 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/2.646, allocations: 0 / 1.147 GB, free: 58.34 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000745/2.647, allocations: 195.6 kB / 1.147 GB, free: 58.12 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.57e-05/2.647, allocations: 92.98 kB / 1.147 GB, free: 58.01 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.017e-05/2.647, allocations: 4.188 kB / 1.147 GB, free: 58.01 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.17e-05/2.647, allocations: 4 kB / 1.147 GB, free: 58 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.731e-05/2.647, allocations: 15.94 kB / 1.147 GB, free: 57.99 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.998e-06/2.647, allocations: 7.938 kB / 1.147 GB, free: 57.98 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.58e-05/2.647, allocations: 91.22 kB / 1.147 GB, free: 57.89 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.8e-07/2.647, allocations: 0 / 1.147 GB, free: 57.89 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001346/2.648, allocations: 331.5 kB / 1.148 GB, free: 57.57 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.001564/2.65, allocations: 0.7254 MB / 1.148 GB, free: 56.87 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001148/2.65, allocations: 20 kB / 1.148 GB, free: 56.85 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/2.65, allocations: 0 / 1.148 GB, free: 56.85 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.112e-05/2.65, allocations: 19.92 kB / 1.149 GB, free: 56.83 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001835/2.65, allocations: 11.98 kB / 1.149 GB, free: 56.82 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003142/2.651, allocations: 95.95 kB / 1.149 GB, free: 56.7 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001726/2.651, allocations: 0.6954 MB / 1.149 GB, free: 55.98 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001121/2.651, allocations: 44.08 kB / 1.149 GB, free: 55.94 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.795e-05/2.651, allocations: 19.42 kB / 1.149 GB, free: 55.92 MB / 426.7 MB Notification: Performance of SimCode: time 7.42e-07/2.651, allocations: 0 / 1.149 GB, free: 55.92 MB / 426.7 MB Notification: Performance of Templates: time 0.01137/2.662, allocations: 8.286 MB / 1.157 GB, free: 47.63 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat","/var/lib/jenkins/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_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches