Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.MixtureGases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Media.Examples.MixtureGases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00111/0.00111, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.199/1.199, allocations: 227.2 MB / 245 MB, free: 7.488 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008837/0.0008837, allocations: 103.3 kB / 297.3 MB, free: 6.18 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002073/0.0002073, allocations: 4 kB / 357.9 MB, free: 9.543 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1947/0.1949, allocations: 51.48 MB / 409.4 MB, free: 26.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.238/1.433, allocations: 0.7076 GB / 1.107 GB, free: 73.54 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002093/1.433, allocations: 70.81 kB / 1.108 GB, free: 73.51 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3714/1.805, allocations: 109.5 MB / 1.214 GB, free: 139.6 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.483e-06/1.805, allocations: 0 / 1.214 GB, free: 139.6 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.177e-05/1.805, allocations: 3.438 kB / 1.214 GB, free: 139.6 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.002312/1.807, allocations: 0.7753 MB / 1.215 GB, free: 139.1 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/1.807, allocations: 9.719 kB / 1.215 GB, free: 139.1 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001777/1.809, allocations: 255.9 kB / 1.215 GB, free: 139.1 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004583/1.809, allocations: 284 kB / 1.216 GB, free: 138.9 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.203e-05/1.809, allocations: 27.56 kB / 1.216 GB, free: 138.9 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.811e-05/1.809, allocations: 34.97 kB / 1.216 GB, free: 138.9 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001166/1.811, allocations: 0.6596 MB / 1.216 GB, free: 138.8 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/1.811, allocations: 3.906 kB / 1.216 GB, free: 138.8 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.719e-05/1.811, allocations: 13.94 kB / 1.216 GB, free: 138.8 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.525e-05/1.811, allocations: 14.88 kB / 1.216 GB, free: 138.8 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001462/1.812, allocations: 0.7492 MB / 1.217 GB, free: 138.8 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.003285/1.816, allocations: 1.806 MB / 1.219 GB, free: 137.9 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001144/1.817, allocations: 477.8 kB / 1.219 GB, free: 137.9 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001401/1.818, allocations: 0.8969 MB / 1.22 GB, free: 137.1 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/1.818, allocations: 42.03 kB / 1.22 GB, free: 137.1 MB / 458.7 MB Notification: Performance of pre-optimization done (n=35): time 1.804e-06/1.818, allocations: 0 / 1.22 GB, free: 137.1 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.01201/1.83, allocations: 3.649 MB / 1.224 GB, free: 135.7 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.003e-05/1.83, allocations: 88.02 kB / 1.224 GB, free: 135.6 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/1.83, allocations: 158.1 kB / 1.224 GB, free: 135.5 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 5.465e-05/1.83, allocations: 37.55 kB / 1.224 GB, free: 135.4 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.366e-05/1.83, allocations: 177.5 kB / 1.224 GB, free: 135.3 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001122/1.831, allocations: 174.7 kB / 1.224 GB, free: 135.2 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.443e-05/1.831, allocations: 15.81 kB / 1.224 GB, free: 135.1 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 5.986e-05/1.831, allocations: 336.4 kB / 1.225 GB, free: 134.8 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006279/1.831, allocations: 261.4 kB / 1.225 GB, free: 134.7 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006495/1.832, allocations: 426.5 kB / 1.225 GB, free: 134.5 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006437/1.833, allocations: 304.9 kB / 1.226 GB, free: 134.3 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/1.833, allocations: 3.281 kB / 1.226 GB, free: 134.3 MB / 458.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001596/1.834, allocations: 0.7747 MB / 1.227 GB, free: 134 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/1.834, allocations: 10.58 kB / 1.227 GB, free: 134 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/1.834, allocations: 10.12 kB / 1.227 GB, free: 134 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001749/1.834, allocations: 49.47 kB / 1.227 GB, free: 134 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009606/1.835, allocations: 179.4 kB / 1.227 GB, free: 134 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004543/1.836, allocations: 1.078 MB / 1.228 GB, free: 132.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006791/1.837, allocations: 52.25 kB / 1.228 GB, free: 132.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.399e-05/1.837, allocations: 43.28 kB / 1.228 GB, free: 132.9 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.0002026/1.837, allocations: 169 kB / 1.228 GB, free: 132.8 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.838e-05/1.837, allocations: 28.42 kB / 1.228 GB, free: 132.7 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00194/1.839, allocations: 0.7964 MB / 1.229 GB, free: 132.4 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/1.839, allocations: 7.531 kB / 1.229 GB, free: 132.4 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/1.839, allocations: 0 / 1.229 GB, free: 132.4 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/1.839, allocations: 7.188 kB / 1.229 GB, free: 132.4 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002811/1.842, allocations: 1.561 MB / 1.23 GB, free: 131.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/1.842, allocations: 2.156 kB / 1.23 GB, free: 131.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009433/1.843, allocations: 149.1 kB / 1.231 GB, free: 131.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001011/1.843, allocations: 46.22 kB / 1.231 GB, free: 131.5 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.102e-05/1.843, allocations: 25.91 kB / 1.231 GB, free: 131.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001073/1.844, allocations: 2.54 MB / 1.233 GB, free: 128.8 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/1.844, allocations: 11.22 kB / 1.233 GB, free: 128.8 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00214/1.846, allocations: 1.159 MB / 1.234 GB, free: 128.1 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.621e-05/1.846, allocations: 97.95 kB / 1.234 GB, free: 128 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.113e-05/1.846, allocations: 19.52 kB / 1.234 GB, free: 128 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006915/1.847, allocations: 47.66 kB / 1.234 GB, free: 128 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.126e-05/1.847, allocations: 38.53 kB / 1.234 GB, free: 128 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.426e-05/1.847, allocations: 35.62 kB / 1.234 GB, free: 128 MB / 458.7 MB Notification: Performance of sorting global known variables: time 6.242e-05/1.847, allocations: 118.6 kB / 1.235 GB, free: 127.9 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/1.847, allocations: 4 kB / 1.235 GB, free: 127.9 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001293/1.849, allocations: 449.3 kB / 1.235 GB, free: 127.5 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.002423/1.851, allocations: 1.149 MB / 1.236 GB, free: 126.7 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001609/1.853, allocations: 0.6537 MB / 1.237 GB, free: 126.1 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/1.853, allocations: 4 kB / 1.237 GB, free: 126.1 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009027/1.853, allocations: 0.5359 MB / 1.237 GB, free: 125.6 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005638/1.854, allocations: 93.41 kB / 1.237 GB, free: 125.6 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001814/1.856, allocations: 1.177 MB / 1.239 GB, free: 124.5 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002388/1.856, allocations: 0.8001 MB / 1.239 GB, free: 123.7 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001033/1.857, allocations: 182.8 kB / 1.239 GB, free: 123.6 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002904/1.857, allocations: 67.05 kB / 1.24 GB, free: 123.5 MB / 458.7 MB Notification: Performance of SimCode: time 3.01e-07/1.857, allocations: 0 / 1.24 GB, free: 123.5 MB / 458.7 MB Notification: Performance of Templates: time 0.0232/1.881, allocations: 22.64 MB / 1.262 GB, free: 101.8 MB / 458.7 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.MixtureGases.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.MixtureGases.sim & ./Modelica_trunk_Modelica.Media.Examples.MixtureGases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Media.Examples.MixtureGases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches