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.001321/0.001321, allocations: 110.7 kB / 18.45 MB, free: 4.613 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.001128/0.001129, allocations: 187.1 kB / 19.39 MB, free: 3.688 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.334/1.334, allocations: 222.9 MB / 243.1 MB, free: 15.07 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.2062/0.2062, allocations: 44.18 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 59.91 kB / 471.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.329, allocations: 60.82 MB / 0.5196 GB, free: 3.871 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01858/0.3477, allocations: 17.61 MB / 0.5368 GB, free: 6.586 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009419/0.3571, allocations: 6.996 MB / 0.5436 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000863/0.358, allocations: 20.44 kB / 0.5436 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001289/0.3593, allocations: 386 kB / 0.544 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002183/0.3616, allocations: 0.6764 MB / 0.5446 GB, free: 36 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003927/0.3655, allocations: 1.33 MB / 0.5459 GB, free: 15.05 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003382/0.3689, allocations: 2.509 MB / 0.5484 GB, free: 13.62 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001181/0.3701, allocations: 0.6843 MB / 0.5491 GB, free: 13.16 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002205/0.3723, allocations: 1.038 MB / 0.5501 GB, free: 12.58 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00139/0.3737, allocations: 0.758 MB / 0.5508 GB, free: 12.13 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002606/0.374, allocations: 87.41 kB / 0.5509 GB, free: 12.08 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001411/0.3754, allocations: 0.5382 MB / 0.5514 GB, free: 11.54 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004145/0.3759, allocations: 367.1 kB / 0.5518 GB, free: 11.18 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007714/0.3766, allocations: 0.5056 MB / 0.5523 GB, free: 10.67 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002174/0.3788, allocations: 1.55 MB / 0.5538 GB, free: 9.117 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.3788, allocations: 0 / 0.5538 GB, free: 9.117 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.514e-06/0.3788, allocations: 7.922 kB / 0.5538 GB, free: 9.109 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.054e-05/0.3789, allocations: 4 kB / 0.5538 GB, free: 9.105 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.002545/0.3814, allocations: 1.305 MB / 0.5551 GB, free: 7.746 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.3815, allocations: 8.031 kB / 0.5551 GB, free: 7.738 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005243/0.382, allocations: 124.3 kB / 0.5552 GB, free: 7.617 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001024/0.383, allocations: 0.6266 MB / 0.5558 GB, free: 6.949 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001918/0.3832, allocations: 248.8 kB / 0.556 GB, free: 6.672 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000132/0.3834, allocations: 80.36 kB / 0.5561 GB, free: 6.594 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001924/0.3853, allocations: 1.306 MB / 0.5574 GB, free: 5.152 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.991e-05/0.3854, allocations: 7.938 kB / 0.5574 GB, free: 5.145 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001175/0.3855, allocations: 43.98 kB / 0.5574 GB, free: 5.102 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.294e-05/0.3855, allocations: 37.3 kB / 0.5575 GB, free: 5.066 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001585/0.3871, allocations: 0.9688 MB / 0.5584 GB, free: 4.094 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.006711/0.3939, allocations: 7.098 MB / 0.5654 GB, free: 12.53 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005228/0.3944, allocations: 308.1 kB / 0.5657 GB, free: 12.22 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002683/0.3947, allocations: 169.4 kB / 0.5658 GB, free: 12.05 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002412/0.3971, allocations: 2.83 MB / 0.5686 GB, free: 8.715 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.3971, allocations: 42.73 kB / 0.5686 GB, free: 8.664 MB / 430.1 MB Notification: Performance of pre-optimization done (n=28): time 2.064e-06/0.3971, allocations: 0 / 0.5686 GB, free: 8.664 MB / 430.1 MB Notification: Performance of matching and sorting (n=34): time 0.002272/0.3994, allocations: 1.122 MB / 0.5697 GB, free: 7.488 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.626e-05/0.3995, allocations: 55.41 kB / 0.5698 GB, free: 7.422 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009706/0.4004, allocations: 0.8721 MB / 0.5706 GB, free: 6.543 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.163e-05/0.4005, allocations: 33.7 kB / 0.5707 GB, free: 6.504 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003875/0.4009, allocations: 0.5921 MB / 0.5712 GB, free: 5.902 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001247/0.401, allocations: 142.9 kB / 0.5714 GB, free: 5.762 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002638/0.4013, allocations: 242.7 kB / 0.5716 GB, free: 5.52 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.4015, allocations: 394.7 kB / 0.572 GB, free: 5.125 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004046/0.4019, allocations: 250.4 kB / 0.5722 GB, free: 4.883 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008801/0.4028, allocations: 0.9622 MB / 0.5732 GB, free: 3.559 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001397/0.4042, allocations: 1.319 MB / 0.5744 GB, free: 1.879 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-05/0.4042, allocations: 11.94 kB / 0.5745 GB, free: 1.867 MB / 430.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001777/0.406, allocations: 1.215 MB / 0.5756 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.376e-05/0.406, allocations: 16 kB / 0.5757 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.878e-05/0.4061, allocations: 24.84 kB / 0.5757 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.848e-05/0.4061, allocations: 36 kB / 0.5757 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009975/0.4071, allocations: 279.5 kB / 0.576 GB, free: 304 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.992e-05/0.4072, allocations: 47.8 kB / 0.576 GB, free: 256 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007237/0.4079, allocations: 59.95 kB / 0.5761 GB, free: 196 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.021e-05/0.408, allocations: 75.98 kB / 0.5762 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.0003726/0.4084, allocations: 329.1 kB / 0.5765 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001442/0.4085, allocations: 91.44 kB / 0.5766 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008189/0.4094, allocations: 486.2 kB / 0.577 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.4094, allocations: 0 / 0.577 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.4094, allocations: 3.984 kB / 0.577 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002576/0.4097, allocations: 200.4 kB / 0.5772 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/0.4098, allocations: 8 kB / 0.5772 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003809/0.4102, allocations: 27.92 kB / 0.5773 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.936e-05/0.4102, allocations: 23.91 kB / 0.5773 GB, free: 14.94 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006869/0.4109, allocations: 408.4 kB / 0.5777 GB, free: 14.53 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000885/0.4118, allocations: 0.6815 MB / 0.5783 GB, free: 13.83 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002064/0.412, allocations: 141 kB / 0.5785 GB, free: 13.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006925/0.4127, allocations: 0.5771 MB / 0.579 GB, free: 13.12 MB / 446.1 MB Notification: Performance of Backend: time 6.71e-07/0.4127, allocations: 4 kB / 0.579 GB, free: 13.12 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001953/0.4147, allocations: 0.8549 MB / 0.5799 GB, free: 12.27 MB / 446.1 MB Notification: Performance of SimCode: time 0.00329/0.418, allocations: 2.183 MB / 0.582 GB, free: 10.05 MB / 446.1 MB Notification: Performance of Templates: time 0.02638/0.4444, allocations: 16.26 MB / 0.5979 GB, free: 9.941 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Vessels/TestMixingVolumes/TestMixingVolumes.csv","/var/lib/jenkins1/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