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.001238/0.001238, allocations: 196.8 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.658/1.658, allocations: 225.4 MB / 240.1 MB, free: 15.13 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009543/0.0009541, allocations: 86.98 kB / 292.1 MB, free: 5.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.026e-05/4.065e-05, allocations: 0 / 350.5 MB, free: 2.562 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1353, allocations: 51.48 MB / 402 MB, free: 15.03 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.515/1.65, allocations: 0.5431 GB / 0.9357 GB, free: 2.473 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003062/1.651, allocations: 73.28 kB / 0.9358 GB, free: 2.402 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5393/2.19, allocations: 117.5 MB / 1.051 GB, free: 76.77 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.565e-06/2.19, allocations: 0 / 1.051 GB, free: 76.77 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.355e-06/2.19, allocations: 0 / 1.051 GB, free: 76.77 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.001459/2.192, allocations: 0.5635 MB / 1.051 GB, free: 76.17 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.218e-05/2.192, allocations: 12.03 kB / 1.051 GB, free: 76.16 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001408/2.192, allocations: 8 kB / 1.051 GB, free: 76.15 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/2.192, allocations: 183.1 kB / 1.051 GB, free: 75.93 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/2.192, allocations: 0 / 1.051 GB, free: 75.93 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.794e-05/2.192, allocations: 8 kB / 1.051 GB, free: 75.93 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000123/2.192, allocations: 66.94 kB / 1.051 GB, free: 75.85 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/2.192, allocations: 0 / 1.051 GB, free: 75.85 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/2.192, allocations: 0 / 1.051 GB, free: 75.85 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/2.192, allocations: 0 / 1.051 GB, free: 75.85 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.946e-05/2.192, allocations: 16 kB / 1.051 GB, free: 75.84 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000162/2.193, allocations: 186.5 kB / 1.052 GB, free: 75.6 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002312/2.193, allocations: 77.22 kB / 1.052 GB, free: 75.51 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.865e-05/2.193, allocations: 17.78 kB / 1.052 GB, free: 75.48 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0707/2.264, allocations: 35.88 MB / 1.087 GB, free: 36.18 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.628e-05/2.264, allocations: 34.55 kB / 1.087 GB, free: 36.14 MB / 458.7 MB Notification: Performance of pre-optimization done (n=6): time 4.008e-06/2.264, allocations: 0 / 1.087 GB, free: 36.14 MB / 458.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003235/2.264, allocations: 61.62 kB / 1.087 GB, free: 36.07 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/2.264, allocations: 81.11 kB / 1.087 GB, free: 35.97 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/2.264, allocations: 113 kB / 1.087 GB, free: 35.86 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/2.264, allocations: 29.7 kB / 1.087 GB, free: 35.82 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.066e-05/2.264, allocations: 84.14 kB / 1.087 GB, free: 35.74 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.878e-05/2.264, allocations: 15.72 kB / 1.087 GB, free: 35.72 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.518e-06/2.264, allocations: 0 / 1.087 GB, free: 35.72 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.086e-05/2.264, allocations: 318.8 kB / 1.087 GB, free: 35.4 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.696e-05/2.264, allocations: 8 kB / 1.087 GB, free: 35.39 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.524e-05/2.265, allocations: 25.72 kB / 1.087 GB, free: 35.36 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.123e-05/2.265, allocations: 7.984 kB / 1.087 GB, free: 35.36 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/2.265, allocations: 0 / 1.087 GB, free: 35.36 MB / 458.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.805e-05/2.265, allocations: 65.62 kB / 1.087 GB, free: 35.29 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/2.265, allocations: 7.953 kB / 1.087 GB, free: 35.28 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/2.265, allocations: 7.984 kB / 1.087 GB, free: 35.27 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/2.265, allocations: 0.5625 kB / 1.087 GB, free: 35.27 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.996e-05/2.265, allocations: 8 kB / 1.088 GB, free: 35.26 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/2.265, allocations: 0 / 1.088 GB, free: 35.26 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.546e-05/2.265, allocations: 11.91 kB / 1.088 GB, free: 35.25 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.588e-05/2.265, allocations: 0 / 1.088 GB, free: 35.25 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 () * 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.671e-05/2.265, allocations: 120.8 kB / 1.088 GB, free: 35.12 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.488e-05/2.265, allocations: 6.344 kB / 1.088 GB, free: 35.12 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002253/2.265, allocations: 105.6 kB / 1.088 GB, free: 35.01 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/2.265, allocations: 4 kB / 1.088 GB, free: 35 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/2.265, allocations: 0 / 1.088 GB, free: 35 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/2.265, allocations: 0 / 1.088 GB, free: 35 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001318/2.265, allocations: 173.6 kB / 1.088 GB, free: 34.79 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/2.265, allocations: 0 / 1.088 GB, free: 34.79 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.44e-05/2.265, allocations: 12.11 kB / 1.088 GB, free: 34.77 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/2.266, allocations: 0 / 1.088 GB, free: 34.77 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/2.266, allocations: 8 kB / 1.088 GB, free: 34.77 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/2.266, allocations: 7.891 kB / 1.088 GB, free: 34.76 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/2.266, allocations: 0 / 1.088 GB, free: 34.76 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00012/2.266, allocations: 107.7 kB / 1.088 GB, free: 34.62 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.708e-05/2.266, allocations: 89 kB / 1.088 GB, free: 34.52 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.04e-05/2.266, allocations: 11.95 kB / 1.088 GB, free: 34.51 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.774e-05/2.266, allocations: 0 / 1.088 GB, free: 34.51 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.369e-05/2.266, allocations: 7.984 kB / 1.088 GB, free: 34.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.118e-06/2.266, allocations: 4 kB / 1.088 GB, free: 34.5 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.038e-05/2.266, allocations: 101.5 kB / 1.088 GB, free: 34.4 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.31e-07/2.266, allocations: 0 / 1.088 GB, free: 34.4 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001407/2.267, allocations: 331.5 kB / 1.089 GB, free: 34.07 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 () * 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.001587/2.269, allocations: 0.7105 MB / 1.089 GB, free: 33.36 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001239/2.269, allocations: 31.98 kB / 1.089 GB, free: 33.32 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/2.269, allocations: 2.344 kB / 1.089 GB, free: 33.32 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 3.465e-05/2.269, allocations: 23.88 kB / 1.089 GB, free: 33.3 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001822/2.269, allocations: 8 kB / 1.089 GB, free: 33.29 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003292/2.27, allocations: 97.92 kB / 1.089 GB, free: 33.17 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001641/2.27, allocations: 0.6848 MB / 1.09 GB, free: 32.46 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.000115/2.27, allocations: 51.58 kB / 1.09 GB, free: 32.41 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.945e-05/2.27, allocations: 19.42 kB / 1.09 GB, free: 32.39 MB / 458.7 MB Notification: Performance of SimCode: time 2.61e-07/2.27, allocations: 0 / 1.09 GB, free: 32.39 MB / 458.7 MB Notification: Performance of Templates: time 0.01306/2.283, allocations: 9.596 MB / 1.1 GB, free: 22.83 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