Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001116/0.001116, allocations: 179.1 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.997/1.997, allocations: 205.3 MB / 214.4 MB, free: 1.672 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00113/0.00113, allocations: 86.72 kB / 262.4 MB, free: 1.617 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.615e-05/1.617e-05, allocations: 4 kB / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1207, allocations: 47.59 MB / 363.1 MB, free: 7.066 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.404/2.524, allocations: 0.7288 GB / 1.083 GB, free: 102 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002515/2.525, allocations: 76.14 kB / 1.083 GB, free: 102 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07935/2.604, allocations: 39.29 MB / 1.122 GB, free: 68.64 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.162e-06/2.604, allocations: 3.938 kB / 1.122 GB, free: 68.64 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.286e-05/2.604, allocations: 4 kB / 1.122 GB, free: 68.63 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.0008747/2.605, allocations: 0.5072 MB / 1.122 GB, free: 68.08 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/2.605, allocations: 8.031 kB / 1.122 GB, free: 68.07 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002877/2.608, allocations: 371.3 kB / 1.123 GB, free: 67.71 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00033/2.608, allocations: 258.8 kB / 1.123 GB, free: 67.41 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/2.608, allocations: 4 kB / 1.123 GB, free: 67.41 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.786e-05/2.608, allocations: 19.91 kB / 1.123 GB, free: 67.39 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006967/2.609, allocations: 472.5 kB / 1.123 GB, free: 66.93 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004115/2.61, allocations: 313.4 kB / 1.124 GB, free: 66.61 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/2.61, allocations: 0 / 1.124 GB, free: 66.61 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.792e-05/2.61, allocations: 0 / 1.124 GB, free: 66.61 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/2.61, allocations: 8 kB / 1.124 GB, free: 66.61 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.001893/2.612, allocations: 0.929 MB / 1.125 GB, free: 65.63 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003543/2.612, allocations: 269 kB / 1.125 GB, free: 65.35 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001536/2.612, allocations: 133.7 kB / 1.125 GB, free: 65.21 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001071/2.613, allocations: 0.6555 MB / 1.126 GB, free: 64.45 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.7e-05/2.613, allocations: 38.56 kB / 1.126 GB, free: 64.4 MB / 426.7 MB Notification: Performance of pre-optimization done (n=29): time 1.553e-06/2.613, allocations: 0 / 1.126 GB, free: 64.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=29): time 0.0005441/2.614, allocations: 263.1 kB / 1.126 GB, free: 64.14 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.881e-05/2.614, allocations: 85.11 kB / 1.126 GB, free: 64.04 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.396e-05/2.614, allocations: 101.3 kB / 1.126 GB, free: 63.93 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.625e-05/2.614, allocations: 29.7 kB / 1.126 GB, free: 63.9 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.778e-05/2.614, allocations: 116.4 kB / 1.126 GB, free: 63.78 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.188e-05/2.614, allocations: 106.4 kB / 1.126 GB, free: 63.68 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.115e-05/2.614, allocations: 0 / 1.126 GB, free: 63.68 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.286e-05/2.614, allocations: 326.8 kB / 1.127 GB, free: 63.35 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/2.614, allocations: 96.64 kB / 1.127 GB, free: 63.25 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001578/2.614, allocations: 191.2 kB / 1.127 GB, free: 63.03 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000239/2.615, allocations: 115.9 kB / 1.127 GB, free: 62.91 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/2.615, allocations: 4 kB / 1.127 GB, free: 62.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004775/2.615, allocations: 310.3 kB / 1.127 GB, free: 62.6 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/2.615, allocations: 15.98 kB / 1.127 GB, free: 62.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/2.615, allocations: 7.938 kB / 1.127 GB, free: 62.58 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/2.615, allocations: 4 kB / 1.127 GB, free: 62.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003569/2.616, allocations: 75.89 kB / 1.127 GB, free: 62.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.836e-06/2.616, allocations: 4 kB / 1.127 GB, free: 62.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000247/2.616, allocations: 31.67 kB / 1.127 GB, free: 62.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.87e-05/2.616, allocations: 23.98 kB / 1.127 GB, free: 62.44 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.0001013/2.616, allocations: 112.9 kB / 1.128 GB, free: 62.32 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.421e-05/2.616, allocations: 15.81 kB / 1.128 GB, free: 62.31 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00061/2.617, allocations: 342.6 kB / 1.128 GB, free: 61.96 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/2.617, allocations: 4 kB / 1.128 GB, free: 61.96 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/2.617, allocations: 0 / 1.128 GB, free: 61.96 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/2.617, allocations: 0 / 1.128 GB, free: 61.96 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004652/2.617, allocations: 325.6 kB / 1.128 GB, free: 61.61 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/2.617, allocations: 0 / 1.128 GB, free: 61.61 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003483/2.618, allocations: 59.89 kB / 1.128 GB, free: 61.55 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/2.618, allocations: 4 kB / 1.128 GB, free: 61.54 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.888e-05/2.618, allocations: 8 kB / 1.128 GB, free: 61.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/2.618, allocations: 3.953 kB / 1.128 GB, free: 61.53 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/2.618, allocations: 0 / 1.128 GB, free: 61.53 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005731/2.618, allocations: 0.5248 MB / 1.129 GB, free: 60.98 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.53e-05/2.618, allocations: 96.8 kB / 1.129 GB, free: 60.87 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.3e-05/2.618, allocations: 7.953 kB / 1.129 GB, free: 60.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003345/2.619, allocations: 7.984 kB / 1.129 GB, free: 60.86 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.603e-05/2.619, allocations: 24.03 kB / 1.129 GB, free: 60.83 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.39e-05/2.619, allocations: 19.98 kB / 1.129 GB, free: 60.81 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.925e-05/2.619, allocations: 79.28 kB / 1.129 GB, free: 60.73 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/2.619, allocations: 4 kB / 1.129 GB, free: 60.73 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001038/2.62, allocations: 251.7 kB / 1.129 GB, free: 60.48 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.001312/2.621, allocations: 0.8375 MB / 1.13 GB, free: 59.64 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003612/2.622, allocations: 276 kB / 1.13 GB, free: 59.37 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/2.622, allocations: 0 / 1.13 GB, free: 59.37 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001366/2.622, allocations: 131.9 kB / 1.131 GB, free: 59.24 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005279/2.622, allocations: 64.55 kB / 1.131 GB, free: 59.18 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008365/2.623, allocations: 0.6005 MB / 1.131 GB, free: 58.55 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002007/2.623, allocations: 0.7402 MB / 1.132 GB, free: 57.78 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004503/2.624, allocations: 85.84 kB / 1.132 GB, free: 57.7 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001113/2.624, allocations: 31.42 kB / 1.132 GB, free: 57.66 MB / 426.7 MB Notification: Performance of SimCode: time 2.61e-07/2.624, allocations: 4 kB / 1.132 GB, free: 57.66 MB / 426.7 MB Notification: Performance of Templates: time 0.01397/2.638, allocations: 10.29 MB / 1.142 GB, free: 47.36 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.sim & ./Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins/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_Modelica.Media.Examples.TestOnly.MixIdealGasAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches