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.001019/0.001019, allocations: 198.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.606/1.606, allocations: 225.6 MB / 234.8 MB, free: 3.203 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001063/0.001064, allocations: 100.2 kB / 286.7 MB, free: 5.281 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.85e-05/1.84e-05, allocations: 0 / 343.7 MB, free: 8.277 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.157, allocations: 51.47 MB / 395.2 MB, free: 4.766 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.942/2.1, allocations: 0.5424 GB / 0.9283 GB, free: 134.4 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002708/2.1, allocations: 71.95 kB / 0.9284 GB, free: 134.4 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1783/2.278, allocations: 114 MB / 1.04 GB, free: 47.5 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.333e-06/2.278, allocations: 5.688 kB / 1.04 GB, free: 47.5 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.002e-05/2.278, allocations: 0 / 1.04 GB, free: 47.5 MB / 442.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.001641/2.28, allocations: 0.5631 MB / 1.04 GB, free: 46.89 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/2.28, allocations: 8.031 kB / 1.04 GB, free: 46.89 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001783/2.28, allocations: 7.984 kB / 1.04 GB, free: 46.88 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001806/2.28, allocations: 188.4 kB / 1.04 GB, free: 46.66 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.139e-05/2.28, allocations: 0 / 1.04 GB, free: 46.66 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.442e-05/2.28, allocations: 7.938 kB / 1.041 GB, free: 46.65 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.293e-05/2.281, allocations: 19.55 kB / 1.041 GB, free: 46.63 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/2.281, allocations: 63.39 kB / 1.041 GB, free: 46.56 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/2.281, allocations: 0 / 1.041 GB, free: 46.56 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/2.281, allocations: 0 / 1.041 GB, free: 46.56 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/2.281, allocations: 4 kB / 1.041 GB, free: 46.55 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000183/2.281, allocations: 143.2 kB / 1.041 GB, free: 46.38 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002376/2.281, allocations: 77.23 kB / 1.041 GB, free: 46.28 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.419e-05/2.281, allocations: 17.78 kB / 1.041 GB, free: 46.26 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07317/2.354, allocations: 35.87 MB / 1.076 GB, free: 6.965 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.329e-05/2.355, allocations: 42.52 kB / 1.076 GB, free: 6.914 MB / 442.7 MB Notification: Performance of pre-optimization done (n=6): time 5.821e-06/2.355, allocations: 3.188 kB / 1.076 GB, free: 6.914 MB / 442.7 MB Notification: Performance of matching and sorting (n=6): time 0.001341/2.356, allocations: 149.5 kB / 1.076 GB, free: 6.762 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/2.356, allocations: 81.11 kB / 1.076 GB, free: 6.664 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/2.356, allocations: 101 kB / 1.076 GB, free: 6.559 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.692e-05/2.356, allocations: 29.7 kB / 1.076 GB, free: 6.523 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.394e-05/2.356, allocations: 84.14 kB / 1.076 GB, free: 6.438 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.583e-05/2.356, allocations: 19.66 kB / 1.076 GB, free: 6.418 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.12e-06/2.356, allocations: 4 kB / 1.076 GB, free: 6.414 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.325e-05/2.356, allocations: 318.8 kB / 1.077 GB, free: 6.094 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.561e-05/2.356, allocations: 4 kB / 1.077 GB, free: 6.09 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.799e-05/2.356, allocations: 25.66 kB / 1.077 GB, free: 6.059 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009107/2.357, allocations: 103.9 kB / 1.077 GB, free: 5.957 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/2.357, allocations: 0 / 1.077 GB, free: 5.957 MB / 442.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0009051/2.358, allocations: 145.6 kB / 1.077 GB, free: 5.809 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/2.358, allocations: 4 kB / 1.077 GB, free: 5.805 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.824e-06/2.358, allocations: 4 kB / 1.077 GB, free: 5.801 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/2.358, allocations: 7.953 kB / 1.077 GB, free: 5.793 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.337e-05/2.358, allocations: 15.92 kB / 1.077 GB, free: 5.777 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/2.358, allocations: 0 / 1.077 GB, free: 5.777 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.61e-05/2.358, allocations: 3.906 kB / 1.077 GB, free: 5.773 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.622e-05/2.359, allocations: 8 kB / 1.077 GB, free: 5.766 MB / 442.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.986e-05/2.359, allocations: 101 kB / 1.077 GB, free: 5.66 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.253e-05/2.359, allocations: 4 kB / 1.077 GB, free: 5.656 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009775/2.36, allocations: 197.4 kB / 1.077 GB, free: 5.461 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/2.36, allocations: 0 / 1.077 GB, free: 5.461 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/2.36, allocations: 12.3 kB / 1.077 GB, free: 5.449 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/2.36, allocations: 4 kB / 1.077 GB, free: 5.445 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001237/2.36, allocations: 142.2 kB / 1.077 GB, free: 5.27 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/2.36, allocations: 0 / 1.077 GB, free: 5.27 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.94e-05/2.36, allocations: 15.92 kB / 1.077 GB, free: 5.254 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/2.36, allocations: 4 kB / 1.077 GB, free: 5.25 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/2.36, allocations: 4 kB / 1.077 GB, free: 5.246 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/2.36, allocations: 0 / 1.077 GB, free: 5.246 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/2.36, allocations: 0 / 1.077 GB, free: 5.246 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008547/2.361, allocations: 197.4 kB / 1.078 GB, free: 5.027 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.013e-05/2.361, allocations: 96.94 kB / 1.078 GB, free: 4.914 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.128e-05/2.361, allocations: 4 kB / 1.078 GB, free: 4.91 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.614e-05/2.361, allocations: 4 kB / 1.078 GB, free: 4.906 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.329e-05/2.361, allocations: 7.938 kB / 1.078 GB, free: 4.898 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/2.361, allocations: 4 kB / 1.078 GB, free: 4.895 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.484e-05/2.361, allocations: 91.27 kB / 1.078 GB, free: 4.805 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.51e-07/2.361, allocations: 0 / 1.078 GB, free: 4.805 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001732/2.363, allocations: 331.6 kB / 1.078 GB, free: 4.48 MB / 442.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.002586/2.365, allocations: 0.7236 MB / 1.079 GB, free: 3.746 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001299/2.366, allocations: 28 kB / 1.079 GB, free: 3.719 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/2.366, allocations: 4 kB / 1.079 GB, free: 3.715 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.269e-05/2.366, allocations: 16.22 kB / 1.079 GB, free: 3.699 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002019/2.366, allocations: 18.36 kB / 1.079 GB, free: 3.684 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003657/2.366, allocations: 92 kB / 1.079 GB, free: 3.57 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001531/2.366, allocations: 0.6904 MB / 1.08 GB, free: 2.855 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001332/2.367, allocations: 50.48 kB / 1.08 GB, free: 2.805 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.168e-05/2.367, allocations: 19.44 kB / 1.08 GB, free: 2.785 MB / 442.7 MB Notification: Performance of SimCode: time 3.8e-07/2.367, allocations: 0 / 1.08 GB, free: 2.785 MB / 442.7 MB Notification: Performance of Templates: time 0.339/2.706, allocations: 8.273 MB / 1.088 GB, free: 121.8 MB / 442.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