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.001542/0.001541, allocations: 172.5 kB / 14.1 MB, free: 1.223 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.86/1.86, allocations: 205.2 MB / 219.8 MB, free: 14.21 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.0009335/0.0009334, allocations: 78.73 kB / 268 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.299e-05/3.332e-05, allocations: 4 kB / 322.4 MB, free: 17.36 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1315, allocations: 47.58 MB / 370 MB, free: 1.715 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.872/2.004, allocations: 0.7379 GB / 1.099 GB, free: 96.56 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002531/2.004, allocations: 67.97 kB / 1.099 GB, free: 96.5 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4806/2.485, allocations: 107.2 MB / 1.204 GB, free: 120.9 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.709e-06/2.485, allocations: 4.031 kB / 1.204 GB, free: 120.9 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.136e-05/2.485, allocations: 4.094 kB / 1.204 GB, free: 120.9 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.002976/2.488, allocations: 0.7692 MB / 1.205 GB, free: 120.5 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.617e-05/2.488, allocations: 10.28 kB / 1.205 GB, free: 120.5 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001832/2.49, allocations: 248.4 kB / 1.205 GB, free: 120.4 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000493/2.49, allocations: 280.4 kB / 1.205 GB, free: 120.2 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.576e-05/2.49, allocations: 26.2 kB / 1.205 GB, free: 120.2 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/2.49, allocations: 32.52 kB / 1.205 GB, free: 120.2 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001248/2.492, allocations: 0.6131 MB / 1.206 GB, free: 120.2 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.587e-05/2.492, allocations: 1.812 kB / 1.206 GB, free: 120.2 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.059e-05/2.492, allocations: 14.44 kB / 1.206 GB, free: 120.2 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.636e-05/2.492, allocations: 13.25 kB / 1.206 GB, free: 120.2 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00137/2.493, allocations: 0.6624 MB / 1.207 GB, free: 120.2 MB / 426.7 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.004247/2.498, allocations: 1.807 MB / 1.208 GB, free: 119.4 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007744/2.498, allocations: 390.5 kB / 1.209 GB, free: 119.3 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004096/2.499, allocations: 189.3 kB / 1.209 GB, free: 119.3 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002157/2.501, allocations: 0.9155 MB / 1.21 GB, free: 118.5 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.98e-05/2.501, allocations: 37.59 kB / 1.21 GB, free: 118.5 MB / 426.7 MB Notification: Performance of pre-optimization done (n=35): time 4.899e-06/2.501, allocations: 0 / 1.21 GB, free: 118.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.01065/2.512, allocations: 2.789 MB / 1.213 GB, free: 117.6 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/2.512, allocations: 85.67 kB / 1.213 GB, free: 117.5 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001567/2.512, allocations: 162.7 kB / 1.213 GB, free: 117.4 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.624e-05/2.512, allocations: 32.77 kB / 1.213 GB, free: 117.4 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.666e-05/2.512, allocations: 177.1 kB / 1.213 GB, free: 117.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001384/2.512, allocations: 180.6 kB / 1.213 GB, free: 117.2 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.589e-05/2.512, allocations: 14.97 kB / 1.213 GB, free: 117.2 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.616e-05/2.512, allocations: 332.6 kB / 1.214 GB, free: 116.9 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003428/2.513, allocations: 215.3 kB / 1.214 GB, free: 116.9 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004387/2.513, allocations: 370.1 kB / 1.214 GB, free: 116.7 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004095/2.514, allocations: 254.6 kB / 1.214 GB, free: 116.7 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/2.514, allocations: 0 / 1.214 GB, free: 116.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00111/2.515, allocations: 0.6709 MB / 1.215 GB, free: 116.6 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.905e-05/2.515, allocations: 13.17 kB / 1.215 GB, free: 116.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/2.515, allocations: 7.125 kB / 1.215 GB, free: 116.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002101/2.515, allocations: 57.86 kB / 1.215 GB, free: 116.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00102/2.516, allocations: 174.2 kB / 1.215 GB, free: 116.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005112/2.517, allocations: 1.082 MB / 1.216 GB, free: 115.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006552/2.517, allocations: 53.05 kB / 1.216 GB, free: 115.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.923e-05/2.517, allocations: 35.27 kB / 1.216 GB, free: 115.5 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 () * 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.0001705/2.517, allocations: 137.4 kB / 1.216 GB, free: 115.4 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001136/2.518, allocations: 25.59 kB / 1.216 GB, free: 115.4 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001528/2.519, allocations: 0.6878 MB / 1.217 GB, free: 115.3 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.647e-06/2.519, allocations: 7.688 kB / 1.217 GB, free: 115.3 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/2.519, allocations: 0 / 1.217 GB, free: 115.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/2.519, allocations: 4.5 kB / 1.217 GB, free: 115.3 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002412/2.522, allocations: 1.457 MB / 1.219 GB, free: 114.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/2.522, allocations: 0 / 1.219 GB, free: 114.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009341/2.523, allocations: 149.5 kB / 1.219 GB, free: 114.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001234/2.523, allocations: 45.91 kB / 1.219 GB, free: 114.8 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.456e-05/2.523, allocations: 22.92 kB / 1.219 GB, free: 114.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001286/2.524, allocations: 2.536 MB / 1.221 GB, free: 112.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/2.524, allocations: 1.031 kB / 1.221 GB, free: 112.2 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001347/2.525, allocations: 1.014 MB / 1.222 GB, free: 111.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.511e-05/2.526, allocations: 104.7 kB / 1.222 GB, free: 111.7 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.517e-05/2.526, allocations: 20.66 kB / 1.222 GB, free: 111.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000681/2.526, allocations: 39.28 kB / 1.222 GB, free: 111.7 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.01e-05/2.526, allocations: 42.77 kB / 1.222 GB, free: 111.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.893e-05/2.527, allocations: 34.23 kB / 1.223 GB, free: 111.7 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.015e-05/2.527, allocations: 127 kB / 1.223 GB, free: 111.6 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/2.527, allocations: 0 / 1.223 GB, free: 111.6 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002295/2.529, allocations: 443.8 kB / 1.223 GB, free: 111.6 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 () * 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.00294/2.532, allocations: 1.148 MB / 1.224 GB, free: 111.4 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001153/2.533, allocations: 0.5449 MB / 1.225 GB, free: 111.4 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/2.533, allocations: 0 / 1.225 GB, free: 111.4 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005801/2.534, allocations: 488.1 kB / 1.225 GB, free: 111.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006094/2.534, allocations: 94.16 kB / 1.225 GB, free: 111.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00138/2.536, allocations: 0.7469 MB / 1.226 GB, free: 110.9 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002896/2.536, allocations: 0.7947 MB / 1.227 GB, free: 110.2 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001113/2.537, allocations: 188.4 kB / 1.227 GB, free: 110.1 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003138/2.537, allocations: 63.45 kB / 1.227 GB, free: 110.1 MB / 426.7 MB Notification: Performance of SimCode: time 6.21e-07/2.537, allocations: 0 / 1.227 GB, free: 110.1 MB / 426.7 MB Notification: Performance of Templates: time 0.03447/2.572, allocations: 24.7 MB / 1.251 GB, free: 105.4 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/jenkins/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