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.001467/0.001467, allocations: 197.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.36/1.36, allocations: 225.4 MB / 240.1 MB, free: 15.12 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000882/0.0008821, allocations: 94.66 kB / 292.1 MB, free: 5.914 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.224e-05/3.226e-05, allocations: 4 kB / 350.5 MB, free: 2.531 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1199, allocations: 51.47 MB / 402 MB, free: 15.01 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.722/1.842, allocations: 0.7076 GB / 1.1 GB, free: 12.64 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002413/1.842, allocations: 65.39 kB / 1.1 GB, free: 12.58 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5102/2.352, allocations: 109.5 MB / 1.207 GB, free: 91.83 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.222e-06/2.352, allocations: 0 / 1.207 GB, free: 91.83 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.628e-05/2.352, allocations: 7.984 kB / 1.207 GB, free: 91.82 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.002305/2.355, allocations: 0.764 MB / 1.208 GB, free: 91.02 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/2.355, allocations: 12.03 kB / 1.208 GB, free: 91.01 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001781/2.357, allocations: 245.9 kB / 1.208 GB, free: 90.77 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004035/2.357, allocations: 286.6 kB / 1.208 GB, free: 90.45 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/2.357, allocations: 24.5 kB / 1.208 GB, free: 90.43 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.689e-05/2.357, allocations: 35.95 kB / 1.208 GB, free: 90.39 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008867/2.358, allocations: 0.6167 MB / 1.209 GB, free: 89.75 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/2.358, allocations: 4 kB / 1.209 GB, free: 89.75 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.74e-05/2.358, allocations: 12 kB / 1.209 GB, free: 89.74 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.005e-05/2.358, allocations: 12.44 kB / 1.209 GB, free: 89.73 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000847/2.359, allocations: 0.6659 MB / 1.21 GB, free: 89.06 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.003186/2.362, allocations: 1.798 MB / 1.211 GB, free: 87.18 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005399/2.363, allocations: 386.6 kB / 1.212 GB, free: 86.79 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002691/2.363, allocations: 193.6 kB / 1.212 GB, free: 86.59 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001373/2.364, allocations: 0.9043 MB / 1.213 GB, free: 85.54 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/2.364, allocations: 38.56 kB / 1.213 GB, free: 85.49 MB / 458.7 MB Notification: Performance of pre-optimization done (n=35): time 3.156e-06/2.364, allocations: 0 / 1.213 GB, free: 85.49 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.009273/2.374, allocations: 2.784 MB / 1.216 GB, free: 82.54 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.243e-05/2.374, allocations: 85.09 kB / 1.216 GB, free: 82.44 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/2.374, allocations: 167.2 kB / 1.216 GB, free: 82.27 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 5.027e-05/2.374, allocations: 33.7 kB / 1.216 GB, free: 82.23 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.466e-05/2.374, allocations: 172.1 kB / 1.216 GB, free: 82.05 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001005/2.374, allocations: 177.5 kB / 1.216 GB, free: 81.88 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.424e-05/2.374, allocations: 16 kB / 1.216 GB, free: 81.86 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.629e-05/2.374, allocations: 338.8 kB / 1.217 GB, free: 81.52 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003026/2.375, allocations: 205.5 kB / 1.217 GB, free: 81.32 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003645/2.375, allocations: 367.5 kB / 1.217 GB, free: 80.9 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000352/2.375, allocations: 255.6 kB / 1.217 GB, free: 80.65 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/2.375, allocations: 5.734 kB / 1.217 GB, free: 80.65 MB / 458.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0009781/2.376, allocations: 0.6686 MB / 1.218 GB, free: 79.97 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/2.376, allocations: 15.94 kB / 1.218 GB, free: 79.95 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/2.376, allocations: 4 kB / 1.218 GB, free: 79.95 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001858/2.376, allocations: 49.7 kB / 1.218 GB, free: 79.89 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009639/2.377, allocations: 184 kB / 1.218 GB, free: 79.71 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004401/2.378, allocations: 1.081 MB / 1.219 GB, free: 78.58 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006426/2.379, allocations: 48.14 kB / 1.219 GB, free: 78.54 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.967e-05/2.379, allocations: 35.98 kB / 1.219 GB, free: 78.5 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.0001501/2.379, allocations: 137.3 kB / 1.22 GB, free: 78.36 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001226/2.379, allocations: 27.72 kB / 1.22 GB, free: 78.33 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001314/2.38, allocations: 0.6943 MB / 1.22 GB, free: 77.63 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/2.38, allocations: 8 kB / 1.22 GB, free: 77.62 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/2.38, allocations: 0 / 1.22 GB, free: 77.62 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/2.38, allocations: 0 / 1.22 GB, free: 77.62 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002092/2.382, allocations: 1.462 MB / 1.222 GB, free: 76.07 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.471e-06/2.382, allocations: 7.953 kB / 1.222 GB, free: 76.07 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009186/2.383, allocations: 148 kB / 1.222 GB, free: 75.92 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001174/2.383, allocations: 37.69 kB / 1.222 GB, free: 75.88 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.847e-05/2.384, allocations: 27.97 kB / 1.222 GB, free: 75.85 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001142/2.385, allocations: 2.537 MB / 1.224 GB, free: 73.05 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/2.385, allocations: 0 / 1.224 GB, free: 73.05 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001234/2.386, allocations: 1.02 MB / 1.225 GB, free: 71.94 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.337e-05/2.386, allocations: 104.9 kB / 1.225 GB, free: 71.82 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.389e-05/2.386, allocations: 15.95 kB / 1.226 GB, free: 71.8 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007186/2.387, allocations: 43.95 kB / 1.226 GB, free: 71.76 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/2.387, allocations: 31.95 kB / 1.226 GB, free: 71.73 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.43e-05/2.387, allocations: 35.97 kB / 1.226 GB, free: 71.69 MB / 458.7 MB Notification: Performance of sorting global known variables: time 9.725e-05/2.387, allocations: 124.4 kB / 1.226 GB, free: 71.57 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/2.387, allocations: 4 kB / 1.226 GB, free: 71.57 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002137/2.389, allocations: 447.6 kB / 1.226 GB, free: 71.13 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.003247/2.393, allocations: 1.149 MB / 1.227 GB, free: 69.98 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001211/2.394, allocations: 0.558 MB / 1.228 GB, free: 69.42 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/2.394, allocations: 4 kB / 1.228 GB, free: 69.42 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005992/2.394, allocations: 490.4 kB / 1.228 GB, free: 68.91 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000695/2.395, allocations: 101.3 kB / 1.228 GB, free: 68.82 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001329/2.396, allocations: 0.7401 MB / 1.229 GB, free: 68.03 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002448/2.397, allocations: 0.7853 MB / 1.23 GB, free: 67.21 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001125/2.398, allocations: 190.6 kB / 1.23 GB, free: 67.03 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003164/2.398, allocations: 59.38 kB / 1.23 GB, free: 66.97 MB / 458.7 MB Notification: Performance of SimCode: time 1.002e-06/2.398, allocations: 5.5 kB / 1.23 GB, free: 66.97 MB / 458.7 MB Notification: Performance of Templates: time 0.0296/2.428, allocations: 24.78 MB / 1.254 GB, free: 42.21 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