Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.MixtureGases.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.MixtureGases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium1.T|medium1.p|medium2.T|medium2.p",fileNamePrefix="Modelica_3.2.3_cpp_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_3.2.3_cpp_Modelica.Media.Examples.MixtureGases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001922/0.001922, 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.102/2.102, allocations: 205.3 MB / 214.1 MB, free: 14.14 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.001133/0.001133, allocations: 90.16 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.432e-05/2.431e-05, allocations: 4 kB / 314.8 MB, free: 9.172 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3397/0.3397, allocations: 47.56 MB / 362.3 MB, free: 45.83 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.052/2.391, allocations: 0.7372 GB / 1.091 GB, free: 54.81 MB / 427.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002391/2.392, allocations: 68.8 kB / 1.091 GB, free: 54.78 MB / 427.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.6287/3.02, allocations: 105.5 MB / 1.194 GB, free: 127.8 MB / 427.1 MB Notification: Performance of FrontEnd: time 1.683e-06/3.021, allocations: 4 kB / 1.194 GB, free: 127.8 MB / 427.1 MB Notification: Performance of Transformations before backend: time 1.738e-05/3.021, allocations: 7.125 kB / 1.194 GB, free: 127.8 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.003496/3.024, allocations: 0.7634 MB / 1.195 GB, free: 127.2 MB / 427.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/3.024, allocations: 11.81 kB / 1.195 GB, free: 127.2 MB / 427.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002938/3.027, allocations: 248.2 kB / 1.195 GB, free: 127.1 MB / 427.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005583/3.028, allocations: 293 kB / 1.195 GB, free: 126.8 MB / 427.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.078e-05/3.028, allocations: 7.844 kB / 1.195 GB, free: 126.8 MB / 427.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001227/3.028, allocations: 23.97 kB / 1.195 GB, free: 126.8 MB / 427.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001355/3.029, allocations: 0.5975 MB / 1.196 GB, free: 126.5 MB / 427.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00124/3.03, allocations: 0.5657 MB / 1.197 GB, free: 126.2 MB / 427.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.415e-05/3.03, allocations: 3.906 kB / 1.197 GB, free: 126.2 MB / 427.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001018/3.031, allocations: 4 kB / 1.197 GB, free: 126.2 MB / 427.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.671e-05/3.031, allocations: 25.56 kB / 1.197 GB, free: 126.2 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.005308/3.036, allocations: 1.736 MB / 1.198 GB, free: 124.8 MB / 427.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008085/3.037, allocations: 381.1 kB / 1.199 GB, free: 124.4 MB / 427.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003813/3.037, allocations: 173.7 kB / 1.199 GB, free: 124.2 MB / 427.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002147/3.039, allocations: 0.9183 MB / 1.2 GB, free: 123.1 MB / 427.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/3.039, allocations: 34.56 kB / 1.2 GB, free: 123.1 MB / 427.1 MB Notification: Performance of pre-optimization done (n=35): time 2.925e-06/3.039, allocations: 0 / 1.2 GB, free: 123.1 MB / 427.1 MB Notification: Performance of matching and sorting (n=48): time 0.01142/3.051, allocations: 2.219 MB / 1.202 GB, free: 120.7 MB / 427.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.214e-05/3.051, allocations: 85.11 kB / 1.202 GB, free: 120.6 MB / 427.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001611/3.051, allocations: 159.3 kB / 1.202 GB, free: 120.5 MB / 427.1 MB Notification: Performance of collectPreVariables (initialization): time 7.501e-05/3.051, allocations: 25.7 kB / 1.202 GB, free: 120.4 MB / 427.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.751e-05/3.051, allocations: 246.5 kB / 1.202 GB, free: 120.2 MB / 427.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001646/3.051, allocations: 169.5 kB / 1.203 GB, free: 120 MB / 427.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.875e-05/3.052, allocations: 0 / 1.203 GB, free: 120 MB / 427.1 MB Notification: Performance of setup shared object (initialization): time 7.402e-05/3.052, allocations: 330.8 kB / 1.203 GB, free: 119.7 MB / 427.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004581/3.052, allocations: 201.5 kB / 1.203 GB, free: 119.5 MB / 427.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005522/3.053, allocations: 361.9 kB / 1.203 GB, free: 119.1 MB / 427.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006012/3.053, allocations: 237.2 kB / 1.204 GB, free: 118.8 MB / 427.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/3.053, allocations: 0 / 1.204 GB, free: 118.8 MB / 427.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001576/3.055, allocations: 0.6271 MB / 1.204 GB, free: 118.2 MB / 427.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/3.055, allocations: 8 kB / 1.204 GB, free: 118.2 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/3.055, allocations: 4.625 kB / 1.204 GB, free: 118.2 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002303/3.055, allocations: 53.69 kB / 1.204 GB, free: 118.1 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001857/3.057, allocations: 171.7 kB / 1.205 GB, free: 118 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006092/3.058, allocations: 1.081 MB / 1.206 GB, free: 116.8 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001165/3.059, allocations: 39.8 kB / 1.206 GB, free: 116.8 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001126/3.059, allocations: 35.98 kB / 1.206 GB, free: 116.8 MB / 427.1 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.0002242/3.059, allocations: 128.9 kB / 1.206 GB, free: 116.6 MB / 427.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001441/3.059, allocations: 27.72 kB / 1.206 GB, free: 116.6 MB / 427.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002107/3.061, allocations: 0.639 MB / 1.206 GB, free: 115.9 MB / 427.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/3.061, allocations: 8 kB / 1.206 GB, free: 115.9 MB / 427.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/3.061, allocations: 0 / 1.206 GB, free: 115.9 MB / 427.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/3.062, allocations: 7.922 kB / 1.206 GB, free: 115.9 MB / 427.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003314/3.065, allocations: 1.38 MB / 1.208 GB, free: 114.5 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.553e-06/3.065, allocations: 4 kB / 1.208 GB, free: 114.5 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001746/3.067, allocations: 139.8 kB / 1.208 GB, free: 114.3 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001738/3.067, allocations: 45.91 kB / 1.208 GB, free: 114.3 MB / 427.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.814e-05/3.067, allocations: 19.97 kB / 1.208 GB, free: 114.3 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001497/3.068, allocations: 2.435 MB / 1.21 GB, free: 111.6 MB / 427.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.463e-06/3.068, allocations: 7.969 kB / 1.21 GB, free: 111.6 MB / 427.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001972/3.07, allocations: 0.9721 MB / 1.211 GB, free: 110.5 MB / 427.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.615e-05/3.071, allocations: 108.9 kB / 1.211 GB, free: 110.4 MB / 427.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001154/3.071, allocations: 4 kB / 1.211 GB, free: 110.4 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001241/3.072, allocations: 31.91 kB / 1.211 GB, free: 110.4 MB / 427.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.431e-05/3.072, allocations: 35.95 kB / 1.212 GB, free: 110.3 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001142/3.072, allocations: 43.91 kB / 1.212 GB, free: 110.3 MB / 427.1 MB Notification: Performance of sorting global known variables: time 0.0001092/3.072, allocations: 116.4 kB / 1.212 GB, free: 110.2 MB / 427.1 MB Notification: Performance of sort global known variables: time 4.21e-07/3.072, allocations: 0 / 1.212 GB, free: 110.2 MB / 427.1 MB Notification: Performance of remove unused functions: time 0.002306/3.075, allocations: 406.7 kB / 1.212 GB, free: 109.8 MB / 427.1 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.004411/3.079, allocations: 1.268 MB / 1.213 GB, free: 108.6 MB / 427.1 MB Notification: Performance of simCode: created initialization part: time 0.001628/3.081, allocations: 0.5104 MB / 1.214 GB, free: 108.1 MB / 427.1 MB Notification: Performance of simCode: created event and clocks part: time 7.204e-06/3.081, allocations: 0 / 1.214 GB, free: 108.1 MB / 427.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008199/3.082, allocations: 469.7 kB / 1.214 GB, free: 107.6 MB / 427.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009902/3.083, allocations: 79.7 kB / 1.214 GB, free: 107.6 MB / 427.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001837/3.084, allocations: 0.768 MB / 1.215 GB, free: 106.7 MB / 427.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003097/3.085, allocations: 0.7854 MB / 1.216 GB, free: 105.9 MB / 427.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007334/3.086, allocations: 79.3 kB / 1.216 GB, free: 105.8 MB / 427.1 MB Notification: Performance of SimCode: time 1.172e-06/3.086, allocations: 4 kB / 1.216 GB, free: 105.8 MB / 427.1 MB Notification: Performance of Templates: time 0.03585/3.121, allocations: 17.74 MB / 1.233 GB, free: 88.07 MB / 427.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.MixtureGases.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.MixtureGases.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.MixtureGases.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.MixtureGases.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.MixtureGases.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.MixtureGases --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.MixtureGases.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.MixtureGases_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/MixtureGases/MixtureGases.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.MixtureGases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches