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.00101/0.00101, allocations: 174.8 kB / 13.63 MB, free: 1.684 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.385/1.385, allocations: 221.4 MB / 235.5 MB, free: 2.957 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001112, allocations: 79.88 kB / 286.5 MB, free: 252 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.482e-05/3.494e-05, allocations: 0 / 343.8 MB, free: 4.344 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1341, allocations: 50.42 MB / 394.2 MB, free: 1.883 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.092/2.226, allocations: 0.7068 GB / 1.092 GB, free: 174.4 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002734/2.226, allocations: 74.19 kB / 1.092 GB, free: 174.4 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2088/2.435, allocations: 109.6 MB / 1.199 GB, free: 72.07 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.903e-06/2.435, allocations: 0 / 1.199 GB, free: 72.07 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.374e-05/2.435, allocations: 4 kB / 1.199 GB, free: 72.07 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.002448/2.438, allocations: 0.7634 MB / 1.2 GB, free: 71.26 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.235e-05/2.438, allocations: 8.031 kB / 1.2 GB, free: 71.25 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001702/2.439, allocations: 251.9 kB / 1.2 GB, free: 71.01 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003801/2.44, allocations: 294.5 kB / 1.2 GB, free: 70.68 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/2.44, allocations: 20.56 kB / 1.2 GB, free: 70.66 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.688e-05/2.44, allocations: 32 kB / 1.2 GB, free: 70.63 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008781/2.441, allocations: 0.6104 MB / 1.201 GB, free: 70 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.139e-05/2.441, allocations: 7.891 kB / 1.201 GB, free: 69.99 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.814e-05/2.441, allocations: 12 kB / 1.201 GB, free: 69.98 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.072e-05/2.441, allocations: 12.44 kB / 1.201 GB, free: 69.96 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008422/2.442, allocations: 0.6621 MB / 1.201 GB, free: 69.3 MB / 458.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.003279/2.445, allocations: 1.799 MB / 1.203 GB, free: 67.41 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005595/2.446, allocations: 394 kB / 1.204 GB, free: 67.01 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002692/2.446, allocations: 189.7 kB / 1.204 GB, free: 66.82 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001453/2.447, allocations: 0.9122 MB / 1.205 GB, free: 65.75 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/2.447, allocations: 42.52 kB / 1.205 GB, free: 65.7 MB / 458.7 MB Notification: Performance of pre-optimization done (n=35): time 3.366e-06/2.447, allocations: 0 / 1.205 GB, free: 65.7 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.009335/2.457, allocations: 2.795 MB / 1.207 GB, free: 62.74 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.6e-05/2.457, allocations: 81.11 kB / 1.208 GB, free: 62.64 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001647/2.457, allocations: 154.4 kB / 1.208 GB, free: 62.48 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 5.167e-05/2.457, allocations: 33.7 kB / 1.208 GB, free: 62.45 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.987e-05/2.457, allocations: 180.1 kB / 1.208 GB, free: 62.26 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000122/2.457, allocations: 173.5 kB / 1.208 GB, free: 62.09 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.34e-05/2.457, allocations: 12 kB / 1.208 GB, free: 62.08 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.852e-05/2.457, allocations: 338.8 kB / 1.208 GB, free: 61.74 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003201/2.458, allocations: 205.5 kB / 1.209 GB, free: 61.54 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003846/2.458, allocations: 375.4 kB / 1.209 GB, free: 61.11 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003615/2.458, allocations: 260.1 kB / 1.209 GB, free: 60.86 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/2.458, allocations: 0 / 1.209 GB, free: 60.86 MB / 458.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001018/2.459, allocations: 0.6677 MB / 1.21 GB, free: 60.18 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/2.459, allocations: 8 kB / 1.21 GB, free: 60.17 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/2.46, allocations: 4 kB / 1.21 GB, free: 60.16 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001981/2.46, allocations: 58.25 kB / 1.21 GB, free: 60.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001005/2.461, allocations: 183.7 kB / 1.21 GB, free: 59.92 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000525/2.461, allocations: 1.085 MB / 1.211 GB, free: 58.79 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006434/2.462, allocations: 39.91 kB / 1.211 GB, free: 58.75 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.448e-05/2.462, allocations: 39.97 kB / 1.211 GB, free: 58.71 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 () * 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.0001635/2.462, allocations: 144.9 kB / 1.211 GB, free: 58.56 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/2.462, allocations: 31.66 kB / 1.211 GB, free: 58.53 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00135/2.464, allocations: 0.6713 MB / 1.212 GB, free: 57.85 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.124e-06/2.464, allocations: 8 kB / 1.212 GB, free: 57.84 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/2.464, allocations: 3.953 kB / 1.212 GB, free: 57.84 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.114e-06/2.464, allocations: 7.922 kB / 1.212 GB, free: 57.83 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002216/2.466, allocations: 1.469 MB / 1.213 GB, free: 56.27 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/2.466, allocations: 4 kB / 1.214 GB, free: 56.26 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009161/2.467, allocations: 151.7 kB / 1.214 GB, free: 56.11 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001144/2.467, allocations: 33.7 kB / 1.214 GB, free: 56.07 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.922e-05/2.467, allocations: 32.08 kB / 1.214 GB, free: 56.04 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001265/2.468, allocations: 2.533 MB / 1.216 GB, free: 53.25 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/2.468, allocations: 0 / 1.216 GB, free: 53.25 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001338/2.47, allocations: 1.015 MB / 1.217 GB, free: 52.13 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.262e-05/2.47, allocations: 96.83 kB / 1.217 GB, free: 52.02 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.849e-05/2.47, allocations: 20 kB / 1.217 GB, free: 52 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006735/2.471, allocations: 40 kB / 1.217 GB, free: 51.96 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.808e-05/2.471, allocations: 39.84 kB / 1.217 GB, free: 51.92 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.323e-05/2.471, allocations: 39.95 kB / 1.217 GB, free: 51.88 MB / 458.7 MB Notification: Performance of sorting global known variables: time 8.165e-05/2.471, allocations: 119.3 kB / 1.218 GB, free: 51.77 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.6e-07/2.471, allocations: 4 kB / 1.218 GB, free: 51.76 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002248/2.473, allocations: 435.7 kB / 1.218 GB, free: 51.34 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 () * 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.002883/2.476, allocations: 1.156 MB / 1.219 GB, free: 50.18 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001212/2.477, allocations: 0.5392 MB / 1.22 GB, free: 49.64 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/2.477, allocations: 0 / 1.22 GB, free: 49.64 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005918/2.478, allocations: 0.49 MB / 1.22 GB, free: 49.12 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006085/2.478, allocations: 96.2 kB / 1.22 GB, free: 49.03 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/2.48, allocations: 0.7392 MB / 1.221 GB, free: 48.24 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002514/2.48, allocations: 0.7931 MB / 1.222 GB, free: 47.42 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001113/2.481, allocations: 187.1 kB / 1.222 GB, free: 47.23 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003006/2.481, allocations: 67.38 kB / 1.222 GB, free: 47.17 MB / 458.7 MB Notification: Performance of SimCode: time 4.41e-07/2.481, allocations: 0 / 1.222 GB, free: 47.17 MB / 458.7 MB Notification: Performance of Templates: time 0.03033/2.512, allocations: 24.71 MB / 1.246 GB, free: 22.47 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