Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mixingVolume1.medium.T|mixingVolume2.medium.T",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mixingVolume1.medium.T|mixingVolume2.medium.T",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 113.2 kB / 17.78 MB, free: 5.242 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.001063/0.001063, allocations: 185 kB / 18.71 MB, free: 4.32 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.319/1.319, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2004/0.2004, allocations: 44.18 MB / 336.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 59.91 kB / 470.5 MB, free: 13.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3359/0.3372, allocations: 60.83 MB / 0.5189 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01898/0.3562, allocations: 17.61 MB / 0.5361 GB, free: 6.383 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009273/0.3655, allocations: 6.996 MB / 0.5429 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009666/0.3665, allocations: 20.75 kB / 0.5429 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001154/0.3677, allocations: 382.3 kB / 0.5433 GB, free: 396 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001853/0.3696, allocations: 0.6804 MB / 0.544 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003775/0.3734, allocations: 1.33 MB / 0.5453 GB, free: 14.85 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003614/0.377, allocations: 2.512 MB / 0.5477 GB, free: 13.41 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001243/0.3783, allocations: 0.6755 MB / 0.5484 GB, free: 12.97 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002751/0.3811, allocations: 1.045 MB / 0.5494 GB, free: 12.38 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001644/0.3827, allocations: 0.7577 MB / 0.5501 GB, free: 11.93 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002074/0.3829, allocations: 87.62 kB / 0.5502 GB, free: 11.93 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001642/0.3846, allocations: 0.5403 MB / 0.5508 GB, free: 11.39 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003802/0.385, allocations: 363.1 kB / 0.5511 GB, free: 11.04 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006331/0.3856, allocations: 0.5095 MB / 0.5516 GB, free: 10.52 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002162/0.3878, allocations: 1.546 MB / 0.5531 GB, free: 8.977 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.61e-05/0.3878, allocations: 0 / 0.5531 GB, free: 8.977 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.196e-06/0.3878, allocations: 0 / 0.5531 GB, free: 8.977 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.951e-05/0.3879, allocations: 4 kB / 0.5531 GB, free: 8.973 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.002528/0.3904, allocations: 1.279 MB / 0.5544 GB, free: 7.641 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.3905, allocations: 12.03 kB / 0.5544 GB, free: 7.629 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000491/0.391, allocations: 123.8 kB / 0.5545 GB, free: 7.508 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009782/0.392, allocations: 0.6184 MB / 0.5551 GB, free: 6.848 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000202/0.3922, allocations: 252.8 kB / 0.5553 GB, free: 6.566 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001259/0.3923, allocations: 76.38 kB / 0.5554 GB, free: 6.492 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001919/0.3942, allocations: 1.31 MB / 0.5567 GB, free: 5.047 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.013e-05/0.3943, allocations: 3.938 kB / 0.5567 GB, free: 5.043 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001067/0.3944, allocations: 40 kB / 0.5567 GB, free: 5.004 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.96e-05/0.3944, allocations: 49.23 kB / 0.5568 GB, free: 4.957 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001611/0.3961, allocations: 0.9611 MB / 0.5577 GB, free: 3.992 MB / 414.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.006754/0.4028, allocations: 7.085 MB / 0.5646 GB, free: 12.44 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005393/0.4034, allocations: 316.1 kB / 0.5649 GB, free: 12.12 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002593/0.4037, allocations: 169.4 kB / 0.5651 GB, free: 11.95 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002563/0.4062, allocations: 2.822 MB / 0.5679 GB, free: 8.625 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/0.4063, allocations: 38.8 kB / 0.5679 GB, free: 8.578 MB / 430.1 MB Notification: Performance of pre-optimization done (n=28): time 2.124e-06/0.4063, allocations: 8 kB / 0.5679 GB, free: 8.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=34): time 0.002427/0.4087, allocations: 1.105 MB / 0.569 GB, free: 7.41 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.4088, allocations: 55.41 kB / 0.569 GB, free: 7.344 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001003/0.4098, allocations: 0.8679 MB / 0.5699 GB, free: 6.469 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.355e-05/0.4099, allocations: 37.7 kB / 0.5699 GB, free: 6.426 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000368/0.4102, allocations: 0.5743 MB / 0.5705 GB, free: 5.84 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.713e-05/0.4103, allocations: 134.3 kB / 0.5706 GB, free: 5.707 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002609/0.4106, allocations: 242.5 kB / 0.5708 GB, free: 5.465 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001822/0.4108, allocations: 394.7 kB / 0.5712 GB, free: 5.07 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003835/0.4112, allocations: 250.5 kB / 0.5715 GB, free: 4.828 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008575/0.412, allocations: 0.966 MB / 0.5724 GB, free: 3.5 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001356/0.4134, allocations: 1.323 MB / 0.5737 GB, free: 1.816 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.127e-06/0.4134, allocations: 4 kB / 0.5737 GB, free: 1.812 MB / 430.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001825/0.4153, allocations: 1.208 MB / 0.5749 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.042e-05/0.4153, allocations: 20 kB / 0.5749 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.606e-05/0.4153, allocations: 24 kB / 0.5749 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.202e-05/0.4154, allocations: 39.94 kB / 0.5749 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008208/0.4162, allocations: 275.5 kB / 0.5752 GB, free: 252 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.912e-05/0.4163, allocations: 51.8 kB / 0.5753 GB, free: 200 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007144/0.417, allocations: 55.98 kB / 0.5753 GB, free: 144 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.305e-05/0.4171, allocations: 72 kB / 0.5754 GB, free: 72 kB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 117 * Number of states: 0 () * Number of discrete variables: 12 (mixingVolume1.regularFlow[1],mixingVolume1.regularFlow[2],mixingVolume1.regularFlow[3],mixingVolume2.regularFlow[1],mixingVolume2.regularFlow[2],mixingVolume2.regularFlow[3],mixingVolume2.inFlow[3],mixingVolume2.inFlow[2],mixingVolume2.inFlow[1],mixingVolume1.inFlow[3],mixingVolume1.inFlow[2],mixingVolume1.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (154): * Single equations (assignments): 154 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004533/0.4175, allocations: 341 kB / 0.5757 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001545/0.4177, allocations: 90.88 kB / 0.5758 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008845/0.4186, allocations: 478.5 kB / 0.5763 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.426e-05/0.4186, allocations: 11.92 kB / 0.5763 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.4186, allocations: 7.938 kB / 0.5763 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.974e-06/0.4186, allocations: 3.984 kB / 0.5763 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0017/0.4204, allocations: 1.236 MB / 0.5775 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.4204, allocations: 192 / 0.5775 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002981/0.4207, allocations: 75.84 kB / 0.5776 GB, free: 13.72 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.878e-06/0.4207, allocations: 4 kB / 0.5776 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.405e-05/0.4207, allocations: 8 kB / 0.5776 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.013e-06/0.4207, allocations: 7.938 kB / 0.5776 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.4207, allocations: 0 / 0.5776 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009085/0.4217, allocations: 0.6483 MB / 0.5782 GB, free: 13.02 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002598/0.4219, allocations: 200 kB / 0.5784 GB, free: 12.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001086/0.422, allocations: 11.98 kB / 0.5784 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004211/0.4225, allocations: 16 kB / 0.5784 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.266e-05/0.4225, allocations: 24.03 kB / 0.5784 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.612e-05/0.4226, allocations: 27.97 kB / 0.5785 GB, free: 12.72 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007091/0.4233, allocations: 0.593 MB / 0.5791 GB, free: 12.12 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4233, allocations: 0 / 0.5791 GB, free: 12.12 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001143/0.4245, allocations: 295.9 kB / 0.5793 GB, free: 11.83 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (mixingVolume1.medium.T,mixingVolume2.medium.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 (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008357/0.4253, allocations: 317.7 kB / 0.5796 GB, free: 11.52 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001184/0.4265, allocations: 0.6477 MB / 0.5803 GB, free: 10.88 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.4265, allocations: 0.9375 kB / 0.5803 GB, free: 10.88 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000237/0.4268, allocations: 147.9 kB / 0.5804 GB, free: 10.73 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001885/0.4287, allocations: 429.8 kB / 0.5808 GB, free: 10.32 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002133/0.4308, allocations: 1.48 MB / 0.5823 GB, free: 8.797 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005349/0.4313, allocations: 0.9934 MB / 0.5832 GB, free: 7.773 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0008504/0.4322, allocations: 319.5 kB / 0.5835 GB, free: 7.465 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001486/0.4324, allocations: 79.36 kB / 0.5836 GB, free: 7.387 MB / 446.1 MB Notification: Performance of SimCode: time 8.22e-07/0.4324, allocations: 0 / 0.5836 GB, free: 7.387 MB / 446.1 MB Notification: Performance of Templates: time 0.02667/0.459, allocations: 16.15 MB / 0.5994 GB, free: 7.387 MB / 462.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Vessels/TestMixingVolumes/TestMixingVolumes.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches