Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00125/0.00125, allocations: 198.6 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.26/1.26, allocations: 227.2 MB / 245 MB, free: 5.914 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001072/0.001072, allocations: 99.25 kB / 297.3 MB, free: 5.969 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002408/0.0002409, allocations: 8 kB / 357.9 MB, free: 9.332 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2295/0.2297, allocations: 51.48 MB / 409.4 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.09/1.319, allocations: 0.5431 GB / 0.943 GB, free: 68.46 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000242/1.32, allocations: 77.12 kB / 0.943 GB, free: 68.43 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3928/1.712, allocations: 117.6 MB / 1.058 GB, free: 141.9 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.014e-06/1.712, allocations: 0 / 1.058 GB, free: 141.9 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.315e-06/1.713, allocations: 0 / 1.058 GB, free: 141.9 MB / 458.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.001261/1.714, allocations: 0.5779 MB / 1.058 GB, free: 141.3 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.138e-05/1.714, allocations: 12.03 kB / 1.058 GB, free: 141.3 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001556/1.714, allocations: 11.61 kB / 1.059 GB, free: 141.3 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/1.714, allocations: 174.3 kB / 1.059 GB, free: 141.1 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.935e-05/1.714, allocations: 4 kB / 1.059 GB, free: 141.1 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.64e-05/1.714, allocations: 3.953 kB / 1.059 GB, free: 141.1 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/1.714, allocations: 73.78 kB / 1.059 GB, free: 141 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/1.714, allocations: 0 / 1.059 GB, free: 141 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/1.714, allocations: 0 / 1.059 GB, free: 141 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/1.714, allocations: 0 / 1.059 GB, free: 141 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001047/1.715, allocations: 26.31 kB / 1.059 GB, free: 141 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000192/1.715, allocations: 177.2 kB / 1.059 GB, free: 140.8 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002827/1.715, allocations: 81.03 kB / 1.059 GB, free: 140.7 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06885/1.784, allocations: 35.41 MB / 1.094 GB, free: 105 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.515e-05/1.784, allocations: 46.52 kB / 1.094 GB, free: 105 MB / 458.7 MB Notification: Performance of pre-optimization done (n=6): time 4.057e-06/1.784, allocations: 0 / 1.094 GB, free: 105 MB / 458.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003754/1.784, allocations: 85.11 kB / 1.094 GB, free: 104.9 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/1.784, allocations: 83.27 kB / 1.094 GB, free: 104.8 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.128e-05/1.785, allocations: 105 kB / 1.094 GB, free: 104.7 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/1.785, allocations: 29.7 kB / 1.094 GB, free: 104.7 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.591e-05/1.785, allocations: 80.14 kB / 1.094 GB, free: 104.6 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.285e-05/1.785, allocations: 23.66 kB / 1.094 GB, free: 104.6 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.998e-06/1.785, allocations: 4 kB / 1.094 GB, free: 104.6 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 5.14e-05/1.785, allocations: 318.8 kB / 1.094 GB, free: 104.2 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.832e-05/1.785, allocations: 8 kB / 1.094 GB, free: 104.2 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.929e-05/1.785, allocations: 29.64 kB / 1.094 GB, free: 104.2 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.061e-05/1.785, allocations: 15.98 kB / 1.094 GB, free: 104.2 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/1.785, allocations: 0 / 1.094 GB, free: 104.2 MB / 458.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001454/1.785, allocations: 61.67 kB / 1.094 GB, free: 104.1 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/1.785, allocations: 10.19 kB / 1.094 GB, free: 104.1 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/1.785, allocations: 3.953 kB / 1.094 GB, free: 104.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.414e-05/1.785, allocations: 7.938 kB / 1.094 GB, free: 104.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.406e-05/1.785, allocations: 11.94 kB / 1.094 GB, free: 104.1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/1.785, allocations: 0 / 1.094 GB, free: 104.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.121e-05/1.785, allocations: 4 kB / 1.094 GB, free: 104.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/1.785, allocations: 7.984 kB / 1.094 GB, free: 104.1 MB / 458.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 6.736e-05/1.785, allocations: 109.8 kB / 1.095 GB, free: 103.9 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.263e-05/1.785, allocations: 11.91 kB / 1.095 GB, free: 103.9 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000262/1.786, allocations: 101.4 kB / 1.095 GB, free: 103.8 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/1.786, allocations: 7.953 kB / 1.095 GB, free: 103.8 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/1.786, allocations: 3.938 kB / 1.095 GB, free: 103.8 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/1.786, allocations: 3.938 kB / 1.095 GB, free: 103.8 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001091/1.786, allocations: 169.6 kB / 1.095 GB, free: 103.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/1.786, allocations: 7.562 kB / 1.095 GB, free: 103.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.309e-05/1.786, allocations: 19.69 kB / 1.095 GB, free: 103.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/1.786, allocations: 0 / 1.095 GB, free: 103.6 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/1.786, allocations: 0 / 1.095 GB, free: 103.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/1.786, allocations: 0 / 1.095 GB, free: 103.6 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/1.786, allocations: 7.953 kB / 1.095 GB, free: 103.6 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001763/1.786, allocations: 111.6 kB / 1.095 GB, free: 103.4 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.624e-05/1.786, allocations: 93 kB / 1.095 GB, free: 103.3 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.952e-05/1.786, allocations: 0 / 1.095 GB, free: 103.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.263e-05/1.786, allocations: 11.89 kB / 1.095 GB, free: 103.3 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.132e-05/1.786, allocations: 7.984 kB / 1.095 GB, free: 103.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/1.786, allocations: 0 / 1.095 GB, free: 103.3 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.981e-05/1.786, allocations: 99.27 kB / 1.095 GB, free: 103.2 MB / 458.7 MB Notification: Performance of sort global known variables: time 1e-07/1.786, allocations: 0 / 1.095 GB, free: 103.2 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001156/1.788, allocations: 335.5 kB / 1.096 GB, free: 102.9 MB / 458.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.00201/1.79, allocations: 0.7097 MB / 1.096 GB, free: 102.2 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001884/1.79, allocations: 39.91 kB / 1.096 GB, free: 102.1 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/1.79, allocations: 0 / 1.096 GB, free: 102.1 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 6.958e-05/1.79, allocations: 19.98 kB / 1.096 GB, free: 102.1 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001829/1.79, allocations: 9.406 kB / 1.096 GB, free: 102.1 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004458/1.791, allocations: 189.3 kB / 1.096 GB, free: 101.9 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001383/1.791, allocations: 0.6926 MB / 1.097 GB, free: 101.2 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001303/1.791, allocations: 48.06 kB / 1.097 GB, free: 101.1 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.356e-05/1.791, allocations: 15.44 kB / 1.097 GB, free: 101.1 MB / 458.7 MB Notification: Performance of SimCode: time 8.82e-07/1.791, allocations: 0 / 1.097 GB, free: 101.1 MB / 458.7 MB Notification: Performance of Templates: time 0.01254/1.803, allocations: 9.235 MB / 1.106 GB, free: 91.88 MB / 458.7 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_T/Inverse_sh_T.csv","../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches