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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 108.7 kB / 17.75 MB, free: 5.223 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 190.4 kB / 18.67 MB, free: 4.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009554/0.0009554, allocations: 47.92 kB / 352 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2031/0.2041, allocations: 49.43 MB / 401.4 MB, free: 8.762 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3485/0.5526, allocations: 152.5 MB / 0.5409 GB, free: 1.656 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004327/0.5569, allocations: 4.037 MB / 0.5449 GB, free: 1.641 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001478/0.5571, allocations: 4.438 kB / 0.5449 GB, free: 1.641 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004079/0.5575, allocations: 108.1 kB / 0.545 GB, free: 1.641 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002533/0.5601, allocations: 1.184 MB / 0.5461 GB, free: 1.59 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008823/0.561, allocations: 397.3 kB / 0.5465 GB, free: 1.574 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004784/0.5615, allocations: 457.7 kB / 0.547 GB, free: 1.574 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.911e-05/0.5615, allocations: 15.48 kB / 0.547 GB, free: 1.574 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002859/0.5618, allocations: 226.1 kB / 0.5472 GB, free: 1.574 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001784/0.562, allocations: 143.9 kB / 0.5473 GB, free: 1.574 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.605e-05/0.5621, allocations: 16.12 kB / 0.5473 GB, free: 1.574 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002865/0.5649, allocations: 2.058 MB / 0.5494 GB, free: 1.559 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001062/0.5651, allocations: 138.3 kB / 0.5495 GB, free: 1.559 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000156/0.5652, allocations: 167 kB / 0.5496 GB, free: 1.559 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00162/0.5668, allocations: 1.534 MB / 0.5511 GB, free: 1.508 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.5669, allocations: 3.625 kB / 0.5511 GB, free: 1.508 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5669, allocations: 0 / 0.5511 GB, free: 1.508 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.5669, allocations: 2.141 kB / 0.5511 GB, free: 1.508 MB / 462.1 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.001981/0.5689, allocations: 0.7695 MB / 0.5519 GB, free: 17.04 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.5689, allocations: 10.44 kB / 0.5519 GB, free: 17.04 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00071/0.5696, allocations: 103.3 kB / 0.552 GB, free: 17.02 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003732/0.57, allocations: 286.6 kB / 0.5523 GB, free: 16.81 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.57, allocations: 20.47 kB / 0.5523 GB, free: 16.81 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.587e-05/0.5701, allocations: 25.16 kB / 0.5523 GB, free: 16.81 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009816/0.5711, allocations: 0.5922 MB / 0.5529 GB, free: 16.76 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.5711, allocations: 3.875 kB / 0.5529 GB, free: 16.76 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.93e-05/0.5712, allocations: 14.78 kB / 0.5529 GB, free: 16.76 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.538e-05/0.5712, allocations: 17.48 kB / 0.5529 GB, free: 16.76 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001136/0.5724, allocations: 0.6393 MB / 0.5536 GB, free: 16.75 MB / 478.1 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.002703/0.5751, allocations: 1.284 MB / 0.5548 GB, free: 16.34 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009051/0.576, allocations: 355.3 kB / 0.5552 GB, free: 16.29 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004356/0.5764, allocations: 167.4 kB / 0.5553 GB, free: 16.27 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002341/0.5788, allocations: 1.389 MB / 0.5567 GB, free: 15.13 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.5788, allocations: 38.28 kB / 0.5567 GB, free: 15.09 MB / 478.1 MB Notification: Performance of pre-optimization done (n=35): time 1.823e-06/0.5788, allocations: 0 / 0.5567 GB, free: 15.09 MB / 478.1 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.01516/0.594, allocations: 3.493 MB / 0.5601 GB, free: 13.98 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/0.5941, allocations: 80.52 kB / 0.5602 GB, free: 13.89 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.5942, allocations: 179.3 kB / 0.5604 GB, free: 13.78 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.635e-05/0.5943, allocations: 40.75 kB / 0.5604 GB, free: 13.75 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.757e-05/0.5943, allocations: 174.9 kB / 0.5606 GB, free: 13.61 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001074/0.5944, allocations: 176.3 kB / 0.5607 GB, free: 13.5 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001919/0.5946, allocations: 119.1 kB / 0.5609 GB, free: 13.48 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.5948, allocations: 341 kB / 0.5612 GB, free: 13.16 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007378/0.5955, allocations: 264.8 kB / 0.5614 GB, free: 13.16 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007778/0.5963, allocations: 424.8 kB / 0.5618 GB, free: 12.98 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001533/0.5978, allocations: 0.6943 MB / 0.5625 GB, free: 12.8 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.5978, allocations: 3.5 kB / 0.5625 GB, free: 12.8 MB / 478.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001893/0.5997, allocations: 0.7814 MB / 0.5633 GB, free: 12.73 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.5998, allocations: 8.156 kB / 0.5633 GB, free: 12.73 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.5998, allocations: 7.531 kB / 0.5633 GB, free: 12.73 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001792/0.6, allocations: 54.94 kB / 0.5633 GB, free: 12.72 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001198/0.6012, allocations: 178.9 kB / 0.5635 GB, free: 12.72 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005874/0.6018, allocations: 1.083 MB / 0.5646 GB, free: 11.68 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008068/0.6026, allocations: 47.56 kB / 0.5646 GB, free: 11.68 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.879e-05/0.6027, allocations: 33.28 kB / 0.5647 GB, free: 11.68 MB / 478.1 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.0002219/0.6029, allocations: 178.4 kB / 0.5648 GB, free: 11.56 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001285/0.603, allocations: 29.69 kB / 0.5648 GB, free: 11.55 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002127/0.6052, allocations: 0.7845 MB / 0.5656 GB, free: 11.46 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.6052, allocations: 7.812 kB / 0.5656 GB, free: 11.46 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.6052, allocations: 1.094 kB / 0.5656 GB, free: 11.46 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.64e-05/0.6053, allocations: 97.61 kB / 0.5657 GB, free: 11.35 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.862e-05/0.6054, allocations: 12.69 kB / 0.5657 GB, free: 11.35 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008663/0.6063, allocations: 40.94 kB / 0.5658 GB, free: 11.35 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.46e-05/0.6063, allocations: 32.42 kB / 0.5658 GB, free: 11.35 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002862/0.6092, allocations: 0.8069 MB / 0.5666 GB, free: 11.14 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002419/0.6116, allocations: 1.028 MB / 0.5676 GB, free: 10.83 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007157/0.6123, allocations: 246.6 kB / 0.5678 GB, free: 10.83 MB / 478.1 MB Notification: Performance of sorting global known variables: time 7.454e-05/0.6124, allocations: 126.7 kB / 0.5679 GB, free: 10.75 MB / 478.1 MB Notification: Performance of Backend: time 4.61e-07/0.6124, allocations: 1.203 kB / 0.5679 GB, free: 10.75 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00382/0.6163, allocations: 1.311 MB / 0.5692 GB, free: 10.61 MB / 478.1 MB Notification: Performance of SimCode: time 0.001274/0.6176, allocations: 1.232 MB / 0.5704 GB, free: 9.738 MB / 478.1 MB Notification: Performance of Templates: time 0.0229/0.6405, allocations: 18.65 MB / 0.5886 GB, free: 3.855 MB / 478.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/MixtureGases/MixtureGases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches