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.001632/0.001632, allocations: 109.5 kB / 17.09 MB, free: 5.805 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.001826/0.001826, allocations: 196.2 kB / 18.02 MB, free: 4.918 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.342/1.342, allocations: 205.1 MB / 223.9 MB, free: 12.21 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.2063/0.2063, allocations: 43.52 MB / 314.8 MB, free: 460 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.00138/0.00138, allocations: 73.98 kB / 442.5 MB, free: 5.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.102, allocations: 57.78 MB / 0.4885 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.0176/0.1196, allocations: 17.61 MB / 0.5057 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008229/0.1279, allocations: 7.007 MB / 0.5126 GB, free: 3.074 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007309/0.1286, allocations: 27.81 kB / 0.5126 GB, free: 3.047 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009589/0.1297, allocations: 373.6 kB / 0.513 GB, free: 2.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001368/0.131, allocations: 0.6683 MB / 0.5136 GB, free: 2.008 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003174/0.1342, allocations: 1.328 MB / 0.5149 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00263/0.1369, allocations: 2.498 MB / 0.5174 GB, free: 14.17 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008955/0.1378, allocations: 0.674 MB / 0.518 GB, free: 13.48 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001603/0.1394, allocations: 1.036 MB / 0.519 GB, free: 12.44 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001041/0.1404, allocations: 0.759 MB / 0.5198 GB, free: 11.68 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001514/0.1406, allocations: 88 kB / 0.5199 GB, free: 11.59 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0012/0.1418, allocations: 0.5344 MB / 0.5204 GB, free: 11.06 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003372/0.1422, allocations: 375 kB / 0.5207 GB, free: 10.69 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005088/0.1427, allocations: 0.5173 MB / 0.5212 GB, free: 10.17 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001746/0.1444, allocations: 1.531 MB / 0.5227 GB, free: 8.637 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1445, allocations: 4 kB / 0.5227 GB, free: 8.633 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1445, allocations: 0 / 0.5227 GB, free: 8.633 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.095e-05/0.1445, allocations: 0 / 0.5227 GB, free: 8.633 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.002227/0.1467, allocations: 1.283 MB / 0.524 GB, free: 7.297 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.1468, allocations: 12.03 kB / 0.524 GB, free: 7.285 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004629/0.1472, allocations: 127.7 kB / 0.5241 GB, free: 7.16 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000898/0.1481, allocations: 0.6106 MB / 0.5247 GB, free: 6.512 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001967/0.1484, allocations: 256.8 kB / 0.525 GB, free: 6.227 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001287/0.1485, allocations: 76.38 kB / 0.525 GB, free: 6.152 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00185/0.1503, allocations: 1.301 MB / 0.5263 GB, free: 4.715 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.067e-05/0.1504, allocations: 11.92 kB / 0.5263 GB, free: 4.703 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001044/0.1505, allocations: 40 kB / 0.5264 GB, free: 4.664 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.169e-05/0.1506, allocations: 37.31 kB / 0.5264 GB, free: 4.629 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001502/0.1521, allocations: 0.9649 MB / 0.5273 GB, free: 3.66 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.2183/0.3704, allocations: 7.076 MB / 0.5342 GB, free: 37.83 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005015/0.371, allocations: 314.1 kB / 0.5345 GB, free: 37.79 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002276/0.3712, allocations: 173.7 kB / 0.5347 GB, free: 37.79 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002074/0.3733, allocations: 2.828 MB / 0.5375 GB, free: 35.07 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.3733, allocations: 38.91 kB / 0.5375 GB, free: 35.03 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 2.455e-06/0.3733, allocations: 0.9844 kB / 0.5375 GB, free: 35.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.002156/0.3755, allocations: 1.112 MB / 0.5386 GB, free: 34.61 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.997e-05/0.3755, allocations: 57.62 kB / 0.5387 GB, free: 34.54 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/0.3766, allocations: 0.8726 MB / 0.5395 GB, free: 34.38 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.731e-05/0.3766, allocations: 32.39 kB / 0.5395 GB, free: 34.35 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003051/0.377, allocations: 0.5674 MB / 0.5401 GB, free: 34.01 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.917e-05/0.377, allocations: 136.1 kB / 0.5402 GB, free: 33.93 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002591/0.3773, allocations: 242.4 kB / 0.5405 GB, free: 33.9 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.3775, allocations: 403.7 kB / 0.5408 GB, free: 33.58 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004206/0.3779, allocations: 248.7 kB / 0.5411 GB, free: 33.58 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007096/0.3786, allocations: 0.9632 MB / 0.542 GB, free: 32.65 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001104/0.3797, allocations: 1.318 MB / 0.5433 GB, free: 31.65 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.258e-05/0.3798, allocations: 8.5 kB / 0.5433 GB, free: 31.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001727/0.3815, allocations: 1.212 MB / 0.5445 GB, free: 31.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.631e-05/0.3815, allocations: 15.14 kB / 0.5445 GB, free: 31.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.16e-05/0.3816, allocations: 26.47 kB / 0.5445 GB, free: 31.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.185e-05/0.3816, allocations: 33.62 kB / 0.5446 GB, free: 31.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007662/0.3824, allocations: 277.2 kB / 0.5448 GB, free: 31.15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.837e-05/0.3824, allocations: 55.45 kB / 0.5449 GB, free: 31.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006885/0.3831, allocations: 54.41 kB / 0.5449 GB, free: 31.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.398e-05/0.3832, allocations: 72.45 kB / 0.545 GB, free: 31.11 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.000376/0.3836, allocations: 334.3 kB / 0.5453 GB, free: 30.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001264/0.3837, allocations: 90.44 kB / 0.5454 GB, free: 30.83 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007995/0.3845, allocations: 481.5 kB / 0.5459 GB, free: 30.62 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/0.3846, allocations: 5.047 kB / 0.5459 GB, free: 30.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/0.3846, allocations: 0.5625 kB / 0.5459 GB, free: 30.62 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002226/0.3848, allocations: 190 kB / 0.5461 GB, free: 30.46 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.851e-05/0.3849, allocations: 11.12 kB / 0.5461 GB, free: 30.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003399/0.3852, allocations: 18.28 kB / 0.5461 GB, free: 30.45 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.822e-05/0.3853, allocations: 21.59 kB / 0.5461 GB, free: 30.45 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000618/0.3859, allocations: 408.6 kB / 0.5465 GB, free: 30.24 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007668/0.3867, allocations: 0.6783 MB / 0.5472 GB, free: 29.84 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001933/0.3869, allocations: 135.2 kB / 0.5473 GB, free: 29.79 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007779/0.3877, allocations: 0.5799 MB / 0.5478 GB, free: 29.55 MB / 414.1 MB Notification: Performance of Backend: time 3.9e-07/0.3877, allocations: 0 / 0.5478 GB, free: 29.55 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002165/0.3899, allocations: 0.8726 MB / 0.5487 GB, free: 29.27 MB / 414.1 MB Notification: Performance of SimCode: time 0.002948/0.3928, allocations: 2.154 MB / 0.5508 GB, free: 28.02 MB / 414.1 MB Notification: Performance of Templates: time 0.02498/0.4178, allocations: 16.45 MB / 0.5669 GB, free: 21.46 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