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.00149/0.00149, allocations: 185.9 kB / 16.41 MB, free: 5.723 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.907/1.907, allocations: 205.4 MB / 222.5 MB, free: 9.129 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.001161/0.001161, allocations: 82.92 kB / 270.9 MB, free: 8.395 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003939/0.0003939, allocations: 12 kB / 327 MB, free: 244 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3294/0.3299, allocations: 47.57 MB / 374.5 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.019/2.349, allocations: 0.738 GB / 1.104 GB, free: 14.74 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002434/2.349, allocations: 72.41 kB / 1.104 GB, free: 14.71 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.635/2.984, allocations: 107.3 MB / 1.209 GB, free: 82.5 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.215e-06/2.984, allocations: 0 / 1.209 GB, free: 82.5 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.557e-05/2.984, allocations: 4 kB / 1.209 GB, free: 82.5 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.003619/2.988, allocations: 0.7722 MB / 1.209 GB, free: 81.68 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/2.988, allocations: 12.03 kB / 1.209 GB, free: 81.66 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003122/2.991, allocations: 247.4 kB / 1.21 GB, free: 81.42 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005959/2.992, allocations: 282.7 kB / 1.21 GB, free: 81.11 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.805e-05/2.992, allocations: 20.56 kB / 1.21 GB, free: 81.09 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001372/2.992, allocations: 39.84 kB / 1.21 GB, free: 81.05 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002156/2.994, allocations: 0.6615 MB / 1.211 GB, free: 80.38 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.428e-05/2.994, allocations: 0 / 1.211 GB, free: 80.38 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00011/2.994, allocations: 20 kB / 1.211 GB, free: 80.36 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.446e-05/2.994, allocations: 16.42 kB / 1.211 GB, free: 80.34 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00291/2.997, allocations: 0.7478 MB / 1.211 GB, free: 79.59 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.005713/3.003, allocations: 1.807 MB / 1.213 GB, free: 77.69 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002303/3.005, allocations: 472.8 kB / 1.213 GB, free: 77.21 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002215/3.007, allocations: 0.9118 MB / 1.214 GB, free: 76.15 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.59e-05/3.008, allocations: 42.5 kB / 1.214 GB, free: 76.1 MB / 426.7 MB Notification: Performance of pre-optimization done (n=35): time 3.467e-06/3.008, allocations: 4 kB / 1.214 GB, free: 76.1 MB / 426.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium1.T Please use -d=bltdump for more information. Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium2.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=48): time 0.02364/3.031, allocations: 3.629 MB / 1.218 GB, free: 72.26 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.368e-05/3.031, allocations: 81.11 kB / 1.218 GB, free: 72.16 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001748/3.031, allocations: 170.3 kB / 1.218 GB, free: 71.99 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.377e-05/3.032, allocations: 33.64 kB / 1.218 GB, free: 71.95 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.574e-05/3.032, allocations: 242.6 kB / 1.218 GB, free: 71.71 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000184/3.032, allocations: 181.5 kB / 1.219 GB, free: 71.54 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.826e-05/3.032, allocations: 11.94 kB / 1.219 GB, free: 71.52 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.715e-05/3.032, allocations: 342.8 kB / 1.219 GB, free: 71.18 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001347/3.033, allocations: 261.1 kB / 1.219 GB, free: 70.93 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001395/3.035, allocations: 425.7 kB / 1.22 GB, free: 70.45 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001384/3.036, allocations: 295.3 kB / 1.22 GB, free: 70.16 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/3.036, allocations: 4 kB / 1.22 GB, free: 70.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003339/3.04, allocations: 0.7809 MB / 1.221 GB, free: 69.36 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.833e-05/3.04, allocations: 8 kB / 1.221 GB, free: 69.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/3.04, allocations: 4 kB / 1.221 GB, free: 69.35 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002906/3.04, allocations: 53.69 kB / 1.221 GB, free: 69.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001952/3.042, allocations: 180.2 kB / 1.221 GB, free: 69.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006414/3.043, allocations: 1.085 MB / 1.222 GB, free: 67.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00126/3.044, allocations: 43.88 kB / 1.222 GB, free: 67.94 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001182/3.044, allocations: 39.97 kB / 1.222 GB, free: 67.9 MB / 426.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 () * Number of clocked 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.0003421/3.044, allocations: 176.4 kB / 1.222 GB, free: 67.72 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001614/3.045, allocations: 27.67 kB / 1.222 GB, free: 67.69 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003801/3.048, allocations: 0.7845 MB / 1.223 GB, free: 66.89 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/3.048, allocations: 4 kB / 1.223 GB, free: 66.89 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.687e-05/3.048, allocations: 3.984 kB / 1.223 GB, free: 66.89 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.718e-06/3.049, allocations: 4 kB / 1.223 GB, free: 66.88 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005141/3.054, allocations: 1.566 MB / 1.225 GB, free: 65.22 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/3.054, allocations: 4 kB / 1.225 GB, free: 65.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001811/3.056, allocations: 151.9 kB / 1.225 GB, free: 65.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001951/3.056, allocations: 41.69 kB / 1.225 GB, free: 65.02 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.913e-05/3.056, allocations: 19.98 kB / 1.225 GB, free: 65 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001685/3.058, allocations: 2.556 MB / 1.227 GB, free: 62.18 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/3.058, allocations: 7.891 kB / 1.227 GB, free: 62.17 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00449/3.062, allocations: 1.167 MB / 1.228 GB, free: 60.91 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001071/3.062, allocations: 104.7 kB / 1.229 GB, free: 60.79 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000134/3.062, allocations: 12 kB / 1.229 GB, free: 60.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001249/3.064, allocations: 40 kB / 1.229 GB, free: 60.73 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.85e-05/3.064, allocations: 39.91 kB / 1.229 GB, free: 60.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001105/3.064, allocations: 35.97 kB / 1.229 GB, free: 60.66 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001294/3.064, allocations: 132.3 kB / 1.229 GB, free: 60.53 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.11e-07/3.064, allocations: 0 / 1.229 GB, free: 60.53 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002085/3.066, allocations: 447.6 kB / 1.229 GB, free: 60.09 MB / 426.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 () * Number of clocked 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.004472/3.071, allocations: 1.135 MB / 1.23 GB, free: 58.96 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003392/3.074, allocations: 0.6479 MB / 1.231 GB, free: 58.31 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.265e-06/3.074, allocations: 0 / 1.231 GB, free: 58.31 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001771/3.076, allocations: 0.5354 MB / 1.231 GB, free: 57.75 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/3.077, allocations: 96.86 kB / 1.232 GB, free: 57.66 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003145/3.08, allocations: 1.211 MB / 1.233 GB, free: 56.38 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003116/3.081, allocations: 0.7891 MB / 1.233 GB, free: 55.57 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008055/3.081, allocations: 79.36 kB / 1.234 GB, free: 55.49 MB / 426.7 MB Notification: Performance of SimCode: time 9.22e-07/3.081, allocations: 0 / 1.234 GB, free: 55.49 MB / 426.7 MB Notification: Performance of Templates: time 0.03313/3.115, allocations: 17.83 MB / 1.251 GB, free: 37.63 MB / 426.7 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