Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Media.Examples.MixtureGases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009594/0.0009594, allocations: 176.4 kB / 17.4 MB, free: 4.297 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.273/1.273, allocations: 223.3 MB / 241.4 MB, free: 11.69 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008259/0.0008259, allocations: 99.59 kB / 292.6 MB, free: 10.78 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003225/0.0003226, allocations: 11.94 kB / 352.3 MB, free: 15.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2223/0.2226, allocations: 50.4 MB / 402.7 MB, free: 32.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.205/1.428, allocations: 0.707 GB / 1.1 GB, free: 57.69 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002023/1.428, allocations: 72.94 kB / 1.1 GB, free: 57.62 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3614/1.79, allocations: 109.7 MB / 1.207 GB, free: 118.4 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.423e-06/1.79, allocations: 0 / 1.207 GB, free: 118.4 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.159e-05/1.79, allocations: 4 kB / 1.207 GB, free: 118.4 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.002038/1.792, allocations: 0.7604 MB / 1.208 GB, free: 117.6 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/1.792, allocations: 8.031 kB / 1.208 GB, free: 117.5 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001618/1.793, allocations: 252.8 kB / 1.208 GB, free: 117.3 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003406/1.794, allocations: 291.8 kB / 1.209 GB, free: 117 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/1.794, allocations: 28.88 kB / 1.209 GB, free: 116.9 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.302e-05/1.794, allocations: 28.38 kB / 1.209 GB, free: 116.9 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/1.795, allocations: 0.6642 MB / 1.209 GB, free: 116.2 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/1.795, allocations: 0 / 1.209 GB, free: 116.2 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.406e-05/1.795, allocations: 12 kB / 1.209 GB, free: 116.2 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.071e-05/1.795, allocations: 12.44 kB / 1.209 GB, free: 116.2 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001365/1.796, allocations: 0.755 MB / 1.21 GB, free: 115.5 MB / 442.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.002946/1.799, allocations: 1.807 MB / 1.212 GB, free: 113.6 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001041/1.8, allocations: 472.8 kB / 1.212 GB, free: 113.1 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005053/1.801, allocations: 230.2 kB / 1.213 GB, free: 112.9 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001618/1.803, allocations: 1.344 MB / 1.214 GB, free: 111.3 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.893e-05/1.803, allocations: 42.56 kB / 1.214 GB, free: 111.2 MB / 442.7 MB Notification: Performance of pre-optimization done (n=35): time 1.853e-06/1.803, allocations: 0 / 1.214 GB, free: 111.2 MB / 442.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.01123/1.814, allocations: 3.639 MB / 1.217 GB, free: 107.4 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/1.814, allocations: 85.11 kB / 1.218 GB, free: 107.3 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/1.814, allocations: 180.8 kB / 1.218 GB, free: 107.1 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.647e-05/1.814, allocations: 33.7 kB / 1.218 GB, free: 107.1 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.649e-05/1.814, allocations: 180.1 kB / 1.218 GB, free: 106.9 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001191/1.814, allocations: 173.5 kB / 1.218 GB, free: 106.7 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.23e-05/1.814, allocations: 16 kB / 1.218 GB, free: 106.7 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.04e-05/1.814, allocations: 334.8 kB / 1.218 GB, free: 106.4 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006117/1.815, allocations: 261.1 kB / 1.219 GB, free: 106.1 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000643/1.816, allocations: 425.5 kB / 1.219 GB, free: 105.6 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001249/1.817, allocations: 0.7027 MB / 1.22 GB, free: 104.9 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/1.817, allocations: 0 / 1.22 GB, free: 104.9 MB / 442.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00157/1.819, allocations: 0.781 MB / 1.221 GB, free: 104.1 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/1.819, allocations: 4 kB / 1.221 GB, free: 104.1 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/1.819, allocations: 8 kB / 1.221 GB, free: 104.1 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001703/1.819, allocations: 57.62 kB / 1.221 GB, free: 104 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009095/1.82, allocations: 179.7 kB / 1.221 GB, free: 103.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003932/1.82, allocations: 1.081 MB / 1.222 GB, free: 102.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005984/1.821, allocations: 40.16 kB / 1.222 GB, free: 102.6 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-05/1.821, allocations: 39.97 kB / 1.222 GB, free: 102.6 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 () * 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.0001971/1.821, allocations: 173.9 kB / 1.222 GB, free: 102.4 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.057e-05/1.821, allocations: 31.66 kB / 1.222 GB, free: 102.4 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001839/1.823, allocations: 0.7887 MB / 1.223 GB, free: 101.6 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/1.823, allocations: 4 kB / 1.223 GB, free: 101.6 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/1.823, allocations: 4 kB / 1.223 GB, free: 101.6 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/1.823, allocations: 7.984 kB / 1.223 GB, free: 101.6 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002584/1.826, allocations: 1.573 MB / 1.224 GB, free: 99.92 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-06/1.826, allocations: 4 kB / 1.224 GB, free: 99.91 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008663/1.826, allocations: 143.8 kB / 1.225 GB, free: 99.77 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000107/1.827, allocations: 49.84 kB / 1.225 GB, free: 99.72 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.727e-05/1.827, allocations: 23.97 kB / 1.225 GB, free: 99.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001026/1.828, allocations: 2.529 MB / 1.227 GB, free: 96.9 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/1.828, allocations: 12.22 kB / 1.227 GB, free: 96.89 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002045/1.83, allocations: 1.068 MB / 1.228 GB, free: 95.77 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.347e-05/1.83, allocations: 96.83 kB / 1.228 GB, free: 95.66 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.368e-05/1.83, allocations: 12 kB / 1.228 GB, free: 95.64 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000637/1.831, allocations: 44 kB / 1.228 GB, free: 95.6 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.544e-05/1.831, allocations: 43.83 kB / 1.228 GB, free: 95.56 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.33e-05/1.831, allocations: 35.97 kB / 1.228 GB, free: 95.52 MB / 442.7 MB Notification: Performance of sorting global known variables: time 6.586e-05/1.831, allocations: 124.4 kB / 1.229 GB, free: 95.4 MB / 442.7 MB Notification: Performance of sort global known variables: time 2e-07/1.831, allocations: 4 kB / 1.229 GB, free: 95.4 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001402/1.832, allocations: 431.7 kB / 1.229 GB, free: 94.98 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 () * 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.002742/1.835, allocations: 1.153 MB / 1.23 GB, free: 93.82 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0016/1.837, allocations: 0.6548 MB / 1.231 GB, free: 93.17 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/1.837, allocations: 0 / 1.231 GB, free: 93.17 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008881/1.837, allocations: 0.5344 MB / 1.231 GB, free: 92.61 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007754/1.838, allocations: 99.86 kB / 1.231 GB, free: 92.51 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001731/1.84, allocations: 1.182 MB / 1.232 GB, free: 91.28 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002012/1.84, allocations: 0.7852 MB / 1.233 GB, free: 90.47 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001152/1.841, allocations: 187.1 kB / 1.233 GB, free: 90.29 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002981/1.842, allocations: 63.39 kB / 1.233 GB, free: 90.22 MB / 442.7 MB Notification: Performance of SimCode: time 5.1e-07/1.842, allocations: 3.938 kB / 1.233 GB, free: 90.22 MB / 442.7 MB Notification: Performance of Templates: time 0.02692/1.869, allocations: 23.57 MB / 1.256 GB, free: 66.67 MB / 442.7 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.sim & ./Modelica_4.0.0_Modelica.Media.Examples.MixtureGases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.MixtureGases_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/MixtureGases/MixtureGases.csv","../files/Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches