Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.MixtureGases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Media.Examples.MixtureGases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium1.T|medium1.p|medium2.T|medium2.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.MixtureGases") translateModel(Modelica.Media.Examples.MixtureGases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium1.T|medium1.p|medium2.T|medium2.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.MixtureGases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001046/0.001046, allocations: 202.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.544/1.544, allocations: 225.6 MB / 234.8 MB, free: 3.258 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008621/0.000862, allocations: 90.44 kB / 286.7 MB, free: 5.27 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.369e-05/1.37e-05, allocations: 4 kB / 343.7 MB, free: 8.277 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09701/0.09704, allocations: 51.47 MB / 395.2 MB, free: 4.762 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.152/2.249, allocations: 0.7069 GB / 1.093 GB, free: 113.3 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002617/2.25, allocations: 68.42 kB / 1.093 GB, free: 113.3 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2406/2.49, allocations: 107.8 MB / 1.198 GB, free: 29.9 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.736e-06/2.49, allocations: 4 kB / 1.198 GB, free: 29.89 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.143e-05/2.49, allocations: 4.844 kB / 1.198 GB, free: 29.89 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.002793/2.493, allocations: 0.7607 MB / 1.199 GB, free: 29.09 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.554e-05/2.493, allocations: 16.03 kB / 1.199 GB, free: 29.07 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001905/2.495, allocations: 245.9 kB / 1.199 GB, free: 28.83 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005303/2.496, allocations: 290.5 kB / 1.199 GB, free: 28.51 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/2.496, allocations: 12 kB / 1.199 GB, free: 28.5 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/2.496, allocations: 16 kB / 1.199 GB, free: 28.48 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008851/2.497, allocations: 0.6025 MB / 1.2 GB, free: 27.88 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008385/2.498, allocations: 0.5702 MB / 1.201 GB, free: 27.29 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.347e-05/2.498, allocations: 8.5 kB / 1.201 GB, free: 27.29 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.101e-05/2.498, allocations: 0 / 1.201 GB, free: 27.29 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.215e-05/2.498, allocations: 16.42 kB / 1.201 GB, free: 27.27 MB / 442.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.003593/2.501, allocations: 1.733 MB / 1.202 GB, free: 25.46 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005028/2.502, allocations: 385 kB / 1.203 GB, free: 25.07 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002269/2.502, allocations: 177.6 kB / 1.203 GB, free: 24.89 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001439/2.504, allocations: 0.9096 MB / 1.204 GB, free: 23.83 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/2.504, allocations: 34.94 kB / 1.204 GB, free: 23.79 MB / 442.7 MB Notification: Performance of pre-optimization done (n=35): time 2.404e-06/2.504, allocations: 0 / 1.204 GB, free: 23.79 MB / 442.7 MB Notification: Performance of matching and sorting (n=48): time 0.007093/2.511, allocations: 2.227 MB / 1.206 GB, free: 21.39 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.107e-05/2.511, allocations: 81.11 kB / 1.206 GB, free: 21.3 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/2.511, allocations: 159.5 kB / 1.206 GB, free: 21.14 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.041e-05/2.511, allocations: 25.7 kB / 1.206 GB, free: 21.11 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.263e-05/2.511, allocations: 180.1 kB / 1.206 GB, free: 20.92 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001381/2.511, allocations: 165.5 kB / 1.206 GB, free: 20.76 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-05/2.511, allocations: 0 / 1.206 GB, free: 20.76 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.611e-05/2.511, allocations: 342.8 kB / 1.207 GB, free: 20.41 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002618/2.512, allocations: 197.5 kB / 1.207 GB, free: 20.22 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003297/2.512, allocations: 349.9 kB / 1.207 GB, free: 19.81 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003686/2.512, allocations: 234.1 kB / 1.208 GB, free: 19.59 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/2.512, allocations: 4 kB / 1.208 GB, free: 19.58 MB / 442.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0009609/2.513, allocations: 0.6245 MB / 1.208 GB, free: 18.95 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/2.513, allocations: 8 kB / 1.208 GB, free: 18.94 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/2.513, allocations: 11.98 kB / 1.208 GB, free: 18.93 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001756/2.514, allocations: 49.62 kB / 1.208 GB, free: 18.88 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001006/2.515, allocations: 175.7 kB / 1.208 GB, free: 18.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005139/2.515, allocations: 1.089 MB / 1.209 GB, free: 17.56 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007143/2.516, allocations: 32.11 kB / 1.209 GB, free: 17.53 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.359e-05/2.516, allocations: 43.97 kB / 1.21 GB, free: 17.49 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 68 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001688/2.516, allocations: 116.8 kB / 1.21 GB, free: 17.37 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001146/2.516, allocations: 27.72 kB / 1.21 GB, free: 17.34 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001287/2.518, allocations: 0.6405 MB / 1.21 GB, free: 16.69 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/2.518, allocations: 4 kB / 1.21 GB, free: 16.69 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/2.518, allocations: 8 kB / 1.21 GB, free: 16.68 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.363e-06/2.518, allocations: 3.984 kB / 1.21 GB, free: 16.68 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002278/2.52, allocations: 1.393 MB / 1.212 GB, free: 15.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/2.52, allocations: 0 / 1.212 GB, free: 15.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009467/2.521, allocations: 143.8 kB / 1.212 GB, free: 15.06 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001444/2.521, allocations: 45.84 kB / 1.212 GB, free: 15.01 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.836e-05/2.521, allocations: 27.92 kB / 1.212 GB, free: 14.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001535/2.523, allocations: 2.422 MB / 1.214 GB, free: 12.34 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/2.523, allocations: 4.031 kB / 1.214 GB, free: 12.33 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001368/2.524, allocations: 0.9725 MB / 1.215 GB, free: 11.26 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001335/2.524, allocations: 104.9 kB / 1.215 GB, free: 11.14 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.145e-05/2.524, allocations: 8 kB / 1.215 GB, free: 11.13 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007274/2.525, allocations: 27.95 kB / 1.215 GB, free: 11.11 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.941e-05/2.525, allocations: 47.84 kB / 1.215 GB, free: 11.06 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.799e-05/2.525, allocations: 31.97 kB / 1.215 GB, free: 11.03 MB / 442.7 MB Notification: Performance of sorting global known variables: time 9.218e-05/2.525, allocations: 119.2 kB / 1.216 GB, free: 10.91 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.4e-07/2.525, allocations: 0 / 1.216 GB, free: 10.91 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002329/2.528, allocations: 411.7 kB / 1.216 GB, free: 10.51 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (medium2.p,medium2.T,medium1.p,medium1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 46 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003878/2.532, allocations: 1.279 MB / 1.217 GB, free: 9.227 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00105/2.533, allocations: 0.5115 MB / 1.218 GB, free: 8.715 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/2.533, allocations: 0 / 1.218 GB, free: 8.715 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005423/2.533, allocations: 475.2 kB / 1.218 GB, free: 8.23 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006406/2.534, allocations: 90.58 kB / 1.218 GB, free: 8.145 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001279/2.535, allocations: 0.708 MB / 1.219 GB, free: 7.383 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000243/2.535, allocations: 0.7931 MB / 1.22 GB, free: 6.566 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001129/2.536, allocations: 187 kB / 1.22 GB, free: 6.387 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003117/2.537, allocations: 67.38 kB / 1.22 GB, free: 6.32 MB / 442.7 MB Notification: Performance of SimCode: time 6.71e-07/2.537, allocations: 0 / 1.22 GB, free: 6.32 MB / 442.7 MB Notification: Performance of Templates: time 0.3985/2.935, allocations: 17.6 MB / 1.237 GB, free: 97.06 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.MixtureGases.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.MixtureGases.sim & ./Modelica_trunk_Modelica.Media.Examples.MixtureGases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.MixtureGases_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/MixtureGases/MixtureGases.csv","../files/Modelica_trunk_Modelica.Media.Examples.MixtureGases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches