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.001008/0.001008, allocations: 94.78 kB / 18.01 MB, free: 5.738 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.0009786/0.0009787, allocations: 175.2 kB / 18.91 MB, free: 4.871 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.364/1.364, allocations: 223.3 MB / 243 MB, free: 92 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1987/0.1987, allocations: 44.24 MB / 338.3 MB, free: 2.723 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003322/0.0003321, allocations: 8 kB / 411 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.115, allocations: 61.92 MB / 472.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.02074/0.1358, allocations: 17.54 MB / 490.5 MB, free: 11.73 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01066/0.1465, allocations: 7.036 MB / 497.5 MB, free: 4.68 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001081/0.1477, allocations: 23.81 kB / 497.5 MB, free: 4.656 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001219/0.1489, allocations: 326.2 kB / 497.8 MB, free: 4.336 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001849/0.1508, allocations: 0.657 MB / 498.5 MB, free: 3.676 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003738/0.1545, allocations: 1.197 MB / 499.7 MB, free: 2.488 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004313/0.1589, allocations: 3.581 MB / 0.4915 GB, free: 14.9 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001391/0.1603, allocations: 0.5835 MB / 0.492 GB, free: 14.3 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002508/0.1628, allocations: 0.9069 MB / 0.4929 GB, free: 13.39 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001553/0.1644, allocations: 0.7862 MB / 0.4937 GB, free: 12.6 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003162/0.1647, allocations: 48 kB / 0.4937 GB, free: 12.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00173/0.1664, allocations: 0.542 MB / 0.4943 GB, free: 12.01 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005971/0.1671, allocations: 339 kB / 0.4946 GB, free: 11.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001162/0.1682, allocations: 0.5072 MB / 0.4951 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001802/0.17, allocations: 1.123 MB / 0.4962 GB, free: 10.04 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1701, allocations: 0 / 0.4962 GB, free: 10.04 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1701, allocations: 0 / 0.4962 GB, free: 10.04 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.152e-05/0.1701, allocations: 0 / 0.4962 GB, free: 10.04 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.00292/0.1731, allocations: 1.103 MB / 0.4973 GB, free: 8.887 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.1731, allocations: 11.97 kB / 0.4973 GB, free: 8.875 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006569/0.1738, allocations: 119.8 kB / 0.4974 GB, free: 8.758 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001149/0.175, allocations: 0.5872 MB / 0.498 GB, free: 8.129 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002236/0.1752, allocations: 248.8 kB / 0.4982 GB, free: 7.848 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002152/0.1754, allocations: 76.38 kB / 0.4983 GB, free: 7.773 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002222/0.1776, allocations: 1.32 MB / 0.4996 GB, free: 6.324 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.356e-05/0.1777, allocations: 3.938 kB / 0.4996 GB, free: 6.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001321/0.1778, allocations: 40 kB / 0.4996 GB, free: 6.281 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.207e-05/0.1779, allocations: 41.3 kB / 0.4996 GB, free: 6.238 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001725/0.1796, allocations: 0.9649 MB / 0.5006 GB, free: 5.273 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.2385/0.4181, allocations: 7.076 MB / 0.5075 GB, free: 46.38 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006727/0.4188, allocations: 311.7 kB / 0.5078 GB, free: 46.35 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003444/0.4192, allocations: 173.8 kB / 0.508 GB, free: 46.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002547/0.4217, allocations: 2.827 MB / 0.5107 GB, free: 43.61 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.4218, allocations: 42.38 kB / 0.5108 GB, free: 43.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 2.525e-06/0.4218, allocations: 0 / 0.5108 GB, free: 43.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.002845/0.4247, allocations: 1.111 MB / 0.5118 GB, free: 43.14 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.066e-05/0.4247, allocations: 54.91 kB / 0.5119 GB, free: 43.08 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001611/0.4263, allocations: 0.8752 MB / 0.5127 GB, free: 42.92 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.212e-05/0.4264, allocations: 36.67 kB / 0.5128 GB, free: 42.89 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005922/0.427, allocations: 0.5688 MB / 0.5133 GB, free: 42.54 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001811/0.4272, allocations: 135.7 kB / 0.5135 GB, free: 42.47 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002624/0.4275, allocations: 111.7 kB / 0.5136 GB, free: 42.45 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000226/0.4277, allocations: 402 kB / 0.514 GB, free: 42.1 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006591/0.4284, allocations: 249.6 kB / 0.5142 GB, free: 42.04 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000971/0.4294, allocations: 0.9594 MB / 0.5151 GB, free: 41 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001364/0.4308, allocations: 1.327 MB / 0.5164 GB, free: 39.78 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.643e-05/0.4308, allocations: 7.25 kB / 0.5164 GB, free: 39.78 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002294/0.4331, allocations: 1.201 MB / 0.5176 GB, free: 39.31 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.469e-05/0.4331, allocations: 16.41 kB / 0.5176 GB, free: 39.31 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-05/0.4332, allocations: 30.62 kB / 0.5177 GB, free: 39.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.405e-05/0.4333, allocations: 33.47 kB / 0.5177 GB, free: 39.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008748/0.4342, allocations: 278.7 kB / 0.5179 GB, free: 39.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.99e-05/0.4342, allocations: 51.59 kB / 0.518 GB, free: 39.26 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009529/0.4352, allocations: 70.08 kB / 0.5181 GB, free: 39.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001516/0.4354, allocations: 76.86 kB / 0.5181 GB, free: 39.22 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.0005676/0.4359, allocations: 331.7 kB / 0.5185 GB, free: 38.99 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002194/0.4362, allocations: 88.27 kB / 0.5185 GB, free: 38.95 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001072/0.4372, allocations: 483 kB / 0.519 GB, free: 38.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.219e-05/0.4373, allocations: 3.375 kB / 0.519 GB, free: 38.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.4373, allocations: 1.766 kB / 0.519 GB, free: 38.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.4373, allocations: 0 / 0.519 GB, free: 38.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002161/0.4395, allocations: 1.239 MB / 0.5202 GB, free: 37.92 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.4395, allocations: 2.75 kB / 0.5202 GB, free: 37.92 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003137/0.4398, allocations: 71.11 kB / 0.5203 GB, free: 37.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.457e-06/0.4398, allocations: 6.594 kB / 0.5203 GB, free: 37.91 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.151e-05/0.4399, allocations: 12.22 kB / 0.5203 GB, free: 37.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.722e-06/0.4399, allocations: 8.156 kB / 0.5203 GB, free: 37.9 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.4399, allocations: 3.719 kB / 0.5203 GB, free: 37.9 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001056/0.4409, allocations: 0.6542 MB / 0.521 GB, free: 37.51 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004256/0.4414, allocations: 214.2 kB / 0.5212 GB, free: 37.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000198/0.4416, allocations: 13.52 kB / 0.5212 GB, free: 37.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005142/0.4421, allocations: 22.09 kB / 0.5212 GB, free: 37.33 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.58e-05/0.4422, allocations: 27.83 kB / 0.5212 GB, free: 37.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-05/0.4422, allocations: 24.98 kB / 0.5212 GB, free: 37.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001168/0.4434, allocations: 0.5985 MB / 0.5218 GB, free: 37.06 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4434, allocations: 0.5312 kB / 0.5218 GB, free: 37.06 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001504/0.4449, allocations: 300.6 kB / 0.5221 GB, free: 37.02 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.0008679/0.4458, allocations: 324.7 kB / 0.5224 GB, free: 36.89 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001332/0.4471, allocations: 0.6422 MB / 0.5231 GB, free: 36.68 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.084e-06/0.4472, allocations: 1.25 kB / 0.5231 GB, free: 36.68 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003002/0.4475, allocations: 143.7 kB / 0.5232 GB, free: 36.64 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002499/0.45, allocations: 409.1 kB / 0.5236 GB, free: 36.54 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00288/0.4529, allocations: 1.886 MB / 0.5254 GB, free: 35.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006434/0.4535, allocations: 0.9934 MB / 0.5264 GB, free: 34.68 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002374/0.4538, allocations: 83.59 kB / 0.5265 GB, free: 34.67 MB / 382.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4538, allocations: 0 / 0.5265 GB, free: 34.67 MB / 382.1 MB Notification: Performance of Templates: time 0.02125/0.4751, allocations: 14.62 MB / 0.5407 GB, free: 24.59 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