Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 176.5 kB / 17.4 MB, free: 4.402 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 223.3 MB / 241.4 MB, free: 11.71 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000852/0.000852, allocations: 103.2 kB / 292.6 MB, free: 10.8 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003488/0.000349, allocations: 15.94 kB / 352.3 MB, free: 15.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2129/0.2133, allocations: 50.4 MB / 402.7 MB, free: 32.48 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.067/1.28, allocations: 0.5425 GB / 0.9358 GB, free: 108 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002443/1.281, allocations: 81.11 kB / 0.9359 GB, free: 107.9 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3967/1.677, allocations: 113.7 MB / 1.047 GB, free: 156.7 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.455e-06/1.677, allocations: 0 / 1.047 GB, free: 156.7 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.716e-06/1.677, allocations: 0 / 1.047 GB, free: 156.7 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.001408/1.679, allocations: 0.5762 MB / 1.048 GB, free: 156.2 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/1.679, allocations: 7.25 kB / 1.048 GB, free: 156.2 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001484/1.679, allocations: 12.09 kB / 1.048 GB, free: 156.2 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001527/1.679, allocations: 183 kB / 1.048 GB, free: 156 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/1.679, allocations: 7.75 kB / 1.048 GB, free: 156 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.374e-05/1.679, allocations: 384 / 1.048 GB, free: 156 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/1.679, allocations: 69.39 kB / 1.048 GB, free: 156 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/1.679, allocations: 4.156 kB / 1.048 GB, free: 156 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.222e-05/1.679, allocations: 7.312 kB / 1.048 GB, free: 155.9 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/1.679, allocations: 0 / 1.048 GB, free: 155.9 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000116/1.679, allocations: 21 kB / 1.048 GB, free: 155.9 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002179/1.68, allocations: 171.3 kB / 1.048 GB, free: 155.8 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000304/1.68, allocations: 85.97 kB / 1.048 GB, free: 155.7 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.003e-05/1.68, allocations: 27.27 kB / 1.048 GB, free: 155.7 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06851/1.749, allocations: 35.41 MB / 1.083 GB, free: 137.4 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/1.749, allocations: 32.06 kB / 1.083 GB, free: 137.3 MB / 458.7 MB Notification: Performance of pre-optimization done (n=6): time 2.736e-06/1.749, allocations: 0 / 1.083 GB, free: 137.3 MB / 458.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003223/1.749, allocations: 88.38 kB / 1.083 GB, free: 137.3 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.513e-05/1.749, allocations: 77.11 kB / 1.083 GB, free: 137.2 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.872e-05/1.749, allocations: 117.8 kB / 1.083 GB, free: 137.1 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.229e-05/1.749, allocations: 29.33 kB / 1.083 GB, free: 137.1 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.025e-05/1.749, allocations: 80.14 kB / 1.083 GB, free: 137 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.035e-05/1.749, allocations: 26.95 kB / 1.083 GB, free: 137 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-06/1.749, allocations: 1.5 kB / 1.083 GB, free: 137 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 4.264e-05/1.749, allocations: 318.1 kB / 1.083 GB, free: 136.7 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.48e-05/1.749, allocations: 7.609 kB / 1.083 GB, free: 136.7 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.886e-05/1.749, allocations: 35.61 kB / 1.083 GB, free: 136.6 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.902e-05/1.75, allocations: 37.77 kB / 1.084 GB, free: 136.6 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/1.75, allocations: 3.938 kB / 1.084 GB, free: 136.6 MB / 458.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001298/1.75, allocations: 72.83 kB / 1.084 GB, free: 136.6 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/1.75, allocations: 3.969 kB / 1.084 GB, free: 136.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/1.75, allocations: 7.906 kB / 1.084 GB, free: 136.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/1.75, allocations: 0 / 1.084 GB, free: 136.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.497e-05/1.75, allocations: 7.875 kB / 1.084 GB, free: 136.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/1.75, allocations: 4 kB / 1.084 GB, free: 136.6 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.477e-05/1.75, allocations: 17.14 kB / 1.084 GB, free: 136.6 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.162e-05/1.75, allocations: 3.5 kB / 1.084 GB, free: 136.6 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 5.007e-05/1.75, allocations: 109.6 kB / 1.084 GB, free: 136.5 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.293e-05/1.75, allocations: 3.438 kB / 1.084 GB, free: 136.5 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002368/1.75, allocations: 114.2 kB / 1.084 GB, free: 136.4 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/1.75, allocations: 3.531 kB / 1.084 GB, free: 136.4 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/1.75, allocations: 0 / 1.084 GB, free: 136.4 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/1.75, allocations: 0 / 1.084 GB, free: 136.4 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.569e-05/1.75, allocations: 169.6 kB / 1.084 GB, free: 136.2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/1.75, allocations: 0 / 1.084 GB, free: 136.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.344e-05/1.75, allocations: 17.02 kB / 1.084 GB, free: 136.2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/1.75, allocations: 0 / 1.084 GB, free: 136.2 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.635e-06/1.75, allocations: 3.938 kB / 1.084 GB, free: 136.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/1.75, allocations: 7.094 kB / 1.084 GB, free: 136.2 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/1.75, allocations: 0 / 1.084 GB, free: 136.2 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001357/1.751, allocations: 94.41 kB / 1.084 GB, free: 136.1 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.664e-05/1.751, allocations: 98.61 kB / 1.084 GB, free: 136 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.582e-05/1.751, allocations: 7 kB / 1.084 GB, free: 136 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.187e-05/1.751, allocations: 3.531 kB / 1.084 GB, free: 136 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.292e-05/1.751, allocations: 7.562 kB / 1.084 GB, free: 136 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.674e-06/1.751, allocations: 3.406 kB / 1.084 GB, free: 136 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.404e-05/1.751, allocations: 95.28 kB / 1.084 GB, free: 135.9 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.21e-07/1.751, allocations: 3.938 kB / 1.084 GB, free: 135.9 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0009214/1.752, allocations: 340.8 kB / 1.085 GB, free: 135.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.001363/1.753, allocations: 0.7123 MB / 1.085 GB, free: 135.4 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001478/1.753, allocations: 37.56 kB / 1.085 GB, free: 135.3 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/1.753, allocations: 4 kB / 1.085 GB, free: 135.3 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 5.061e-05/1.753, allocations: 17.58 kB / 1.085 GB, free: 135.3 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001938/1.754, allocations: 14.75 kB / 1.085 GB, free: 135.3 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003727/1.754, allocations: 190 kB / 1.086 GB, free: 135.1 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001037/1.754, allocations: 0.6847 MB / 1.086 GB, free: 134.4 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.000104/1.754, allocations: 53.08 kB / 1.086 GB, free: 134.4 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.56e-05/1.754, allocations: 22.8 kB / 1.086 GB, free: 134.4 MB / 458.7 MB Notification: Performance of SimCode: time 7.91e-07/1.754, allocations: 0 / 1.086 GB, free: 134.4 MB / 458.7 MB Notification: Performance of Templates: time 0.01181/1.766, allocations: 9.539 MB / 1.096 GB, free: 128.5 MB / 458.7 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat","/var/lib/jenkins1/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_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches