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.001621/0.001621, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.272/1.272, allocations: 226.7 MB / 245.5 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001032/0.001032, allocations: 109.9 kB / 296.7 MB, free: 6.5 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009562/0.0009563, allocations: 55.86 kB / 356.6 MB, free: 10.62 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2054/0.2063, allocations: 50.45 MB / 407 MB, free: 27.83 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3245/0.5309, allocations: 150.3 MB / 0.5443 GB, free: 11.57 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.003516/0.5344, allocations: 4.142 MB / 0.5484 GB, free: 10.93 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.5346, allocations: 6.625 kB / 0.5484 GB, free: 10.93 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004175/0.535, allocations: 94.86 kB / 0.5485 GB, free: 10.88 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002975/0.538, allocations: 1.1 MB / 0.5495 GB, free: 10.4 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001175/0.5392, allocations: 355.7 kB / 0.5499 GB, free: 10.28 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006928/0.5399, allocations: 0.6157 MB / 0.5505 GB, free: 10.09 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.761e-05/0.5399, allocations: 13.42 kB / 0.5505 GB, free: 10.08 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003531/0.5403, allocations: 212.4 kB / 0.5507 GB, free: 10.02 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002784/0.5406, allocations: 160.8 kB / 0.5508 GB, free: 9.988 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.775e-05/0.5406, allocations: 10.66 kB / 0.5509 GB, free: 9.988 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005131/0.5458, allocations: 2.493 MB / 0.5533 GB, free: 9.191 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001689/0.546, allocations: 139 kB / 0.5534 GB, free: 9.137 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002113/0.5462, allocations: 160.2 kB / 0.5536 GB, free: 9.121 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002284/0.5485, allocations: 1.786 MB / 0.5553 GB, free: 8.422 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.5485, allocations: 0 / 0.5553 GB, free: 8.422 MB / 394.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.5485, allocations: 0 / 0.5553 GB, free: 8.422 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.5485, allocations: 0 / 0.5553 GB, free: 8.422 MB / 394.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.001843/0.5504, allocations: 0.7725 MB / 0.5561 GB, free: 7.844 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.5504, allocations: 14.16 kB / 0.5561 GB, free: 7.84 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002417/0.5529, allocations: 260.4 kB / 0.5563 GB, free: 7.738 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004053/0.5533, allocations: 287.7 kB / 0.5566 GB, free: 7.488 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/0.5533, allocations: 21.55 kB / 0.5566 GB, free: 7.484 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.376e-05/0.5534, allocations: 24.34 kB / 0.5567 GB, free: 7.484 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001212/0.5546, allocations: 0.6743 MB / 0.5573 GB, free: 7.262 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.5546, allocations: 2.406 kB / 0.5573 GB, free: 7.262 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.137e-05/0.5547, allocations: 12.62 kB / 0.5573 GB, free: 7.262 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.207e-05/0.5547, allocations: 20.17 kB / 0.5573 GB, free: 7.258 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00161/0.5564, allocations: 0.7595 MB / 0.5581 GB, free: 7.121 MB / 394.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.003762/0.5601, allocations: 1.82 MB / 0.5599 GB, free: 5.973 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001275/0.5614, allocations: 480 kB / 0.5603 GB, free: 5.84 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006163/0.562, allocations: 237.1 kB / 0.5605 GB, free: 5.777 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00232/0.5644, allocations: 1.374 MB / 0.5619 GB, free: 4.516 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/0.5644, allocations: 40.81 kB / 0.5619 GB, free: 4.473 MB / 394.7 MB Notification: Performance of pre-optimization done (n=35): time 2.174e-06/0.5644, allocations: 0 / 0.5619 GB, free: 4.473 MB / 394.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.01372/0.5781, allocations: 3.713 MB / 0.5656 GB, free: 2.73 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.047e-05/0.5782, allocations: 82.64 kB / 0.5656 GB, free: 2.637 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.5784, allocations: 175.6 kB / 0.5658 GB, free: 2.516 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.746e-05/0.5784, allocations: 38.98 kB / 0.5658 GB, free: 2.48 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.029e-05/0.5785, allocations: 177.4 kB / 0.566 GB, free: 2.324 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001262/0.5786, allocations: 174.8 kB / 0.5662 GB, free: 2.199 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001973/0.5788, allocations: 120 kB / 0.5663 GB, free: 2.16 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.972e-05/0.5789, allocations: 338 kB / 0.5666 GB, free: 1.836 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007172/0.5797, allocations: 268.2 kB / 0.5669 GB, free: 1.785 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008004/0.5805, allocations: 423.5 kB / 0.5673 GB, free: 1.543 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001498/0.582, allocations: 0.6998 MB / 0.568 GB, free: 1.266 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.582, allocations: 2.75 kB / 0.568 GB, free: 1.266 MB / 394.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001843/0.5839, allocations: 0.7877 MB / 0.5687 GB, free: 1.047 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.5839, allocations: 8 kB / 0.5687 GB, free: 1.039 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.5839, allocations: 4 kB / 0.5687 GB, free: 1.035 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001894/0.5841, allocations: 56.5 kB / 0.5688 GB, free: 0.9805 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00113/0.5852, allocations: 183.5 kB / 0.569 GB, free: 0.8047 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006136/0.5859, allocations: 1.081 MB / 0.57 GB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007785/0.5867, allocations: 54.61 kB / 0.5701 GB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.629e-05/0.5867, allocations: 35.11 kB / 0.5701 GB, free: 15.62 MB / 410.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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002436/0.587, allocations: 182.4 kB / 0.5703 GB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/0.5871, allocations: 27.72 kB / 0.5703 GB, free: 15.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002194/0.5893, allocations: 0.7848 MB / 0.5711 GB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/0.5893, allocations: 4 kB / 0.5711 GB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.842e-06/0.5893, allocations: 4 kB / 0.5711 GB, free: 14.78 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.044e-06/0.5894, allocations: 3.984 kB / 0.5711 GB, free: 14.78 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003163/0.5925, allocations: 1.55 MB / 0.5726 GB, free: 13.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.5926, allocations: 8 kB / 0.5726 GB, free: 13.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001066/0.5936, allocations: 143.8 kB / 0.5727 GB, free: 12.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001315/0.5938, allocations: 45.58 kB / 0.5728 GB, free: 12.94 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.27e-05/0.5938, allocations: 23.97 kB / 0.5728 GB, free: 12.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001574/0.5954, allocations: 2.536 MB / 0.5753 GB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.5954, allocations: 11.91 kB / 0.5753 GB, free: 10.11 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03711/0.6326, allocations: 9.289 MB / 0.5844 GB, free: 320 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.37e-05/0.6327, allocations: 108.8 kB / 0.5845 GB, free: 192 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.918e-05/0.6328, allocations: 12 kB / 0.5845 GB, free: 180 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008352/0.6336, allocations: 43.83 kB / 0.5845 GB, free: 136 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.473e-05/0.6337, allocations: 47.95 kB / 0.5846 GB, free: 88 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.385e-05/0.6338, allocations: 35.97 kB / 0.5846 GB, free: 52 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001139/0.6339, allocations: 124.4 kB / 0.5847 GB, free: 15.93 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.2e-07/0.6339, allocations: 0 / 0.5847 GB, free: 15.93 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002485/0.6364, allocations: 0.6872 MB / 0.5854 GB, free: 15.24 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 () * 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007465/0.6439, allocations: 1.98 MB / 0.5873 GB, free: 13.28 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002042/0.6459, allocations: 0.6526 MB / 0.588 GB, free: 12.63 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.646, allocations: 0 / 0.588 GB, free: 12.63 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001127/0.6471, allocations: 0.5365 MB / 0.5885 GB, free: 12.07 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008437/0.6479, allocations: 102.1 kB / 0.5886 GB, free: 11.97 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002589/0.6505, allocations: 1.641 MB / 0.5902 GB, free: 10.24 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003327/0.6509, allocations: 0.797 MB / 0.591 GB, free: 9.422 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001219/0.6521, allocations: 207.1 kB / 0.5912 GB, free: 9.223 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003688/0.6525, allocations: 71.39 kB / 0.5912 GB, free: 9.152 MB / 426.7 MB Notification: Performance of SimCode: time 5.31e-07/0.6525, allocations: 0 / 0.5912 GB, free: 9.152 MB / 426.7 MB Notification: Performance of Templates: time 0.04469/0.6972, allocations: 34.8 MB / 0.6252 GB, free: 6.344 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@2/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