Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001604/0.001603, allocations: 182 kB / 18.04 MB, free: 3.758 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.397/1.397, allocations: 205.4 MB / 224.2 MB, free: 9.055 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.0007938/0.0007936, allocations: 90.23 kB / 272.5 MB, free: 8.293 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003061/0.0003062, allocations: 15.98 kB / 329.4 MB, free: 15.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2154/0.2158, allocations: 47.57 MB / 377 MB, free: 45.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.239/1.455, allocations: 0.7381 GB / 1.106 GB, free: 35.17 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002267/1.455, allocations: 71.97 kB / 1.106 GB, free: 35.1 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3938/1.849, allocations: 107.3 MB / 1.211 GB, free: 97.62 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.023e-06/1.849, allocations: 0 / 1.211 GB, free: 97.62 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.631e-05/1.849, allocations: 4 kB / 1.211 GB, free: 97.62 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.002273/1.852, allocations: 0.7721 MB / 1.212 GB, free: 96.8 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/1.852, allocations: 12.03 kB / 1.212 GB, free: 96.79 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001696/1.853, allocations: 244.3 kB / 1.212 GB, free: 96.55 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004215/1.854, allocations: 287.9 kB / 1.212 GB, free: 96.23 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.301e-05/1.854, allocations: 16.94 kB / 1.212 GB, free: 96.21 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.247e-05/1.854, allocations: 28.38 kB / 1.212 GB, free: 96.18 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001164/1.855, allocations: 0.6642 MB / 1.213 GB, free: 95.51 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.18e-05/1.855, allocations: 7.938 kB / 1.213 GB, free: 95.5 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.996e-05/1.855, allocations: 16 kB / 1.213 GB, free: 95.48 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.254e-05/1.855, allocations: 12.44 kB / 1.213 GB, free: 95.47 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001403/1.857, allocations: 0.7472 MB / 1.214 GB, free: 94.72 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.003141/1.86, allocations: 1.799 MB / 1.216 GB, free: 92.83 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001068/1.861, allocations: 468.8 kB / 1.216 GB, free: 92.35 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005226/1.861, allocations: 233.6 kB / 1.216 GB, free: 92.12 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001878/1.863, allocations: 1.352 MB / 1.218 GB, free: 90.54 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.403e-05/1.863, allocations: 38.56 kB / 1.218 GB, free: 90.5 MB / 426.7 MB Notification: Performance of pre-optimization done (n=35): time 3.266e-06/1.863, allocations: 0 / 1.218 GB, free: 90.5 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.01163/1.875, allocations: 3.655 MB / 1.221 GB, free: 86.63 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.296e-05/1.875, allocations: 89.02 kB / 1.221 GB, free: 86.53 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001746/1.875, allocations: 171.3 kB / 1.221 GB, free: 86.35 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.908e-05/1.875, allocations: 33.7 kB / 1.221 GB, free: 86.31 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.425e-05/1.875, allocations: 184 kB / 1.222 GB, free: 86.13 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001109/1.875, allocations: 181.6 kB / 1.222 GB, free: 85.95 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.251e-05/1.875, allocations: 8 kB / 1.222 GB, free: 85.94 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.91e-05/1.876, allocations: 338.8 kB / 1.222 GB, free: 85.6 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000627/1.876, allocations: 261.1 kB / 1.222 GB, free: 85.34 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006578/1.877, allocations: 425.1 kB / 1.223 GB, free: 84.87 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001306/1.878, allocations: 0.6965 MB / 1.223 GB, free: 84.11 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/1.878, allocations: 4 kB / 1.223 GB, free: 84.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001695/1.88, allocations: 0.78 MB / 1.224 GB, free: 83.31 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/1.88, allocations: 8 kB / 1.224 GB, free: 83.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/1.88, allocations: 11.97 kB / 1.224 GB, free: 83.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001999/1.88, allocations: 53.62 kB / 1.224 GB, free: 83.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009292/1.881, allocations: 179.9 kB / 1.224 GB, free: 83.06 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004863/1.882, allocations: 1.074 MB / 1.226 GB, free: 81.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006643/1.882, allocations: 48.14 kB / 1.226 GB, free: 81.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.627e-05/1.882, allocations: 39.98 kB / 1.226 GB, free: 81.85 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.0002292/1.883, allocations: 173.6 kB / 1.226 GB, free: 81.67 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.683e-05/1.883, allocations: 27.66 kB / 1.226 GB, free: 81.64 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001894/1.885, allocations: 0.7784 MB / 1.227 GB, free: 80.85 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/1.885, allocations: 8 kB / 1.227 GB, free: 80.84 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/1.885, allocations: 4 kB / 1.227 GB, free: 80.84 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/1.885, allocations: 3.984 kB / 1.227 GB, free: 80.83 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002744/1.887, allocations: 1.564 MB / 1.228 GB, free: 79.17 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/1.887, allocations: 0 / 1.228 GB, free: 79.17 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009101/1.888, allocations: 151.7 kB / 1.228 GB, free: 79.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000118/1.888, allocations: 45.91 kB / 1.228 GB, free: 78.97 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.076e-05/1.888, allocations: 23.98 kB / 1.228 GB, free: 78.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001184/1.89, allocations: 2.54 MB / 1.231 GB, free: 76.14 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/1.89, allocations: 0 / 1.231 GB, free: 76.14 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002167/1.892, allocations: 1.075 MB / 1.232 GB, free: 75.02 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.275e-05/1.892, allocations: 96.83 kB / 1.232 GB, free: 74.9 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.195e-05/1.892, allocations: 20.03 kB / 1.232 GB, free: 74.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006613/1.893, allocations: 35.97 kB / 1.232 GB, free: 74.85 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.505e-05/1.893, allocations: 43.81 kB / 1.232 GB, free: 74.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.473e-05/1.893, allocations: 35.97 kB / 1.232 GB, free: 74.77 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.479e-05/1.893, allocations: 128.4 kB / 1.232 GB, free: 74.64 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.41e-07/1.893, allocations: 0 / 1.232 GB, free: 74.64 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001615/1.895, allocations: 443.6 kB / 1.233 GB, free: 74.21 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.003013/1.898, allocations: 1.151 MB / 1.234 GB, free: 73.06 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001791/1.899, allocations: 0.651 MB / 1.234 GB, free: 72.41 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/1.899, allocations: 4 kB / 1.234 GB, free: 72.41 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009343/1.9, allocations: 0.5287 MB / 1.235 GB, free: 71.85 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007883/1.901, allocations: 99.77 kB / 1.235 GB, free: 71.75 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001799/1.903, allocations: 1.185 MB / 1.236 GB, free: 70.52 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001973/1.903, allocations: 0.7852 MB / 1.237 GB, free: 69.71 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001135/1.904, allocations: 187.1 kB / 1.237 GB, free: 69.53 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003045/1.905, allocations: 67.38 kB / 1.237 GB, free: 69.46 MB / 426.7 MB Notification: Performance of SimCode: time 6.11e-07/1.905, allocations: 0 / 1.237 GB, free: 69.46 MB / 426.7 MB Notification: Performance of Templates: time 0.02948/1.934, allocations: 23.56 MB / 1.26 GB, free: 45.86 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.sim & ./Modelica_3.2.3_Modelica.Media.Examples.MixtureGases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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_Modelica.Media.Examples.MixtureGases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches