Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.MixIdealGasAir.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.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.1.|medium2.X.2.|medium2.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.MixIdealGasAir") translateModel(Modelica.Media.Examples.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.1.|medium2.X.2.|medium2.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.MixIdealGasAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001547/0.001547, allocations: 181.1 kB / 16.4 MB, free: 5.723 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.917/1.917, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001127/0.001127, allocations: 90.27 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003874/0.0003874, allocations: 8 kB / 327 MB, free: 204 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3375, allocations: 47.57 MB / 374.5 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.997/2.335, allocations: 0.7293 GB / 1.095 GB, free: 23.38 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000276/2.335, allocations: 78.39 kB / 1.095 GB, free: 23.33 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.415/2.75, allocations: 40.06 MB / 1.134 GB, free: 146.1 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.103e-06/2.75, allocations: 0 / 1.134 GB, free: 146.1 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.347e-05/2.75, allocations: 7.812 kB / 1.134 GB, free: 146.1 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001127/2.752, allocations: 0.5081 MB / 1.135 GB, free: 145.7 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/2.752, allocations: 9.75 kB / 1.135 GB, free: 145.7 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005123/2.757, allocations: 370.7 kB / 1.135 GB, free: 145.6 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005311/2.757, allocations: 269.7 kB / 1.135 GB, free: 145.4 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/2.757, allocations: 12.69 kB / 1.135 GB, free: 145.4 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001215/2.757, allocations: 22.25 kB / 1.135 GB, free: 145.4 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001502/2.759, allocations: 484.6 kB / 1.136 GB, free: 145.4 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/2.759, allocations: 0 / 1.136 GB, free: 145.4 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.474e-05/2.759, allocations: 9.281 kB / 1.136 GB, free: 145.4 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.258e-06/2.759, allocations: 3.906 kB / 1.136 GB, free: 145.4 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00168/2.761, allocations: 0.5054 MB / 1.136 GB, free: 145.4 MB / 426.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003229/2.764, allocations: 0.9929 MB / 1.137 GB, free: 145 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008889/2.765, allocations: 283.5 kB / 1.138 GB, free: 144.9 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00167/2.767, allocations: 0.6624 MB / 1.138 GB, free: 144.3 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/2.767, allocations: 36.41 kB / 1.138 GB, free: 144.3 MB / 426.7 MB Notification: Performance of pre-optimization done (n=29): time 3.637e-06/2.767, allocations: 0 / 1.138 GB, free: 144.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=29): time 0.00149/2.768, allocations: 410.5 kB / 1.139 GB, free: 144.2 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.587e-05/2.768, allocations: 83.58 kB / 1.139 GB, free: 144.2 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.572e-05/2.768, allocations: 99.7 kB / 1.139 GB, free: 144.1 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.29e-05/2.768, allocations: 38.02 kB / 1.139 GB, free: 144 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.994e-05/2.769, allocations: 179.8 kB / 1.139 GB, free: 143.9 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/2.769, allocations: 108.8 kB / 1.139 GB, free: 143.8 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.25e-05/2.769, allocations: 12.31 kB / 1.139 GB, free: 143.8 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.866e-05/2.769, allocations: 319.5 kB / 1.139 GB, free: 143.5 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003781/2.769, allocations: 112.9 kB / 1.14 GB, free: 143.5 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000444/2.77, allocations: 202.5 kB / 1.14 GB, free: 143.4 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004305/2.77, allocations: 139 kB / 1.14 GB, free: 143.4 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/2.77, allocations: 3.875 kB / 1.14 GB, free: 143.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001121/2.771, allocations: 370.2 kB / 1.14 GB, free: 143.4 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/2.771, allocations: 7.375 kB / 1.14 GB, free: 143.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/2.771, allocations: 0 / 1.14 GB, free: 143.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.74e-05/2.771, allocations: 12.16 kB / 1.14 GB, free: 143.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000691/2.772, allocations: 73.36 kB / 1.14 GB, free: 143.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.452e-05/2.772, allocations: 10.73 kB / 1.14 GB, free: 143.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004653/2.773, allocations: 31.8 kB / 1.14 GB, free: 143.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.112e-05/2.773, allocations: 22.88 kB / 1.14 GB, free: 143.3 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (39): * Single equations (assignments): 39 * 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 0.0002109/2.773, allocations: 138.9 kB / 1.141 GB, free: 143.2 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001394/2.773, allocations: 19.09 kB / 1.141 GB, free: 143.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001291/2.774, allocations: 372.7 kB / 1.141 GB, free: 143.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/2.774, allocations: 6.094 kB / 1.141 GB, free: 143.2 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/2.774, allocations: 0 / 1.141 GB, free: 143.2 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/2.774, allocations: 10.66 kB / 1.141 GB, free: 143.2 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008709/2.775, allocations: 370.9 kB / 1.141 GB, free: 142.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/2.775, allocations: 0 / 1.141 GB, free: 142.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000678/2.776, allocations: 62.73 kB / 1.141 GB, free: 142.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.552e-06/2.776, allocations: 3.781 kB / 1.141 GB, free: 142.9 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.534e-05/2.776, allocations: 10.42 kB / 1.141 GB, free: 142.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.431e-06/2.776, allocations: 3.781 kB / 1.141 GB, free: 142.9 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/2.776, allocations: 0 / 1.141 GB, free: 142.9 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001381/2.777, allocations: 0.555 MB / 1.142 GB, free: 142.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.278e-05/2.778, allocations: 96.28 kB / 1.142 GB, free: 142.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.42e-05/2.778, allocations: 11.34 kB / 1.142 GB, free: 142.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005794/2.778, allocations: 14.02 kB / 1.142 GB, free: 142.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.876e-05/2.778, allocations: 22.25 kB / 1.142 GB, free: 142.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.782e-05/2.778, allocations: 21.97 kB / 1.142 GB, free: 142.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.542e-05/2.778, allocations: 91.2 kB / 1.142 GB, free: 142.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.81e-07/2.778, allocations: 0 / 1.142 GB, free: 142.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001362/2.78, allocations: 266.6 kB / 1.142 GB, free: 142.5 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium.p,medium.T,medium2.p,medium2.T,medium2.X[1],medium2.X[2]) * 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 (29): * Single equations (assignments): 29 * 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.001985/2.782, allocations: 0.7568 MB / 1.143 GB, free: 142.2 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001037/2.783, allocations: 293.2 kB / 1.143 GB, free: 142.2 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/2.783, allocations: 0 / 1.143 GB, free: 142.2 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004221/2.783, allocations: 153.9 kB / 1.144 GB, free: 142.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008963/2.784, allocations: 76.86 kB / 1.144 GB, free: 142.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001711/2.786, allocations: 0.9221 MB / 1.145 GB, free: 141.7 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002252/2.786, allocations: 0.7404 MB / 1.145 GB, free: 141 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003097/2.787, allocations: 38.73 kB / 1.145 GB, free: 141 MB / 426.7 MB Notification: Performance of SimCode: time 1.042e-06/2.787, allocations: 0 / 1.145 GB, free: 141 MB / 426.7 MB Notification: Performance of Templates: time 0.01983/2.806, allocations: 9.286 MB / 1.154 GB, free: 137.8 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.MixIdealGasAir.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.MixIdealGasAir.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.MixIdealGasAir --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.MixIdealGasAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches