Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001311/0.001311, allocations: 173.9 kB / 16.08 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.368/1.368, allocations: 205.6 MB / 222.4 MB, free: 8.93 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000773/0.000773, allocations: 98.72 kB / 270.8 MB, free: 8.117 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3183/0.3183, allocations: 43.67 MB / 362.7 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003647/0.000365, allocations: 8 kB / 432.3 MB, free: 5.004 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1067, allocations: 58.85 MB / 491.2 MB, free: 10.02 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.2009/0.3076, allocations: 17.74 MB / 0.497 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.008696/0.3163, allocations: 8.924 MB / 0.5057 GB, free: 30.75 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008084/0.3172, allocations: 23.38 kB / 0.5057 GB, free: 30.74 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000876/0.3181, allocations: 333.9 kB / 0.506 GB, free: 30.55 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001239/0.3193, allocations: 0.6429 MB / 0.5067 GB, free: 30.2 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00318/0.3225, allocations: 1.216 MB / 0.5078 GB, free: 29.55 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003109/0.3256, allocations: 3.561 MB / 0.5113 GB, free: 28.42 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008267/0.3265, allocations: 0.5855 MB / 0.5119 GB, free: 28.22 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001622/0.3281, allocations: 0.9322 MB / 0.5128 GB, free: 27.88 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001012/0.3291, allocations: 0.7724 MB / 0.5136 GB, free: 27.6 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001449/0.3293, allocations: 46.47 kB / 0.5136 GB, free: 27.6 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001299/0.3306, allocations: 0.5218 MB / 0.5141 GB, free: 27.44 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002932/0.3309, allocations: 332.6 kB / 0.5144 GB, free: 27.32 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004523/0.3314, allocations: 0.4993 MB / 0.5149 GB, free: 27.05 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00139/0.3328, allocations: 1.487 MB / 0.5164 GB, free: 26.62 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.3328, allocations: 0 / 0.5164 GB, free: 26.62 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3328, allocations: 3.062 kB / 0.5164 GB, free: 26.62 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.171e-05/0.3328, allocations: 0 / 0.5164 GB, free: 26.62 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.00179/0.3346, allocations: 1.094 MB / 0.5174 GB, free: 25.91 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.3347, allocations: 13.31 kB / 0.5175 GB, free: 25.91 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000426/0.3351, allocations: 119.1 kB / 0.5176 GB, free: 25.86 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007749/0.3359, allocations: 0.5893 MB / 0.5181 GB, free: 25.47 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001444/0.336, allocations: 247 kB / 0.5184 GB, free: 25.25 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000115/0.3361, allocations: 83.22 kB / 0.5185 GB, free: 25.22 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001488/0.3376, allocations: 1.291 MB / 0.5197 GB, free: 24.49 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/0.3377, allocations: 11.12 kB / 0.5197 GB, free: 24.48 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.805e-05/0.3378, allocations: 44.77 kB / 0.5198 GB, free: 24.45 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.403e-05/0.3378, allocations: 43.36 kB / 0.5198 GB, free: 24.45 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001239/0.3391, allocations: 0.9656 MB / 0.5208 GB, free: 24.12 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.004586/0.3437, allocations: 7.092 MB / 0.5277 GB, free: 18.15 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004154/0.3441, allocations: 308.8 kB / 0.528 GB, free: 18.04 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002182/0.3443, allocations: 174.3 kB / 0.5281 GB, free: 17.97 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001658/0.346, allocations: 2.818 MB / 0.5309 GB, free: 15.03 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/0.346, allocations: 41.89 kB / 0.5309 GB, free: 14.98 MB / 378.7 MB Notification: Performance of pre-optimization done (n=28): time 1.533e-06/0.346, allocations: 0 / 0.5309 GB, free: 14.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.001805/0.3478, allocations: 1.112 MB / 0.532 GB, free: 14.34 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.805e-05/0.3479, allocations: 58.53 kB / 0.5321 GB, free: 14.28 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007347/0.3486, allocations: 0.8605 MB / 0.5329 GB, free: 13.91 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.715e-05/0.3487, allocations: 32.73 kB / 0.533 GB, free: 13.88 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002296/0.3489, allocations: 0.572 MB / 0.5335 GB, free: 13.41 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.538e-05/0.349, allocations: 138.1 kB / 0.5336 GB, free: 13.31 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.141e-05/0.349, allocations: 23.03 kB / 0.5337 GB, free: 13.29 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.924e-05/0.3491, allocations: 401.2 kB / 0.534 GB, free: 12.94 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003148/0.3494, allocations: 242.2 kB / 0.5343 GB, free: 12.87 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005192/0.3499, allocations: 0.9592 MB / 0.5352 GB, free: 11.8 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009003/0.3509, allocations: 1.315 MB / 0.5365 GB, free: 10.51 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.186e-06/0.3509, allocations: 10.34 kB / 0.5365 GB, free: 10.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001382/0.3523, allocations: 1.201 MB / 0.5377 GB, free: 10.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.3523, allocations: 15.81 kB / 0.5377 GB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.05e-05/0.3523, allocations: 29.84 kB / 0.5377 GB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.159e-05/0.3524, allocations: 34.75 kB / 0.5378 GB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006653/0.353, allocations: 279.2 kB / 0.538 GB, free: 9.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.158e-05/0.3531, allocations: 50.27 kB / 0.5381 GB, free: 9.969 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005912/0.3537, allocations: 66.86 kB / 0.5381 GB, free: 9.945 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.517e-05/0.3537, allocations: 77.38 kB / 0.5382 GB, free: 9.934 MB / 378.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.0002804/0.354, allocations: 332 kB / 0.5385 GB, free: 9.703 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.853e-05/0.3541, allocations: 91.38 kB / 0.5386 GB, free: 9.656 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007168/0.3549, allocations: 476.8 kB / 0.5391 GB, free: 9.441 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/0.3549, allocations: 7.219 kB / 0.5391 GB, free: 9.438 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.3549, allocations: 3.438 kB / 0.5391 GB, free: 9.438 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.3549, allocations: 2.953 kB / 0.5391 GB, free: 9.438 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001211/0.3561, allocations: 1.235 MB / 0.5403 GB, free: 8.621 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.3561, allocations: 3.156 kB / 0.5403 GB, free: 8.621 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000253/0.3564, allocations: 70.91 kB / 0.5404 GB, free: 8.613 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.3564, allocations: 6.625 kB / 0.5404 GB, free: 8.609 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.134e-05/0.3564, allocations: 14.53 kB / 0.5404 GB, free: 8.602 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.3564, allocations: 11.12 kB / 0.5404 GB, free: 8.594 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.3564, allocations: 2.969 kB / 0.5404 GB, free: 8.594 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006746/0.3571, allocations: 0.6494 MB / 0.541 GB, free: 8.203 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001951/0.3573, allocations: 210.9 kB / 0.5412 GB, free: 8.035 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.354e-05/0.3574, allocations: 6.625 kB / 0.5412 GB, free: 8.031 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003912/0.3578, allocations: 32.31 kB / 0.5413 GB, free: 8.016 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.917e-05/0.3579, allocations: 21.11 kB / 0.5413 GB, free: 8.012 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.103e-05/0.3579, allocations: 30.59 kB / 0.5413 GB, free: 8.004 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005418/0.3585, allocations: 0.5861 MB / 0.5419 GB, free: 7.754 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3585, allocations: 0 / 0.5419 GB, free: 7.754 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009047/0.3594, allocations: 297.5 kB / 0.5422 GB, free: 7.703 MB / 378.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.0005763/0.36, allocations: 332.9 kB / 0.5425 GB, free: 7.543 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007971/0.3608, allocations: 0.6354 MB / 0.5431 GB, free: 7.332 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.3608, allocations: 0 / 0.5431 GB, free: 7.332 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000188/0.361, allocations: 144.1 kB / 0.5432 GB, free: 7.285 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001822/0.3628, allocations: 412.8 kB / 0.5436 GB, free: 7.168 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001878/0.3647, allocations: 1.826 MB / 0.5454 GB, free: 6.078 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004729/0.3652, allocations: 1.002 MB / 0.5464 GB, free: 5.34 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0009954/0.3662, allocations: 313.6 kB / 0.5467 GB, free: 5.281 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001468/0.3663, allocations: 75.98 kB / 0.5468 GB, free: 5.27 MB / 378.7 MB Notification: Performance of SimCode: time 4.61e-07/0.3663, allocations: 0 / 0.5468 GB, free: 5.27 MB / 378.7 MB Notification: Performance of Templates: time 0.02662/0.393, allocations: 15.3 MB / 0.5617 GB, free: 15.33 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Vessels/TestMixingVolumes/TestMixingVolumes.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches