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.001347/0.001347, allocations: 181.7 kB / 16.39 MB, free: 5.762 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.344/1.344, allocations: 223.2 MB / 240.3 MB, free: 11.89 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.001104/0.001104, allocations: 94.48 kB / 291.5 MB, free: 10.92 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002994/0.0002994, allocations: 7.938 kB / 351.1 MB, free: 15.34 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.244/0.2443, allocations: 50.4 MB / 401.5 MB, free: 32.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.442/1.686, allocations: 0.7068 GB / 1.099 GB, free: 118.6 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002518/1.687, allocations: 67.95 kB / 1.099 GB, free: 118.6 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2079/1.894, allocations: 109.7 MB / 1.206 GB, free: 6.988 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.552e-06/1.894, allocations: 0 / 1.206 GB, free: 6.988 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.404e-05/1.894, allocations: 4 kB / 1.206 GB, free: 6.984 MB / 458.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.002419/1.897, allocations: 0.7719 MB / 1.207 GB, free: 6.164 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/1.897, allocations: 8.031 kB / 1.207 GB, free: 6.156 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001849/1.899, allocations: 255.4 kB / 1.207 GB, free: 5.906 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004826/1.899, allocations: 282.8 kB / 1.207 GB, free: 5.59 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.29e-05/1.899, allocations: 24.5 kB / 1.207 GB, free: 5.566 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001039/1.899, allocations: 27.91 kB / 1.207 GB, free: 5.539 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001268/1.901, allocations: 0.6644 MB / 1.208 GB, free: 4.859 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/1.901, allocations: 3.953 kB / 1.208 GB, free: 4.855 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.608e-05/1.901, allocations: 16 kB / 1.208 GB, free: 4.84 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.704e-05/1.901, allocations: 12.44 kB / 1.208 GB, free: 4.828 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001408/1.902, allocations: 0.7478 MB / 1.209 GB, free: 4.082 MB / 458.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.003406/1.906, allocations: 1.814 MB / 1.211 GB, free: 2.176 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001122/1.907, allocations: 475.7 kB / 1.211 GB, free: 1.695 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001458/1.908, allocations: 0.9082 MB / 1.212 GB, free: 0.6406 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/1.908, allocations: 42.52 kB / 1.212 GB, free: 0.5898 MB / 458.7 MB Notification: Performance of pre-optimization done (n=35): time 3.095e-06/1.908, allocations: 0 / 1.212 GB, free: 0.5898 MB / 458.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.222/2.13, allocations: 3.647 MB / 1.216 GB, free: 136.7 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/2.131, allocations: 84.58 kB / 1.216 GB, free: 136.6 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001421/2.131, allocations: 165.8 kB / 1.216 GB, free: 136.5 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.343e-05/2.131, allocations: 33.58 kB / 1.216 GB, free: 136.5 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.992e-05/2.131, allocations: 175.5 kB / 1.216 GB, free: 136.3 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001351/2.131, allocations: 181.3 kB / 1.216 GB, free: 136.2 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.409e-05/2.131, allocations: 11.66 kB / 1.216 GB, free: 136.2 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 5.678e-05/2.131, allocations: 337.4 kB / 1.216 GB, free: 135.9 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006732/2.132, allocations: 259.6 kB / 1.217 GB, free: 135.9 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007697/2.133, allocations: 422 kB / 1.217 GB, free: 135.8 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007645/2.133, allocations: 306.3 kB / 1.217 GB, free: 135.7 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/2.133, allocations: 1.344 kB / 1.217 GB, free: 135.7 MB / 458.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002074/2.135, allocations: 0.7739 MB / 1.218 GB, free: 135.7 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.494e-05/2.135, allocations: 11.28 kB / 1.218 GB, free: 135.7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/2.135, allocations: 6.969 kB / 1.218 GB, free: 135.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002236/2.136, allocations: 56.45 kB / 1.218 GB, free: 135.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001106/2.137, allocations: 182.6 kB / 1.218 GB, free: 135.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004813/2.137, allocations: 1.074 MB / 1.219 GB, free: 134.6 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007478/2.138, allocations: 51.23 kB / 1.22 GB, free: 134.6 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.986e-05/2.138, allocations: 40.34 kB / 1.22 GB, free: 134.6 MB / 458.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.0002476/2.138, allocations: 179.3 kB / 1.22 GB, free: 134.5 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001167/2.139, allocations: 26.97 kB / 1.22 GB, free: 134.5 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00212/2.141, allocations: 0.7831 MB / 1.221 GB, free: 134.4 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.802e-06/2.141, allocations: 3.281 kB / 1.221 GB, free: 134.4 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/2.141, allocations: 11.2 kB / 1.221 GB, free: 134.4 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/2.141, allocations: 0 / 1.221 GB, free: 134.4 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003398/2.144, allocations: 1.57 MB / 1.222 GB, free: 133.9 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/2.144, allocations: 0 / 1.222 GB, free: 133.9 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009822/2.145, allocations: 145.5 kB / 1.222 GB, free: 133.9 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000136/2.145, allocations: 49.61 kB / 1.222 GB, free: 133.8 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.905e-05/2.145, allocations: 26.23 kB / 1.222 GB, free: 133.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001215/2.147, allocations: 2.541 MB / 1.225 GB, free: 131.3 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/2.147, allocations: 4.781 kB / 1.225 GB, free: 131.3 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002353/2.149, allocations: 1.16 MB / 1.226 GB, free: 130.9 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.474e-05/2.149, allocations: 100.3 kB / 1.226 GB, free: 130.8 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.133e-05/2.149, allocations: 16.62 kB / 1.226 GB, free: 130.8 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007557/2.15, allocations: 41.31 kB / 1.226 GB, free: 130.8 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.251e-05/2.15, allocations: 47.14 kB / 1.226 GB, free: 130.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.715e-05/2.15, allocations: 38.41 kB / 1.226 GB, free: 130.8 MB / 458.7 MB Notification: Performance of sorting global known variables: time 7.867e-05/2.15, allocations: 120.8 kB / 1.226 GB, free: 130.7 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/2.15, allocations: 0 / 1.226 GB, free: 130.7 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001719/2.152, allocations: 439 kB / 1.227 GB, free: 130.7 MB / 458.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.003191/2.155, allocations: 1.135 MB / 1.228 GB, free: 130.6 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00179/2.157, allocations: 0.6539 MB / 1.228 GB, free: 130.6 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/2.157, allocations: 6.906 kB / 1.228 GB, free: 130.6 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009693/2.158, allocations: 0.5282 MB / 1.229 GB, free: 130.3 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006221/2.159, allocations: 98.17 kB / 1.229 GB, free: 130.3 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001955/2.16, allocations: 1.175 MB / 1.23 GB, free: 129.9 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002255/2.161, allocations: 0.7895 MB / 1.231 GB, free: 129.2 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001155/2.162, allocations: 190.3 kB / 1.231 GB, free: 129.2 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003235/2.162, allocations: 61.48 kB / 1.231 GB, free: 129.2 MB / 458.7 MB Notification: Performance of SimCode: time 8.22e-07/2.162, allocations: 2.469 kB / 1.231 GB, free: 129.2 MB / 458.7 MB Notification: Performance of Templates: time 0.02761/2.19, allocations: 22.59 MB / 1.253 GB, free: 128.1 MB / 458.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/jenkins/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