Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.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_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001501/0.001501, allocations: 185.5 kB / 16.41 MB, free: 5.727 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.906/1.906, allocations: 205.4 MB / 222.5 MB, free: 9.129 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.001158/0.001158, allocations: 91.61 kB / 270.9 MB, free: 8.391 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004019/0.0004018, allocations: 8 kB / 327 MB, free: 224 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.3322, allocations: 47.56 MB / 374.5 MB, free: 45.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 19.01/19.34, allocations: 6.612 GB / 6.977 GB, free: 14.41 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002761/19.34, allocations: 79.33 kB / 6.978 GB, free: 14.36 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9779/20.32, allocations: 179.7 MB / 7.153 GB, free: 10.93 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.523e-06/20.32, allocations: 0 / 7.153 GB, free: 10.93 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.153e-06/20.32, allocations: 0 / 7.153 GB, free: 10.93 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.005105/20.33, allocations: 1.095 MB / 7.154 GB, free: 9.781 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/20.33, allocations: 12.03 kB / 7.154 GB, free: 9.77 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.848e-05/20.33, allocations: 3.906 kB / 7.154 GB, free: 9.766 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001721/20.33, allocations: 202.8 kB / 7.154 GB, free: 9.527 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/20.33, allocations: 0 / 7.154 GB, free: 9.527 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.613e-05/20.33, allocations: 3.984 kB / 7.154 GB, free: 9.523 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002149/20.33, allocations: 79.31 kB / 7.154 GB, free: 9.434 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/20.33, allocations: 0 / 7.154 GB, free: 9.434 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.625e-05/20.33, allocations: 4 kB / 7.154 GB, free: 9.43 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/20.33, allocations: 0 / 7.154 GB, free: 9.43 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002063/20.33, allocations: 39.95 kB / 7.154 GB, free: 9.391 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000216/20.33, allocations: 190.5 kB / 7.155 GB, free: 9.152 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004047/20.33, allocations: 97.27 kB / 7.155 GB, free: 9.039 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.493e-05/20.33, allocations: 16.08 kB / 7.155 GB, free: 9.023 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.898e-05/20.33, allocations: 30.56 kB / 7.155 GB, free: 8.984 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.833e-06/20.33, allocations: 0 / 7.155 GB, free: 8.984 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004434/20.33, allocations: 97.58 kB / 7.155 GB, free: 8.883 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.15e-05/20.33, allocations: 81.11 kB / 7.155 GB, free: 8.785 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/20.33, allocations: 133.1 kB / 7.155 GB, free: 8.645 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/20.33, allocations: 26.08 kB / 7.155 GB, free: 8.613 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.307e-05/20.33, allocations: 150.6 kB / 7.155 GB, free: 8.465 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.565e-05/20.33, allocations: 27.64 kB / 7.155 GB, free: 8.438 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.075e-06/20.33, allocations: 0 / 7.155 GB, free: 8.438 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.634e-05/20.33, allocations: 322.7 kB / 7.156 GB, free: 8.113 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.909e-05/20.33, allocations: 15.98 kB / 7.156 GB, free: 8.098 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001062/20.33, allocations: 33.7 kB / 7.156 GB, free: 8.059 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001044/20.33, allocations: 19.92 kB / 7.156 GB, free: 8.039 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/20.33, allocations: 0 / 7.156 GB, free: 8.039 MB / 426.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002729/20.33, allocations: 81.59 kB / 7.156 GB, free: 7.953 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/20.33, allocations: 7.984 kB / 7.156 GB, free: 7.945 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/20.33, allocations: 4 kB / 7.156 GB, free: 7.941 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/20.33, allocations: 0 / 7.156 GB, free: 7.941 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/20.33, allocations: 8 kB / 7.156 GB, free: 7.934 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/20.33, allocations: 4 kB / 7.156 GB, free: 7.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.262e-05/20.33, allocations: 7.906 kB / 7.156 GB, free: 7.922 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.608e-05/20.33, allocations: 8.453 kB / 7.156 GB, free: 7.914 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 () * 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 7.471e-05/20.33, allocations: 117.8 kB / 7.156 GB, free: 7.789 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.43e-05/20.33, allocations: 4 kB / 7.156 GB, free: 7.785 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003804/20.33, allocations: 105.5 kB / 7.156 GB, free: 7.672 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/20.33, allocations: 4 kB / 7.156 GB, free: 7.668 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/20.33, allocations: 0 / 7.156 GB, free: 7.668 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/20.33, allocations: 128 / 7.156 GB, free: 7.668 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001435/20.33, allocations: 189.5 kB / 7.156 GB, free: 7.434 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/20.33, allocations: 4 kB / 7.156 GB, free: 7.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001049/20.33, allocations: 11.94 kB / 7.156 GB, free: 7.418 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/20.33, allocations: 0 / 7.156 GB, free: 7.418 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/20.33, allocations: 4 kB / 7.156 GB, free: 7.414 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/20.33, allocations: 3.984 kB / 7.156 GB, free: 7.41 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/20.33, allocations: 0 / 7.156 GB, free: 7.41 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002905/20.33, allocations: 123.7 kB / 7.156 GB, free: 7.262 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.686e-05/20.33, allocations: 104.9 kB / 7.156 GB, free: 7.141 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.529e-05/20.33, allocations: 0 / 7.156 GB, free: 7.141 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001283/20.33, allocations: 11.98 kB / 7.156 GB, free: 7.129 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.084e-05/20.33, allocations: 4 kB / 7.156 GB, free: 7.125 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.025e-05/20.33, allocations: 11.92 kB / 7.156 GB, free: 7.113 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.302e-05/20.33, allocations: 103.3 kB / 7.157 GB, free: 7.012 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.01e-07/20.33, allocations: 288 / 7.157 GB, free: 7.012 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004772/20.34, allocations: 0.9833 MB / 7.158 GB, free: 6.027 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 () * 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.009875/20.35, allocations: 1.474 MB / 7.159 GB, free: 4.555 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003283/20.35, allocations: 43.97 kB / 7.159 GB, free: 4.512 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/20.35, allocations: 3.938 kB / 7.159 GB, free: 4.508 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001128/20.35, allocations: 31.98 kB / 7.159 GB, free: 4.477 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002701/20.35, allocations: 23.88 kB / 7.159 GB, free: 4.453 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005132/20.35, allocations: 236.9 kB / 7.159 GB, free: 4.184 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001292/20.35, allocations: 0.6887 MB / 7.16 GB, free: 3.469 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.791e-05/20.35, allocations: 23.42 kB / 7.16 GB, free: 3.449 MB / 426.7 MB Notification: Performance of SimCode: time 8.62e-07/20.35, allocations: 0 / 7.16 GB, free: 3.449 MB / 426.7 MB Notification: Performance of Templates: time 0.3423/20.69, allocations: 22.92 MB / 7.182 GB, free: 76.25 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/Inverse_sh_TX/Inverse_sh_TX.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches