Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001526/0.001526, allocations: 179 kB / 17.41 MB, free: 4.293 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 225.7 MB / 243.9 MB, free: 10.18 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007626/0.0007625, allocations: 92.2 kB / 295 MB, free: 9.707 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3771/0.3771, allocations: 44.32 MB / 390.5 MB, free: 38.28 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003479/0.000348, allocations: 11.98 kB / 463.1 MB, free: 452 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.327, allocations: 61.9 MB / 0.5127 GB, free: 38.04 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01304/0.3401, allocations: 17.74 MB / 0.5301 GB, free: 24.85 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.007512/0.3477, allocations: 8.911 MB / 0.5388 GB, free: 17.45 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008285/0.3485, allocations: 23.66 kB / 0.5388 GB, free: 17.44 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009151/0.3495, allocations: 336.7 kB / 0.5391 GB, free: 17.25 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001219/0.3507, allocations: 0.6402 MB / 0.5397 GB, free: 16.89 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003112/0.3538, allocations: 1.218 MB / 0.5409 GB, free: 16.24 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002945/0.3568, allocations: 3.57 MB / 0.5444 GB, free: 15.1 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007316/0.3575, allocations: 0.5757 MB / 0.545 GB, free: 14.9 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001429/0.359, allocations: 0.9326 MB / 0.5459 GB, free: 14.56 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008579/0.3598, allocations: 0.7802 MB / 0.5466 GB, free: 14.27 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001225/0.36, allocations: 44.88 kB / 0.5467 GB, free: 14.27 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001284/0.3613, allocations: 0.524 MB / 0.5472 GB, free: 14.11 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002899/0.3616, allocations: 331.3 kB / 0.5475 GB, free: 13.99 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000451/0.362, allocations: 0.5021 MB / 0.548 GB, free: 13.71 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001459/0.3635, allocations: 1.487 MB / 0.5495 GB, free: 13.3 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3635, allocations: 0 / 0.5495 GB, free: 13.3 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.963e-06/0.3635, allocations: 4 kB / 0.5495 GB, free: 13.29 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.183e-05/0.3635, allocations: 0 / 0.5495 GB, free: 13.29 MB / 378.7 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.0019/0.3654, allocations: 1.108 MB / 0.5505 GB, free: 12.56 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.3655, allocations: 9.25 kB / 0.5506 GB, free: 12.56 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000389/0.3659, allocations: 121.3 kB / 0.5507 GB, free: 12.52 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000803/0.3667, allocations: 0.5811 MB / 0.5512 GB, free: 12.13 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001407/0.3668, allocations: 250.2 kB / 0.5515 GB, free: 11.91 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/0.367, allocations: 82.97 kB / 0.5516 GB, free: 11.88 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001881/0.3688, allocations: 1.304 MB / 0.5528 GB, free: 11.14 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.044e-05/0.3689, allocations: 6.688 kB / 0.5528 GB, free: 11.13 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.406e-05/0.369, allocations: 41.75 kB / 0.5529 GB, free: 11.11 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-05/0.3691, allocations: 49.34 kB / 0.5529 GB, free: 11.09 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00148/0.3705, allocations: 0.9546 MB / 0.5539 GB, free: 10.77 MB / 378.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.005827/0.3764, allocations: 7.086 MB / 0.5608 GB, free: 4.805 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005283/0.3769, allocations: 312.8 kB / 0.5611 GB, free: 4.688 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002613/0.3772, allocations: 164.8 kB / 0.5612 GB, free: 4.629 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002162/0.3794, allocations: 2.831 MB / 0.564 GB, free: 1.68 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.3794, allocations: 39.11 kB / 0.564 GB, free: 1.637 MB / 378.7 MB Notification: Performance of pre-optimization done (n=28): time 1.713e-06/0.3794, allocations: 0 / 0.564 GB, free: 1.637 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.002216/0.3816, allocations: 1.108 MB / 0.5651 GB, free: 0.9961 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.799e-05/0.3817, allocations: 55.23 kB / 0.5652 GB, free: 0.9336 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00115/0.3828, allocations: 0.8627 MB / 0.566 GB, free: 0.5703 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.294e-05/0.3829, allocations: 37.39 kB / 0.566 GB, free: 0.5312 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003363/0.3832, allocations: 0.5725 MB / 0.5666 GB, free: 60 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001299/0.3834, allocations: 139.9 kB / 0.5667 GB, free: 15.95 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.089e-05/0.3834, allocations: 24.66 kB / 0.5668 GB, free: 15.93 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001933/0.3836, allocations: 399.9 kB / 0.5671 GB, free: 15.58 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004248/0.384, allocations: 249.2 kB / 0.5674 GB, free: 15.5 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009302/0.385, allocations: 0.9554 MB / 0.5683 GB, free: 14.43 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001492/0.3865, allocations: 1.314 MB / 0.5696 GB, free: 13.14 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.257e-05/0.3865, allocations: 7.938 kB / 0.5696 GB, free: 13.14 MB / 394.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002029/0.3885, allocations: 1.192 MB / 0.5708 GB, free: 12.66 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.042e-05/0.3886, allocations: 20.16 kB / 0.5708 GB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.034e-05/0.3886, allocations: 25.69 kB / 0.5708 GB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.75e-05/0.3887, allocations: 34.66 kB / 0.5708 GB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008695/0.3896, allocations: 274.8 kB / 0.5711 GB, free: 12.63 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.357e-05/0.3897, allocations: 54.94 kB / 0.5712 GB, free: 12.61 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009092/0.3906, allocations: 69.12 kB / 0.5712 GB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000121/0.3907, allocations: 76.45 kB / 0.5713 GB, free: 12.57 MB / 394.7 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.000577/0.3913, allocations: 339.7 kB / 0.5716 GB, free: 12.34 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002088/0.3915, allocations: 86.47 kB / 0.5717 GB, free: 12.3 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009947/0.3925, allocations: 475.2 kB / 0.5722 GB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/0.3925, allocations: 7.719 kB / 0.5722 GB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.3925, allocations: 1.188 kB / 0.5722 GB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.3926, allocations: 0 / 0.5722 GB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001806/0.3944, allocations: 1.233 MB / 0.5734 GB, free: 11.04 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.3944, allocations: 1.219 kB / 0.5734 GB, free: 11.04 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000293/0.3947, allocations: 72.22 kB / 0.5734 GB, free: 11.02 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.3947, allocations: 4.125 kB / 0.5734 GB, free: 11.02 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.908e-05/0.3947, allocations: 24.33 kB / 0.5735 GB, free: 11 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.005e-06/0.3948, allocations: 6.938 kB / 0.5735 GB, free: 11 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.3948, allocations: 2.5 kB / 0.5735 GB, free: 11 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001029/0.3958, allocations: 0.6524 MB / 0.5741 GB, free: 10.55 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003209/0.3961, allocations: 220.5 kB / 0.5743 GB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.3962, allocations: 7.156 kB / 0.5743 GB, free: 10.35 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004087/0.3967, allocations: 20.27 kB / 0.5744 GB, free: 10.34 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.849e-05/0.3967, allocations: 27.66 kB / 0.5744 GB, free: 10.33 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.479e-05/0.3968, allocations: 24.02 kB / 0.5744 GB, free: 10.32 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007696/0.3976, allocations: 0.5852 MB / 0.575 GB, free: 9.977 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3976, allocations: 0 / 0.575 GB, free: 9.977 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001199/0.3988, allocations: 304.4 kB / 0.5753 GB, free: 9.914 MB / 394.7 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.0007187/0.3995, allocations: 336.8 kB / 0.5756 GB, free: 9.719 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001138/0.4006, allocations: 0.6335 MB / 0.5762 GB, free: 9.441 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.4007, allocations: 1.906 kB / 0.5762 GB, free: 9.441 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002416/0.4009, allocations: 148.1 kB / 0.5763 GB, free: 9.375 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00192/0.4028, allocations: 404.8 kB / 0.5767 GB, free: 9.172 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002584/0.4054, allocations: 1.835 MB / 0.5785 GB, free: 7.457 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005486/0.406, allocations: 0.9973 MB / 0.5795 GB, free: 6.43 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001009/0.407, allocations: 316.5 kB / 0.5798 GB, free: 6.117 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001605/0.4072, allocations: 75.36 kB / 0.5799 GB, free: 6.043 MB / 394.7 MB Notification: Performance of SimCode: time 5.21e-07/0.4072, allocations: 0 / 0.5799 GB, free: 6.043 MB / 394.7 MB Notification: Performance of Templates: time 0.02576/0.433, allocations: 15.3 MB / 0.5948 GB, free: 6.934 MB / 410.7 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","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches