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.001597/0.001597, allocations: 181.2 kB / 17.01 MB, free: 5.121 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.92/1.92, allocations: 205.4 MB / 223.1 MB, free: 9.125 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.001113/0.001113, allocations: 84.22 kB / 271.5 MB, free: 8.379 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003288/0.0003287, allocations: 4 kB / 328.2 MB, free: 15.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3415/0.3418, allocations: 47.58 MB / 375.8 MB, free: 45.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.849/2.19, allocations: 0.7293 GB / 1.096 GB, free: 23.15 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002898/2.191, allocations: 75.22 kB / 1.096 GB, free: 23.11 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3723/2.563, allocations: 40.06 MB / 1.136 GB, free: 146.6 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.503e-06/2.563, allocations: 3.938 kB / 1.136 GB, free: 146.6 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.348e-05/2.563, allocations: 0 / 1.136 GB, free: 146.6 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.001019/2.564, allocations: 0.514 MB / 1.136 GB, free: 146.2 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/2.564, allocations: 11.53 kB / 1.136 GB, free: 146.2 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002959/2.567, allocations: 365.3 kB / 1.136 GB, free: 146.1 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004174/2.568, allocations: 262.9 kB / 1.137 GB, free: 145.9 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.203e-05/2.568, allocations: 11.19 kB / 1.137 GB, free: 145.9 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001091/2.568, allocations: 20 kB / 1.137 GB, free: 145.9 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009357/2.569, allocations: 484 kB / 1.137 GB, free: 145.9 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/2.569, allocations: 0 / 1.137 GB, free: 145.9 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.145e-05/2.569, allocations: 11.34 kB / 1.137 GB, free: 145.9 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.318e-06/2.569, allocations: 3.938 kB / 1.137 GB, free: 145.9 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009408/2.57, allocations: 0.5095 MB / 1.138 GB, free: 145.9 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.002042/2.572, allocations: 0.9987 MB / 1.139 GB, free: 145.5 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005142/2.572, allocations: 284.1 kB / 1.139 GB, free: 145.4 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001127/2.574, allocations: 0.6573 MB / 1.14 GB, free: 144.8 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/2.574, allocations: 43.14 kB / 1.14 GB, free: 144.8 MB / 426.7 MB Notification: Performance of pre-optimization done (n=29): time 2.565e-06/2.574, allocations: 0 / 1.14 GB, free: 144.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=29): time 0.0008848/2.575, allocations: 403.7 kB / 1.14 GB, free: 144.8 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.889e-05/2.575, allocations: 79.83 kB / 1.14 GB, free: 144.7 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.387e-05/2.575, allocations: 107.9 kB / 1.14 GB, free: 144.6 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.324e-05/2.575, allocations: 28.52 kB / 1.14 GB, free: 144.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.434e-05/2.575, allocations: 115.2 kB / 1.14 GB, free: 144.4 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.047e-05/2.575, allocations: 107 kB / 1.14 GB, free: 144.4 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.017e-05/2.575, allocations: 3.125 kB / 1.14 GB, free: 144.4 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.425e-05/2.575, allocations: 328.9 kB / 1.141 GB, free: 144.1 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002099/2.575, allocations: 113.3 kB / 1.141 GB, free: 144.1 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002344/2.575, allocations: 207.1 kB / 1.141 GB, free: 144 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002335/2.576, allocations: 126.8 kB / 1.141 GB, free: 144 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/2.576, allocations: 6.656 kB / 1.141 GB, free: 144 MB / 426.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006362/2.576, allocations: 370.3 kB / 1.141 GB, free: 143.9 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/2.576, allocations: 10.66 kB / 1.141 GB, free: 143.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/2.576, allocations: 6.906 kB / 1.141 GB, free: 143.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/2.576, allocations: 5.031 kB / 1.141 GB, free: 143.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000361/2.577, allocations: 78.42 kB / 1.142 GB, free: 143.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.355e-05/2.577, allocations: 10.27 kB / 1.142 GB, free: 143.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002665/2.577, allocations: 30.39 kB / 1.142 GB, free: 143.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.199e-05/2.577, allocations: 15.5 kB / 1.142 GB, free: 143.9 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.000141/2.577, allocations: 144.4 kB / 1.142 GB, free: 143.8 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.902e-05/2.577, allocations: 19.75 kB / 1.142 GB, free: 143.8 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007518/2.578, allocations: 366.1 kB / 1.142 GB, free: 143.8 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/2.578, allocations: 0 / 1.142 GB, free: 143.8 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/2.578, allocations: 5.812 kB / 1.142 GB, free: 143.8 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/2.578, allocations: 7.469 kB / 1.142 GB, free: 143.7 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005366/2.579, allocations: 369.8 kB / 1.142 GB, free: 143.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/2.579, allocations: 4 kB / 1.142 GB, free: 143.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003509/2.579, allocations: 54.27 kB / 1.143 GB, free: 143.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/2.579, allocations: 3.219 kB / 1.143 GB, free: 143.5 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.964e-05/2.579, allocations: 13.81 kB / 1.143 GB, free: 143.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/2.579, allocations: 3.406 kB / 1.143 GB, free: 143.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/2.579, allocations: 0 / 1.143 GB, free: 143.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008623/2.58, allocations: 0.5666 MB / 1.143 GB, free: 143.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.042e-05/2.58, allocations: 94.22 kB / 1.143 GB, free: 143.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.208e-05/2.58, allocations: 9.281 kB / 1.143 GB, free: 143.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003361/2.58, allocations: 15.34 kB / 1.143 GB, free: 143.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.02e-05/2.58, allocations: 27.39 kB / 1.143 GB, free: 143.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.655e-05/2.581, allocations: 23.05 kB / 1.143 GB, free: 143.2 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.237e-05/2.581, allocations: 85.31 kB / 1.143 GB, free: 143.1 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/2.581, allocations: 0 / 1.143 GB, free: 143.1 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001339/2.582, allocations: 271.5 kB / 1.144 GB, free: 143.1 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.001915/2.584, allocations: 0.7451 MB / 1.144 GB, free: 142.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008211/2.585, allocations: 305.3 kB / 1.145 GB, free: 142.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.441e-06/2.585, allocations: 0 / 1.145 GB, free: 142.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002886/2.585, allocations: 150 kB / 1.145 GB, free: 142.8 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006001/2.586, allocations: 78.12 kB / 1.145 GB, free: 142.8 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001606/2.587, allocations: 0.8946 MB / 1.146 GB, free: 142.3 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002949/2.588, allocations: 0.7384 MB / 1.146 GB, free: 141.6 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005493/2.588, allocations: 84.53 kB / 1.147 GB, free: 141.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001446/2.588, allocations: 37.33 kB / 1.147 GB, free: 141.5 MB / 426.7 MB Notification: Performance of SimCode: time 1.113e-06/2.588, allocations: 0 / 1.147 GB, free: 141.5 MB / 426.7 MB Notification: Performance of Templates: time 0.01879/2.607, allocations: 14.13 MB / 1.16 GB, free: 133.3 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