Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001716/0.001715, allocations: 109.7 kB / 17.09 MB, free: 5.988 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.001965/0.001965, allocations: 187 kB / 18.02 MB, free: 5.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.405/1.405, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2091/0.2091, allocations: 43.53 MB / 314.8 MB, free: 448 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001524/0.001524, allocations: 71.89 kB / 442.5 MB, free: 5.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1098, allocations: 57.78 MB / 0.4886 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.02109/0.131, allocations: 17.61 MB / 0.5058 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009129/0.1402, allocations: 7.007 MB / 0.5126 GB, free: 3.078 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007547/0.1409, allocations: 23.88 kB / 0.5126 GB, free: 3.055 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001163/0.1421, allocations: 377.6 kB / 0.513 GB, free: 2.684 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001676/0.1438, allocations: 0.6801 MB / 0.5136 GB, free: 2 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003558/0.1474, allocations: 1.328 MB / 0.5149 GB, free: 0.668 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003813/0.1512, allocations: 2.506 MB / 0.5174 GB, free: 14.16 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001333/0.1526, allocations: 0.6817 MB / 0.5181 GB, free: 13.46 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00243/0.155, allocations: 1.043 MB / 0.5191 GB, free: 12.41 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001531/0.1566, allocations: 0.7512 MB / 0.5198 GB, free: 11.66 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003215/0.1569, allocations: 84 kB / 0.5199 GB, free: 11.57 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001732/0.1587, allocations: 0.546 MB / 0.5204 GB, free: 11.03 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005605/0.1592, allocations: 371 kB / 0.5208 GB, free: 10.66 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001256/0.1605, allocations: 0.5134 MB / 0.5213 GB, free: 10.15 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003228/0.1637, allocations: 1.534 MB / 0.5228 GB, free: 8.609 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1638, allocations: 4 kB / 0.5228 GB, free: 8.605 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1638, allocations: 0 / 0.5228 GB, free: 8.605 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.59e-05/0.1638, allocations: 0 / 0.5228 GB, free: 8.605 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.00325/0.1671, allocations: 1.312 MB / 0.5241 GB, free: 7.238 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.445e-05/0.1672, allocations: 12.03 kB / 0.5241 GB, free: 7.227 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007117/0.1679, allocations: 128.2 kB / 0.5242 GB, free: 7.102 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001193/0.1691, allocations: 0.6188 MB / 0.5248 GB, free: 6.445 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002168/0.1693, allocations: 256.7 kB / 0.525 GB, free: 6.16 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001555/0.1695, allocations: 80.38 kB / 0.5251 GB, free: 6.082 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002158/0.1716, allocations: 1.305 MB / 0.5264 GB, free: 4.641 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.183e-05/0.1717, allocations: 7.938 kB / 0.5264 GB, free: 4.633 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001324/0.1718, allocations: 40 kB / 0.5264 GB, free: 4.594 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.635e-05/0.1719, allocations: 41.3 kB / 0.5265 GB, free: 4.555 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001739/0.1736, allocations: 0.961 MB / 0.5274 GB, free: 3.59 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.2366/0.4102, allocations: 7.081 MB / 0.5343 GB, free: 37.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005845/0.4108, allocations: 320.7 kB / 0.5346 GB, free: 37.8 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002443/0.4111, allocations: 175.4 kB / 0.5348 GB, free: 37.8 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002122/0.4132, allocations: 2.818 MB / 0.5376 GB, free: 35.08 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.4133, allocations: 43.27 kB / 0.5376 GB, free: 35.04 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.864e-06/0.4133, allocations: 3.828 kB / 0.5376 GB, free: 35.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.002353/0.4156, allocations: 1.12 MB / 0.5387 GB, free: 34.62 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.481e-05/0.4157, allocations: 55.03 kB / 0.5387 GB, free: 34.55 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001101/0.4168, allocations: 0.8729 MB / 0.5396 GB, free: 34.39 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.949e-05/0.4168, allocations: 35.89 kB / 0.5396 GB, free: 34.36 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003184/0.4172, allocations: 0.5877 MB / 0.5402 GB, free: 34 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.128e-05/0.4173, allocations: 146.1 kB / 0.5403 GB, free: 33.92 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002561/0.4175, allocations: 245.8 kB / 0.5406 GB, free: 33.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.4176, allocations: 399.2 kB / 0.541 GB, free: 33.57 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004673/0.4181, allocations: 245.8 kB / 0.5412 GB, free: 33.56 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007549/0.4189, allocations: 0.966 MB / 0.5421 GB, free: 32.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001173/0.4201, allocations: 1.317 MB / 0.5434 GB, free: 31.64 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.384e-05/0.4201, allocations: 8.094 kB / 0.5434 GB, free: 31.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001726/0.4218, allocations: 1.215 MB / 0.5446 GB, free: 31.17 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.242e-05/0.4219, allocations: 17.2 kB / 0.5446 GB, free: 31.17 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.643e-05/0.4219, allocations: 24.91 kB / 0.5447 GB, free: 31.17 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.758e-05/0.422, allocations: 34.62 kB / 0.5447 GB, free: 31.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008159/0.4228, allocations: 278.6 kB / 0.545 GB, free: 31.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.576e-05/0.4228, allocations: 51.12 kB / 0.545 GB, free: 31.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006901/0.4235, allocations: 51.75 kB / 0.5451 GB, free: 31.1 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.969e-05/0.4236, allocations: 71.66 kB / 0.5451 GB, free: 31.09 MB / 414.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.0003557/0.424, allocations: 336.6 kB / 0.5454 GB, free: 30.86 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.4241, allocations: 91.94 kB / 0.5455 GB, free: 30.82 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008259/0.425, allocations: 483 kB / 0.546 GB, free: 30.61 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.425, allocations: 5.922 kB / 0.546 GB, free: 30.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.425, allocations: 0 / 0.546 GB, free: 30.6 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002242/0.4252, allocations: 194.7 kB / 0.5462 GB, free: 30.44 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.4253, allocations: 10.81 kB / 0.5462 GB, free: 30.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000348/0.4257, allocations: 18.34 kB / 0.5462 GB, free: 30.43 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.138e-05/0.4257, allocations: 19.27 kB / 0.5462 GB, free: 30.43 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006797/0.4264, allocations: 408.1 kB / 0.5466 GB, free: 30.22 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008114/0.4272, allocations: 0.688 MB / 0.5473 GB, free: 29.81 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002027/0.4275, allocations: 134.1 kB / 0.5474 GB, free: 29.76 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007152/0.4282, allocations: 0.5792 MB / 0.548 GB, free: 29.53 MB / 414.1 MB Notification: Performance of Backend: time 8.82e-07/0.4282, allocations: 0 / 0.548 GB, free: 29.53 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002039/0.4302, allocations: 0.8785 MB / 0.5488 GB, free: 29.23 MB / 414.1 MB Notification: Performance of SimCode: time 0.003098/0.4334, allocations: 2.181 MB / 0.551 GB, free: 27.95 MB / 414.1 MB Notification: Performance of Templates: time 0.03073/0.4641, allocations: 16.24 MB / 0.5668 GB, free: 21.62 MB / 414.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Vessels/TestMixingVolumes/TestMixingVolumes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches