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.002289/0.002289, allocations: 182 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.09/2.09, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001119/0.001119, allocations: 90.64 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.264e-05/3.287e-05, allocations: 8 kB / 321.5 MB, free: 17.85 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09879/0.09885, allocations: 47.57 MB / 369.1 MB, free: 2.219 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.344/2.443, allocations: 0.7292 GB / 1.09 GB, free: 91.01 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002947/2.443, allocations: 80.25 kB / 1.09 GB, free: 90.97 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1425/2.585, allocations: 40 MB / 1.129 GB, free: 54.55 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.663e-06/2.586, allocations: 0 / 1.129 GB, free: 54.55 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.378e-05/2.586, allocations: 4 kB / 1.129 GB, free: 54.54 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.0009989/2.587, allocations: 0.511 MB / 1.129 GB, free: 53.98 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/2.587, allocations: 8.031 kB / 1.129 GB, free: 53.98 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004958/2.592, allocations: 367.3 kB / 1.13 GB, free: 53.62 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005127/2.592, allocations: 254.8 kB / 1.13 GB, free: 53.33 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/2.592, allocations: 16.38 kB / 1.13 GB, free: 53.31 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001183/2.592, allocations: 19.91 kB / 1.13 GB, free: 53.29 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001159/2.593, allocations: 465.4 kB / 1.13 GB, free: 52.83 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/2.594, allocations: 0 / 1.13 GB, free: 52.83 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-05/2.594, allocations: 15.95 kB / 1.13 GB, free: 52.81 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.898e-06/2.594, allocations: 8 kB / 1.13 GB, free: 52.8 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001211/2.595, allocations: 483.7 kB / 1.131 GB, free: 52.33 MB / 426.7 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.003104/2.598, allocations: 0.9866 MB / 1.132 GB, free: 51.29 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006572/2.599, allocations: 273 kB / 1.132 GB, free: 51.01 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003079/2.599, allocations: 137.7 kB / 1.132 GB, free: 50.87 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001625/2.601, allocations: 0.6555 MB / 1.133 GB, free: 50.1 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/2.601, allocations: 38.56 kB / 1.133 GB, free: 50.05 MB / 426.7 MB Notification: Performance of pre-optimization done (n=29): time 2.765e-06/2.601, allocations: 3.938 kB / 1.133 GB, free: 50.05 MB / 426.7 MB Notification: Performance of matching and sorting (n=29): time 0.0008938/2.602, allocations: 282.7 kB / 1.133 GB, free: 49.77 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.437e-05/2.602, allocations: 81.11 kB / 1.133 GB, free: 49.67 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.378e-05/2.602, allocations: 101.3 kB / 1.133 GB, free: 49.57 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.892e-05/2.602, allocations: 33.7 kB / 1.133 GB, free: 49.53 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.414e-05/2.602, allocations: 182.9 kB / 1.134 GB, free: 49.34 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.503e-05/2.602, allocations: 114.3 kB / 1.134 GB, free: 49.23 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.448e-05/2.602, allocations: 4 kB / 1.134 GB, free: 49.23 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.241e-05/2.602, allocations: 330.8 kB / 1.134 GB, free: 48.89 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002672/2.602, allocations: 104.6 kB / 1.134 GB, free: 48.79 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000308/2.603, allocations: 195.5 kB / 1.134 GB, free: 48.56 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003153/2.603, allocations: 121.3 kB / 1.134 GB, free: 48.45 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/2.603, allocations: 4 kB / 1.134 GB, free: 48.44 MB / 426.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008615/2.604, allocations: 357.3 kB / 1.135 GB, free: 48.09 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/2.604, allocations: 4 kB / 1.135 GB, free: 48.08 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/2.604, allocations: 4 kB / 1.135 GB, free: 48.08 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.499e-05/2.604, allocations: 4 kB / 1.135 GB, free: 48.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007668/2.605, allocations: 79.83 kB / 1.135 GB, free: 48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.532e-05/2.605, allocations: 8 kB / 1.135 GB, free: 47.99 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004839/2.605, allocations: 35.98 kB / 1.135 GB, free: 47.95 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.918e-05/2.605, allocations: 20 kB / 1.135 GB, free: 47.93 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 () * 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.0001529/2.606, allocations: 124.9 kB / 1.135 GB, free: 47.8 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001445/2.606, allocations: 11.91 kB / 1.135 GB, free: 47.79 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001059/2.607, allocations: 362 kB / 1.135 GB, free: 47.43 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.271e-06/2.607, allocations: 4 kB / 1.135 GB, free: 47.43 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/2.607, allocations: 11.98 kB / 1.135 GB, free: 47.41 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/2.607, allocations: 0 / 1.135 GB, free: 47.41 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008453/2.608, allocations: 361 kB / 1.136 GB, free: 47.01 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/2.608, allocations: 0 / 1.136 GB, free: 47.01 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006776/2.608, allocations: 59.89 kB / 1.136 GB, free: 46.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.985e-06/2.608, allocations: 4 kB / 1.136 GB, free: 46.95 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.489e-05/2.608, allocations: 8 kB / 1.136 GB, free: 46.94 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/2.609, allocations: 0 / 1.136 GB, free: 46.94 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/2.609, allocations: 0 / 1.136 GB, free: 46.94 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001003/2.61, allocations: 0.5509 MB / 1.136 GB, free: 46.37 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.223e-05/2.61, allocations: 96.86 kB / 1.136 GB, free: 46.25 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.83e-05/2.61, allocations: 8 kB / 1.136 GB, free: 46.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005577/2.61, allocations: 15.98 kB / 1.136 GB, free: 46.23 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.971e-05/2.61, allocations: 27.97 kB / 1.136 GB, free: 46.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.438e-05/2.61, allocations: 19.98 kB / 1.136 GB, free: 46.18 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.674e-05/2.61, allocations: 83.58 kB / 1.137 GB, free: 46.1 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.11e-07/2.61, allocations: 4 kB / 1.137 GB, free: 46.1 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001264/2.612, allocations: 267.8 kB / 1.137 GB, free: 45.84 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 () * 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.001874/2.614, allocations: 0.7507 MB / 1.138 GB, free: 45.08 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007411/2.614, allocations: 284.1 kB / 1.138 GB, free: 44.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/2.614, allocations: 0 / 1.138 GB, free: 44.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003064/2.615, allocations: 139.8 kB / 1.138 GB, free: 44.66 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000862/2.616, allocations: 77.36 kB / 1.138 GB, free: 44.59 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/2.617, allocations: 0.6383 MB / 1.139 GB, free: 43.92 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002257/2.617, allocations: 0.7402 MB / 1.139 GB, free: 43.15 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000335/2.618, allocations: 39.42 kB / 1.139 GB, free: 43.11 MB / 426.7 MB Notification: Performance of SimCode: time 1.172e-06/2.618, allocations: 0 / 1.139 GB, free: 43.11 MB / 426.7 MB Notification: Performance of Templates: time 0.01808/2.636, allocations: 9.263 MB / 1.148 GB, free: 33.84 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