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.001503/0.001503, allocations: 113.4 kB / 17.86 MB, free: 5.629 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.001697/0.001697, allocations: 201.9 kB / 18.77 MB, free: 4.715 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.374/1.374, allocations: 222.9 MB / 242.4 MB, free: 15.47 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.2305/0.2305, allocations: 44.18 MB / 336.8 MB, free: 2.984 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 66.33 kB / 408.4 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1205, allocations: 60.83 MB / 469.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01859/0.1391, allocations: 18.12 MB / 487.3 MB, free: 12.64 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009219/0.1484, allocations: 7.129 MB / 494.4 MB, free: 5.492 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001197/0.1496, allocations: 23.81 kB / 494.5 MB, free: 5.469 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001183/0.1508, allocations: 334.2 kB / 494.8 MB, free: 5.141 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001848/0.1527, allocations: 0.6454 MB / 495.4 MB, free: 4.492 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003637/0.1564, allocations: 1.209 MB / 496.6 MB, free: 3.293 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00373/0.1601, allocations: 3.578 MB / 0.4885 GB, free: 15.7 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001213/0.1613, allocations: 0.5874 MB / 0.4891 GB, free: 15.1 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002342/0.1637, allocations: 0.9108 MB / 0.4899 GB, free: 14.19 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001528/0.1652, allocations: 0.7862 MB / 0.4907 GB, free: 13.4 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003147/0.1656, allocations: 48 kB / 0.4908 GB, free: 13.35 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001719/0.1673, allocations: 0.5498 MB / 0.4913 GB, free: 12.8 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005118/0.1678, allocations: 343 kB / 0.4916 GB, free: 12.46 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009412/0.1688, allocations: 489.7 kB / 0.4921 GB, free: 11.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001597/0.1704, allocations: 1.135 MB / 0.4932 GB, free: 10.85 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.247e-06/0.1704, allocations: 8 kB / 0.4932 GB, free: 10.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1704, allocations: 0 / 0.4932 GB, free: 10.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.929e-05/0.1705, allocations: 4 kB / 0.4932 GB, free: 10.84 MB / 382.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.003371/0.1738, allocations: 1.287 MB / 0.4945 GB, free: 9.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.1739, allocations: 11.97 kB / 0.4945 GB, free: 9.488 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006347/0.1745, allocations: 115.9 kB / 0.4946 GB, free: 9.375 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001174/0.1757, allocations: 0.5872 MB / 0.4952 GB, free: 8.746 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002342/0.176, allocations: 248.8 kB / 0.4954 GB, free: 8.465 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001669/0.1762, allocations: 80.28 kB / 0.4955 GB, free: 8.387 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002298/0.1785, allocations: 1.317 MB / 0.4968 GB, free: 6.941 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.069e-05/0.1785, allocations: 3.938 kB / 0.4968 GB, free: 6.938 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001371/0.1787, allocations: 40 kB / 0.4968 GB, free: 6.898 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.346e-05/0.1787, allocations: 45.28 kB / 0.4969 GB, free: 6.852 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001744/0.1805, allocations: 0.9649 MB / 0.4978 GB, free: 5.887 MB / 382.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.2143/0.3948, allocations: 7.08 MB / 0.5047 GB, free: 47.77 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006257/0.3954, allocations: 311.2 kB / 0.505 GB, free: 47.74 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003915/0.3958, allocations: 171.7 kB / 0.5052 GB, free: 47.73 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002668/0.3985, allocations: 2.823 MB / 0.5079 GB, free: 45.01 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.3985, allocations: 41.14 kB / 0.508 GB, free: 44.97 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.693e-06/0.3985, allocations: 0 / 0.508 GB, free: 44.97 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.002302/0.4008, allocations: 1.111 MB / 0.509 GB, free: 44.56 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.752e-05/0.4009, allocations: 55.03 kB / 0.5091 GB, free: 44.5 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001216/0.4021, allocations: 0.8716 MB / 0.51 GB, free: 44.21 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.227e-05/0.4022, allocations: 38.02 kB / 0.51 GB, free: 44.17 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000465/0.4026, allocations: 0.5686 MB / 0.5105 GB, free: 43.72 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001477/0.4028, allocations: 138.2 kB / 0.5107 GB, free: 43.62 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003757/0.4032, allocations: 238.9 kB / 0.5109 GB, free: 43.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.4034, allocations: 397 kB / 0.5113 GB, free: 43.15 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004546/0.4038, allocations: 245.8 kB / 0.5115 GB, free: 43.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008328/0.4047, allocations: 0.9626 MB / 0.5125 GB, free: 42.04 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001258/0.4059, allocations: 1.329 MB / 0.5138 GB, free: 40.84 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-05/0.4059, allocations: 6.969 kB / 0.5138 GB, free: 40.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.00185/0.4078, allocations: 1.203 MB / 0.5149 GB, free: 40.36 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.432e-05/0.4078, allocations: 21.45 kB / 0.515 GB, free: 40.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.208e-05/0.4079, allocations: 29.41 kB / 0.515 GB, free: 40.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.482e-05/0.4079, allocations: 34.12 kB / 0.515 GB, free: 40.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007414/0.4087, allocations: 279.1 kB / 0.5153 GB, free: 40.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.842e-05/0.4087, allocations: 53.84 kB / 0.5153 GB, free: 40.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007768/0.4095, allocations: 65.41 kB / 0.5154 GB, free: 40.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000101/0.4096, allocations: 77.97 kB / 0.5155 GB, free: 40.27 MB / 382.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.0004197/0.4101, allocations: 330.7 kB / 0.5158 GB, free: 40.05 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001358/0.4102, allocations: 91.48 kB / 0.5159 GB, free: 40 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008506/0.4111, allocations: 480.5 kB / 0.5163 GB, free: 39.79 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/0.4111, allocations: 4.812 kB / 0.5163 GB, free: 39.79 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.4111, allocations: 3.828 kB / 0.5163 GB, free: 39.79 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.4111, allocations: 7.422 kB / 0.5163 GB, free: 39.79 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001659/0.4128, allocations: 1.242 MB / 0.5176 GB, free: 38.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.4128, allocations: 2.062 kB / 0.5176 GB, free: 38.97 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002784/0.4131, allocations: 68.12 kB / 0.5176 GB, free: 38.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.4131, allocations: 3.5 kB / 0.5176 GB, free: 38.97 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.227e-05/0.4131, allocations: 13.31 kB / 0.5176 GB, free: 38.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.4131, allocations: 7.938 kB / 0.5177 GB, free: 38.96 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.4131, allocations: 4.547 kB / 0.5177 GB, free: 38.96 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009222/0.414, allocations: 0.6471 MB / 0.5183 GB, free: 38.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002731/0.4143, allocations: 205.2 kB / 0.5185 GB, free: 38.41 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/0.4144, allocations: 8.875 kB / 0.5185 GB, free: 38.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004252/0.4149, allocations: 19.28 kB / 0.5185 GB, free: 38.4 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.399e-05/0.415, allocations: 31.2 kB / 0.5185 GB, free: 38.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.616e-05/0.415, allocations: 25.14 kB / 0.5186 GB, free: 38.38 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009538/0.416, allocations: 0.5946 MB / 0.5191 GB, free: 38.13 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.416, allocations: 0 / 0.5191 GB, free: 38.13 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001207/0.4172, allocations: 298.8 kB / 0.5194 GB, free: 38.09 MB / 382.1 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.0006471/0.4179, allocations: 342.4 kB / 0.5198 GB, free: 37.96 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001045/0.4189, allocations: 0.6474 MB / 0.5204 GB, free: 37.74 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.155e-06/0.4189, allocations: 1 kB / 0.5204 GB, free: 37.74 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002316/0.4192, allocations: 146.8 kB / 0.5205 GB, free: 37.7 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001834/0.421, allocations: 403.6 kB / 0.5209 GB, free: 37.6 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002208/0.4232, allocations: 1.798 MB / 0.5227 GB, free: 36.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005361/0.4238, allocations: 0.9979 MB / 0.5236 GB, free: 35.76 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001923/0.424, allocations: 82.64 kB / 0.5237 GB, free: 35.75 MB / 382.1 MB Notification: Performance of SimCode: time 4.4e-07/0.424, allocations: 0 / 0.5237 GB, free: 35.75 MB / 382.1 MB Notification: Performance of Templates: time 0.02005/0.444, allocations: 14.71 MB / 0.5381 GB, free: 25.62 MB / 382.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