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.002415/0.002415, allocations: 171.6 kB / 14.1 MB, free: 1.219 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.767/1.767, allocations: 205.2 MB / 219.8 MB, free: 14.28 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.001074/0.001074, allocations: 90.64 kB / 268 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.494e-05/3.498e-05, allocations: 4 kB / 322.4 MB, free: 17.37 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1186, allocations: 47.58 MB / 370 MB, free: 1.723 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.848/1.966, allocations: 0.6442 GB / 1.006 GB, free: 12.94 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002531/1.967, allocations: 78.14 kB / 1.006 GB, free: 12.9 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4738/2.44, allocations: 117.1 MB / 1.12 GB, free: 73.58 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.994e-06/2.441, allocations: 0 / 1.12 GB, free: 73.58 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.061e-05/2.441, allocations: 0 / 1.12 GB, free: 73.58 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.001615/2.442, allocations: 0.557 MB / 1.121 GB, free: 72.98 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.56e-05/2.442, allocations: 12.03 kB / 1.121 GB, free: 72.96 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001708/2.442, allocations: 7.984 kB / 1.121 GB, free: 72.96 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001781/2.443, allocations: 190.8 kB / 1.121 GB, free: 72.73 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/2.443, allocations: 0 / 1.121 GB, free: 72.73 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.958e-05/2.443, allocations: 3.953 kB / 1.121 GB, free: 72.73 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001393/2.443, allocations: 67.41 kB / 1.121 GB, free: 72.65 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.507e-06/2.443, allocations: 0 / 1.121 GB, free: 72.65 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/2.443, allocations: 0 / 1.121 GB, free: 72.65 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/2.443, allocations: 0 / 1.121 GB, free: 72.65 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.815e-05/2.443, allocations: 23.92 kB / 1.121 GB, free: 72.62 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002046/2.443, allocations: 174.6 kB / 1.121 GB, free: 72.4 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002535/2.443, allocations: 73.14 kB / 1.121 GB, free: 72.31 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.078e-05/2.443, allocations: 25.95 kB / 1.121 GB, free: 72.28 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07057/2.514, allocations: 35.87 MB / 1.156 GB, free: 32.95 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.487e-05/2.514, allocations: 38.52 kB / 1.156 GB, free: 32.91 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 3.566e-06/2.514, allocations: 0 / 1.156 GB, free: 32.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003195/2.514, allocations: 65.61 kB / 1.156 GB, free: 32.84 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.724e-05/2.515, allocations: 77.11 kB / 1.156 GB, free: 32.74 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/2.515, allocations: 104.9 kB / 1.156 GB, free: 32.63 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/2.515, allocations: 29.7 kB / 1.156 GB, free: 32.6 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.672e-05/2.515, allocations: 88.12 kB / 1.157 GB, free: 32.51 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.076e-05/2.515, allocations: 23.66 kB / 1.157 GB, free: 32.48 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.989e-06/2.515, allocations: 4 kB / 1.157 GB, free: 32.48 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.203e-05/2.515, allocations: 318.8 kB / 1.157 GB, free: 32.16 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.746e-05/2.515, allocations: 11.94 kB / 1.157 GB, free: 32.15 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.634e-05/2.515, allocations: 25.66 kB / 1.157 GB, free: 32.12 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.276e-05/2.515, allocations: 8.078 kB / 1.157 GB, free: 32.11 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/2.515, allocations: 0 / 1.157 GB, free: 32.11 MB / 426.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.786e-05/2.515, allocations: 65.61 kB / 1.157 GB, free: 32.04 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/2.515, allocations: 8 kB / 1.157 GB, free: 32.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/2.515, allocations: 3.953 kB / 1.157 GB, free: 32.03 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/2.515, allocations: 4 kB / 1.157 GB, free: 32.03 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.145e-05/2.515, allocations: 15.98 kB / 1.157 GB, free: 32.01 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/2.515, allocations: 0 / 1.157 GB, free: 32.01 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.237e-05/2.515, allocations: 7.906 kB / 1.157 GB, free: 32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.526e-05/2.515, allocations: 0 / 1.157 GB, free: 32 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.969e-05/2.515, allocations: 105 kB / 1.157 GB, free: 31.89 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.379e-05/2.515, allocations: 4 kB / 1.157 GB, free: 31.89 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002196/2.516, allocations: 109.4 kB / 1.157 GB, free: 31.77 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/2.516, allocations: 3.953 kB / 1.157 GB, free: 31.77 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/2.516, allocations: 0 / 1.157 GB, free: 31.77 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/2.516, allocations: 0 / 1.157 GB, free: 31.77 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001254/2.516, allocations: 169.6 kB / 1.157 GB, free: 31.55 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/2.516, allocations: 0 / 1.157 GB, free: 31.55 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.829e-05/2.516, allocations: 19.98 kB / 1.157 GB, free: 31.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/2.516, allocations: 0 / 1.157 GB, free: 31.54 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/2.516, allocations: 4 kB / 1.157 GB, free: 31.53 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/2.516, allocations: 0 / 1.157 GB, free: 31.53 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/2.516, allocations: 3.953 kB / 1.157 GB, free: 31.53 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001272/2.516, allocations: 99.64 kB / 1.158 GB, free: 31.4 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.493e-05/2.516, allocations: 101 kB / 1.158 GB, free: 31.29 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.906e-05/2.516, allocations: 4 kB / 1.158 GB, free: 31.28 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.405e-05/2.516, allocations: 11.89 kB / 1.158 GB, free: 31.27 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.572e-05/2.516, allocations: 7.984 kB / 1.158 GB, free: 31.26 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/2.516, allocations: 7.938 kB / 1.158 GB, free: 31.25 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.748e-05/2.516, allocations: 91.58 kB / 1.158 GB, free: 31.16 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/2.516, allocations: 0 / 1.158 GB, free: 31.16 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00131/2.518, allocations: 339.5 kB / 1.158 GB, free: 30.83 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.001532/2.519, allocations: 0.7137 MB / 1.159 GB, free: 30.11 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001201/2.519, allocations: 32.89 kB / 1.159 GB, free: 30.08 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/2.519, allocations: 0 / 1.159 GB, free: 30.08 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.469e-05/2.519, allocations: 19.92 kB / 1.159 GB, free: 30.06 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000167/2.52, allocations: 8 kB / 1.159 GB, free: 30.05 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003168/2.52, allocations: 89.77 kB / 1.159 GB, free: 29.94 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001581/2.52, allocations: 0.6887 MB / 1.16 GB, free: 29.22 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001092/2.52, allocations: 44.3 kB / 1.16 GB, free: 29.18 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.846e-05/2.52, allocations: 31.36 kB / 1.16 GB, free: 29.14 MB / 426.7 MB Notification: Performance of SimCode: time 2.51e-07/2.52, allocations: 0 / 1.16 GB, free: 29.14 MB / 426.7 MB Notification: Performance of Templates: time 0.0124/2.533, allocations: 9.605 MB / 1.169 GB, free: 19.53 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