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.001729/0.001729, allocations: 196.1 kB / 18.1 MB, free: 3.742 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.305/1.305, allocations: 226.5 MB / 245.4 MB, free: 6.387 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009178/0.0009177, allocations: 92.41 kB / 297.5 MB, free: 6.656 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002256/0.0002257, allocations: 8 kB / 358.1 MB, free: 10.06 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1986/0.1988, allocations: 51.3 MB / 409.4 MB, free: 27.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.252/1.451, allocations: 0.7076 GB / 1.107 GB, free: 95.49 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001898/1.451, allocations: 67.97 kB / 1.107 GB, free: 95.42 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3837/1.835, allocations: 109.5 MB / 1.214 GB, free: 136.8 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.933e-06/1.835, allocations: 0 / 1.214 GB, free: 136.8 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.421e-05/1.835, allocations: 6.375 kB / 1.214 GB, free: 136.8 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.002229/1.837, allocations: 0.7652 MB / 1.215 GB, free: 136.4 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/1.837, allocations: 12.41 kB / 1.215 GB, free: 136.4 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001711/1.839, allocations: 243.9 kB / 1.215 GB, free: 136.3 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004092/1.839, allocations: 292.3 kB / 1.216 GB, free: 136.1 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.134e-05/1.839, allocations: 25.53 kB / 1.216 GB, free: 136.1 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.272e-05/1.839, allocations: 32.66 kB / 1.216 GB, free: 136.1 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001157/1.84, allocations: 0.6647 MB / 1.216 GB, free: 136.1 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.177e-05/1.84, allocations: 2.625 kB / 1.216 GB, free: 136.1 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.153e-05/1.841, allocations: 16.28 kB / 1.216 GB, free: 136.1 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.311e-05/1.841, allocations: 15.73 kB / 1.216 GB, free: 136.1 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001437/1.842, allocations: 0.744 MB / 1.217 GB, free: 136.1 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.003117/1.845, allocations: 1.798 MB / 1.219 GB, free: 135.3 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001064/1.846, allocations: 478 kB / 1.219 GB, free: 135.2 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005205/1.847, allocations: 238.4 kB / 1.22 GB, free: 135.2 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0017/1.848, allocations: 1.336 MB / 1.221 GB, free: 134.1 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/1.848, allocations: 42.91 kB / 1.221 GB, free: 134 MB / 458.7 MB Notification: Performance of pre-optimization done (n=35): time 2.324e-06/1.848, allocations: 0 / 1.221 GB, free: 134 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.01177/1.86, allocations: 3.639 MB / 1.224 GB, free: 133 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.408e-05/1.86, allocations: 87.95 kB / 1.225 GB, free: 132.9 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001458/1.86, allocations: 173.2 kB / 1.225 GB, free: 132.8 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.59e-05/1.861, allocations: 37.8 kB / 1.225 GB, free: 132.7 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.989e-05/1.861, allocations: 181.2 kB / 1.225 GB, free: 132.6 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001245/1.861, allocations: 178.1 kB / 1.225 GB, free: 132.5 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.291e-05/1.861, allocations: 9.438 kB / 1.225 GB, free: 132.5 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.764e-05/1.861, allocations: 342.2 kB / 1.225 GB, free: 132.2 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006612/1.862, allocations: 256.9 kB / 1.226 GB, free: 132.2 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007108/1.862, allocations: 425.7 kB / 1.226 GB, free: 132 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001373/1.864, allocations: 0.6969 MB / 1.227 GB, free: 131.8 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/1.864, allocations: 1.5 kB / 1.227 GB, free: 131.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001779/1.865, allocations: 0.7775 MB / 1.228 GB, free: 131.8 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/1.866, allocations: 5.562 kB / 1.228 GB, free: 131.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/1.866, allocations: 6.875 kB / 1.228 GB, free: 131.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002067/1.866, allocations: 57.41 kB / 1.228 GB, free: 131.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009723/1.867, allocations: 181.5 kB / 1.228 GB, free: 131.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004623/1.867, allocations: 1.085 MB / 1.229 GB, free: 130.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000669/1.868, allocations: 44.94 kB / 1.229 GB, free: 130.7 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.637e-05/1.868, allocations: 38.77 kB / 1.229 GB, free: 130.7 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.0002342/1.868, allocations: 173.8 kB / 1.229 GB, free: 130.6 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001124/1.868, allocations: 38 kB / 1.229 GB, free: 130.6 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002051/1.87, allocations: 0.7869 MB / 1.23 GB, free: 130.5 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/1.87, allocations: 3.938 kB / 1.23 GB, free: 130.5 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/1.87, allocations: 3.516 kB / 1.23 GB, free: 130.5 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.862e-06/1.87, allocations: 3.875 kB / 1.23 GB, free: 130.5 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002881/1.873, allocations: 1.565 MB / 1.231 GB, free: 129.9 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/1.873, allocations: 3.281 kB / 1.231 GB, free: 129.9 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000902/1.874, allocations: 145 kB / 1.232 GB, free: 129.9 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001266/1.874, allocations: 42.25 kB / 1.232 GB, free: 129.9 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.85e-05/1.874, allocations: 27.03 kB / 1.232 GB, free: 129.9 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001192/1.876, allocations: 2.536 MB / 1.234 GB, free: 127.4 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/1.876, allocations: 3.906 kB / 1.234 GB, free: 127.4 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002241/1.878, allocations: 1.065 MB / 1.235 GB, free: 127.1 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.192e-05/1.878, allocations: 107 kB / 1.235 GB, free: 127 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.638e-05/1.878, allocations: 14.88 kB / 1.235 GB, free: 127 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006706/1.879, allocations: 38.06 kB / 1.235 GB, free: 127 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.367e-05/1.879, allocations: 47.23 kB / 1.235 GB, free: 127 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.124e-05/1.879, allocations: 39.11 kB / 1.235 GB, free: 127 MB / 458.7 MB Notification: Performance of sorting global known variables: time 8.168e-05/1.879, allocations: 120.4 kB / 1.236 GB, free: 126.9 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.879, allocations: 0 / 1.236 GB, free: 126.9 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001658/1.881, allocations: 443.9 kB / 1.236 GB, free: 126.9 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.002991/1.884, allocations: 1.163 MB / 1.237 GB, free: 126.7 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001839/1.886, allocations: 0.6566 MB / 1.238 GB, free: 126.6 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/1.886, allocations: 0 / 1.238 GB, free: 126.6 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009672/1.887, allocations: 0.5309 MB / 1.238 GB, free: 126.4 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008308/1.887, allocations: 107.5 kB / 1.238 GB, free: 126.4 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001926/1.889, allocations: 1.181 MB / 1.239 GB, free: 125.8 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000204/1.89, allocations: 0.7796 MB / 1.24 GB, free: 125.1 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001186/1.891, allocations: 192 kB / 1.24 GB, free: 125 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000309/1.891, allocations: 57.73 kB / 1.24 GB, free: 125 MB / 458.7 MB Notification: Performance of SimCode: time 1.012e-06/1.891, allocations: 6.125 kB / 1.24 GB, free: 125 MB / 458.7 MB Notification: Performance of Templates: time 0.02949/1.921, allocations: 23.66 MB / 1.264 GB, free: 112.7 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/jenkins1/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