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.00142/0.00142, allocations: 110.4 kB / 17.78 MB, free: 5.289 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.00156/0.00156, allocations: 187.1 kB / 18.71 MB, free: 4.371 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.444/1.444, allocations: 222.9 MB / 242.4 MB, free: 15.16 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.2014/0.2014, allocations: 44.18 MB / 336.7 MB, free: 2.711 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 59.91 kB / 470.5 MB, free: 13.21 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3637/0.3649, allocations: 60.82 MB / 0.5189 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01942/0.3844, allocations: 17.61 MB / 0.5361 GB, free: 6.383 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01042/0.3949, allocations: 7 MB / 0.5429 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00107/0.396, allocations: 24.62 kB / 0.5429 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001199/0.3973, allocations: 377.4 kB / 0.5433 GB, free: 392 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001828/0.3991, allocations: 0.6683 MB / 0.544 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0038/0.4029, allocations: 1.322 MB / 0.5453 GB, free: 14.86 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003861/0.4068, allocations: 2.503 MB / 0.5477 GB, free: 13.43 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00131/0.4081, allocations: 0.6812 MB / 0.5484 GB, free: 12.98 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002605/0.4108, allocations: 1.037 MB / 0.5494 GB, free: 12.39 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001778/0.4126, allocations: 0.7577 MB / 0.5501 GB, free: 11.95 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002678/0.4128, allocations: 86.97 kB / 0.5502 GB, free: 11.95 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001732/0.4146, allocations: 0.5403 MB / 0.5507 GB, free: 11.44 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004906/0.4151, allocations: 371 kB / 0.5511 GB, free: 11.08 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007902/0.4159, allocations: 0.5056 MB / 0.5516 GB, free: 10.57 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002413/0.4183, allocations: 1.54 MB / 0.5531 GB, free: 9.027 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.4184, allocations: 7.984 kB / 0.5531 GB, free: 9.02 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4184, allocations: 0 / 0.5531 GB, free: 9.02 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.924e-05/0.4184, allocations: 0 / 0.5531 GB, free: 9.02 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.002611/0.421, allocations: 1.279 MB / 0.5543 GB, free: 7.688 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.4211, allocations: 12.03 kB / 0.5543 GB, free: 7.676 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000516/0.4216, allocations: 123.8 kB / 0.5545 GB, free: 7.555 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001006/0.4226, allocations: 0.6145 MB / 0.5551 GB, free: 6.898 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001893/0.4228, allocations: 248.8 kB / 0.5553 GB, free: 6.621 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001295/0.4229, allocations: 80.36 kB / 0.5554 GB, free: 6.543 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001882/0.4248, allocations: 1.31 MB / 0.5567 GB, free: 5.098 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.676e-05/0.4249, allocations: 7.938 kB / 0.5567 GB, free: 5.09 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001059/0.425, allocations: 36 kB / 0.5567 GB, free: 5.055 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.584e-05/0.425, allocations: 45.23 kB / 0.5567 GB, free: 5.012 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001509/0.4266, allocations: 0.9649 MB / 0.5577 GB, free: 4.043 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.006752/0.4333, allocations: 7.089 MB / 0.5646 GB, free: 12.48 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005461/0.4339, allocations: 308.2 kB / 0.5649 GB, free: 12.18 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002563/0.4342, allocations: 169.4 kB / 0.5651 GB, free: 12.01 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002488/0.4367, allocations: 2.826 MB / 0.5678 GB, free: 8.676 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.34e-05/0.4367, allocations: 42.8 kB / 0.5679 GB, free: 8.625 MB / 430.1 MB Notification: Performance of pre-optimization done (n=28): time 1.753e-06/0.4367, allocations: 4 kB / 0.5679 GB, free: 8.621 MB / 430.1 MB Notification: Performance of matching and sorting (n=34): time 0.002288/0.439, allocations: 1.113 MB / 0.569 GB, free: 7.453 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/0.4391, allocations: 55.41 kB / 0.569 GB, free: 7.387 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001005/0.4401, allocations: 0.8718 MB / 0.5699 GB, free: 6.508 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.144e-05/0.4401, allocations: 33.7 kB / 0.5699 GB, free: 6.469 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003775/0.4405, allocations: 0.5705 MB / 0.5704 GB, free: 5.887 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001015/0.4406, allocations: 134.3 kB / 0.5706 GB, free: 5.754 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002523/0.4409, allocations: 242.5 kB / 0.5708 GB, free: 5.512 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.4411, allocations: 398.6 kB / 0.5712 GB, free: 5.113 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000388/0.4415, allocations: 250.5 kB / 0.5714 GB, free: 4.871 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009072/0.4424, allocations: 0.966 MB / 0.5724 GB, free: 3.543 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001438/0.4438, allocations: 1.323 MB / 0.5737 GB, free: 1.859 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-05/0.4438, allocations: 8 kB / 0.5737 GB, free: 1.852 MB / 430.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001818/0.4457, allocations: 1.204 MB / 0.5748 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.693e-05/0.4457, allocations: 20 kB / 0.5749 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.796e-05/0.4457, allocations: 24 kB / 0.5749 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.366e-05/0.4458, allocations: 36 kB / 0.5749 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007824/0.4466, allocations: 275.5 kB / 0.5752 GB, free: 300 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.776e-05/0.4466, allocations: 47.8 kB / 0.5752 GB, free: 252 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006435/0.4473, allocations: 55.98 kB / 0.5753 GB, free: 196 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.838e-05/0.4474, allocations: 76 kB / 0.5754 GB, free: 120 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.0004268/0.4478, allocations: 337 kB / 0.5757 GB, free: 15.78 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001475/0.448, allocations: 90.88 kB / 0.5758 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008834/0.4489, allocations: 478.1 kB / 0.5762 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/0.4489, allocations: 7.938 kB / 0.5762 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.4489, allocations: 4 kB / 0.5762 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.4489, allocations: 3.984 kB / 0.5762 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001947/0.4509, allocations: 1.236 MB / 0.5774 GB, free: 13.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.4509, allocations: 4.172 kB / 0.5774 GB, free: 13.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002961/0.4512, allocations: 75.84 kB / 0.5775 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.904e-06/0.4512, allocations: 4 kB / 0.5775 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.416e-05/0.4512, allocations: 8 kB / 0.5775 GB, free: 13.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.4512, allocations: 4 kB / 0.5775 GB, free: 13.76 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/0.4513, allocations: 4 kB / 0.5775 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009298/0.4522, allocations: 0.6483 MB / 0.5782 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002807/0.4525, allocations: 196 kB / 0.5784 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001067/0.4526, allocations: 15.98 kB / 0.5784 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003867/0.453, allocations: 12 kB / 0.5784 GB, free: 12.83 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.451e-05/0.453, allocations: 28.03 kB / 0.5784 GB, free: 12.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.344e-05/0.4531, allocations: 27.97 kB / 0.5784 GB, free: 12.78 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007282/0.4538, allocations: 0.593 MB / 0.579 GB, free: 12.17 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4538, allocations: 0 / 0.579 GB, free: 12.17 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001163/0.455, allocations: 291.9 kB / 0.5793 GB, free: 11.89 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.0006731/0.4557, allocations: 340.3 kB / 0.5796 GB, free: 11.55 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001033/0.4567, allocations: 0.6476 MB / 0.5803 GB, free: 10.91 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.4568, allocations: 1 kB / 0.5803 GB, free: 10.91 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002275/0.457, allocations: 151.9 kB / 0.5804 GB, free: 10.77 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001684/0.4587, allocations: 422.5 kB / 0.5808 GB, free: 10.37 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002293/0.461, allocations: 1.475 MB / 0.5822 GB, free: 8.844 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005899/0.4616, allocations: 1.005 MB / 0.5832 GB, free: 7.809 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0008637/0.4625, allocations: 319 kB / 0.5835 GB, free: 7.504 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001461/0.4626, allocations: 71.42 kB / 0.5836 GB, free: 7.434 MB / 446.1 MB Notification: Performance of SimCode: time 8.42e-07/0.4626, allocations: 0 / 0.5836 GB, free: 7.434 MB / 446.1 MB Notification: Performance of Templates: time 0.02703/0.4897, allocations: 16.29 MB / 0.5995 GB, free: 7.293 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