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.001483/0.001483, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.085/2.085, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001085/0.001085, allocations: 89.08 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 3.063e-05/3.073e-05, allocations: 4 kB / 314.8 MB, free: 9.152 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3597/0.3598, allocations: 47.56 MB / 362.3 MB, free: 45.85 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.113/2.473, allocations: 0.7286 GB / 1.082 GB, free: 63.19 MB / 427.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002843/2.473, allocations: 79.33 kB / 1.082 GB, free: 63.15 MB / 427.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1592/2.632, allocations: 39.3 MB / 1.121 GB, free: 30.53 MB / 427.1 MB Notification: Performance of FrontEnd: time 1.854e-06/2.632, allocations: 0 / 1.121 GB, free: 30.53 MB / 427.1 MB Notification: Performance of Transformations before backend: time 1.335e-05/2.632, allocations: 0 / 1.121 GB, free: 30.53 MB / 427.1 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.001025/2.633, allocations: 0.5171 MB / 1.121 GB, free: 29.97 MB / 427.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/2.633, allocations: 12.03 kB / 1.121 GB, free: 29.96 MB / 427.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005024/2.638, allocations: 365.1 kB / 1.122 GB, free: 29.6 MB / 427.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006337/2.639, allocations: 254.8 kB / 1.122 GB, free: 29.31 MB / 427.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/2.639, allocations: 4 kB / 1.122 GB, free: 29.31 MB / 427.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001157/2.639, allocations: 19.91 kB / 1.122 GB, free: 29.29 MB / 427.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001205/2.64, allocations: 472.5 kB / 1.122 GB, free: 28.83 MB / 427.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006993/2.641, allocations: 313.4 kB / 1.123 GB, free: 28.51 MB / 427.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/2.641, allocations: 4 kB / 1.123 GB, free: 28.51 MB / 427.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.877e-05/2.641, allocations: 3.938 kB / 1.123 GB, free: 28.5 MB / 427.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.769e-06/2.641, allocations: 4 kB / 1.123 GB, free: 28.5 MB / 427.1 MB Warning: The model contains alias variables with conflicting start and/or 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.003207/2.645, allocations: 0.9309 MB / 1.124 GB, free: 27.53 MB / 427.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005964/2.645, allocations: 257.1 kB / 1.124 GB, free: 27.26 MB / 427.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002588/2.645, allocations: 137.7 kB / 1.124 GB, free: 27.12 MB / 427.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001674/2.647, allocations: 0.6593 MB / 1.125 GB, free: 26.35 MB / 427.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/2.647, allocations: 38.5 kB / 1.125 GB, free: 26.3 MB / 427.1 MB Notification: Performance of pre-optimization done (n=29): time 3.095e-06/2.647, allocations: 0 / 1.125 GB, free: 26.3 MB / 427.1 MB Notification: Performance of matching and sorting (n=29): time 0.0009348/2.648, allocations: 262.2 kB / 1.125 GB, free: 26.04 MB / 427.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/2.648, allocations: 81.11 kB / 1.125 GB, free: 25.95 MB / 427.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/2.648, allocations: 105.3 kB / 1.125 GB, free: 25.84 MB / 427.1 MB Notification: Performance of collectPreVariables (initialization): time 4.616e-05/2.648, allocations: 25.7 kB / 1.125 GB, free: 25.8 MB / 427.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.465e-05/2.648, allocations: 178.9 kB / 1.125 GB, free: 25.63 MB / 427.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.265e-05/2.649, allocations: 118.3 kB / 1.125 GB, free: 25.51 MB / 427.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.973e-05/2.649, allocations: 4 kB / 1.125 GB, free: 25.51 MB / 427.1 MB Notification: Performance of setup shared object (initialization): time 7.01e-05/2.649, allocations: 322.8 kB / 1.126 GB, free: 25.18 MB / 427.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002189/2.649, allocations: 100.6 kB / 1.126 GB, free: 25.08 MB / 427.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002608/2.649, allocations: 179.3 kB / 1.126 GB, free: 24.87 MB / 427.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003684/2.65, allocations: 121.6 kB / 1.126 GB, free: 24.75 MB / 427.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/2.65, allocations: 4 kB / 1.126 GB, free: 24.75 MB / 427.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008544/2.65, allocations: 325.1 kB / 1.126 GB, free: 24.43 MB / 427.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/2.65, allocations: 7.953 kB / 1.126 GB, free: 24.42 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/2.65, allocations: 4 kB / 1.126 GB, free: 24.42 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.528e-05/2.651, allocations: 4 kB / 1.126 GB, free: 24.41 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000743/2.651, allocations: 76.2 kB / 1.127 GB, free: 24.34 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/2.651, allocations: 12 kB / 1.127 GB, free: 24.33 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000461/2.652, allocations: 27.67 kB / 1.127 GB, free: 24.3 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-05/2.652, allocations: 23.94 kB / 1.127 GB, free: 24.28 MB / 427.1 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 () * 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.0001533/2.652, allocations: 108.9 kB / 1.127 GB, free: 24.16 MB / 427.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001451/2.652, allocations: 15.91 kB / 1.127 GB, free: 24.15 MB / 427.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00107/2.653, allocations: 348.3 kB / 1.127 GB, free: 23.8 MB / 427.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.278e-06/2.653, allocations: 4 kB / 1.127 GB, free: 23.8 MB / 427.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/2.653, allocations: 0 / 1.127 GB, free: 23.8 MB / 427.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.106e-06/2.653, allocations: 0 / 1.127 GB, free: 23.8 MB / 427.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008988/2.654, allocations: 328.8 kB / 1.127 GB, free: 23.44 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/2.654, allocations: 0 / 1.127 GB, free: 23.44 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007179/2.655, allocations: 51.97 kB / 1.127 GB, free: 23.39 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.729e-06/2.655, allocations: 0 / 1.127 GB, free: 23.39 MB / 427.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.801e-05/2.655, allocations: 15.98 kB / 1.127 GB, free: 23.38 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.344e-06/2.655, allocations: 7.891 kB / 1.127 GB, free: 23.37 MB / 427.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/2.655, allocations: 4 kB / 1.127 GB, free: 23.36 MB / 427.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001041/2.656, allocations: 0.5087 MB / 1.128 GB, free: 22.83 MB / 427.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.475e-05/2.656, allocations: 92.86 kB / 1.128 GB, free: 22.72 MB / 427.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.052e-05/2.656, allocations: 15.88 kB / 1.128 GB, free: 22.71 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000616/2.657, allocations: 12.06 kB / 1.128 GB, free: 22.7 MB / 427.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.47e-05/2.657, allocations: 19.97 kB / 1.128 GB, free: 22.68 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.28e-05/2.657, allocations: 19.98 kB / 1.128 GB, free: 22.66 MB / 427.1 MB Notification: Performance of sorting global known variables: time 6.183e-05/2.657, allocations: 87.27 kB / 1.128 GB, free: 22.57 MB / 427.1 MB Notification: Performance of sort global known variables: time 4.01e-07/2.657, allocations: 0 / 1.128 GB, free: 22.57 MB / 427.1 MB Notification: Performance of remove unused functions: time 0.001396/2.659, allocations: 247.7 kB / 1.128 GB, free: 22.33 MB / 427.1 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 () * 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.002236/2.661, allocations: 0.8393 MB / 1.129 GB, free: 21.48 MB / 427.1 MB Notification: Performance of simCode: created initialization part: time 0.0007534/2.662, allocations: 260 kB / 1.129 GB, free: 21.23 MB / 427.1 MB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/2.662, allocations: 4 kB / 1.13 GB, free: 21.22 MB / 427.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002672/2.662, allocations: 132.5 kB / 1.13 GB, free: 21.09 MB / 427.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009823/2.663, allocations: 67.92 kB / 1.13 GB, free: 21.03 MB / 427.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/2.664, allocations: 0.6295 MB / 1.13 GB, free: 20.36 MB / 427.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/2.665, allocations: 0.7325 MB / 1.131 GB, free: 19.6 MB / 427.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003151/2.665, allocations: 39.41 kB / 1.131 GB, free: 19.56 MB / 427.1 MB Notification: Performance of SimCode: time 1.403e-06/2.665, allocations: 0 / 1.131 GB, free: 19.56 MB / 427.1 MB Notification: Performance of Templates: time 0.02055/2.686, allocations: 9.245 MB / 1.14 GB, free: 10.32 MB / 427.1 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