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.001009/0.001009, allocations: 94.88 kB / 17.35 MB, free: 6.375 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.001019/0.001019, allocations: 179.3 kB / 18.26 MB, free: 5.52 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.391/1.391, allocations: 223.3 MB / 242.3 MB, free: 216 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.1968/0.1968, allocations: 44.25 MB / 337.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004613/0.0004613, allocations: 14.88 kB / 410.3 MB, free: 27.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1248, allocations: 61.92 MB / 472.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01843/0.1432, allocations: 17.54 MB / 489.8 MB, free: 11.75 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01005/0.1534, allocations: 7.032 MB / 496.8 MB, free: 4.695 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001139/0.1546, allocations: 23.81 kB / 496.8 MB, free: 4.672 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00116/0.1557, allocations: 322.2 kB / 497.2 MB, free: 4.355 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001634/0.1574, allocations: 0.6493 MB / 497.8 MB, free: 3.703 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003525/0.1609, allocations: 1.214 MB / 499 MB, free: 2.5 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003972/0.1649, allocations: 3.574 MB / 0.4908 GB, free: 14.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001075/0.166, allocations: 0.5874 MB / 0.4914 GB, free: 14.31 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0019/0.1679, allocations: 0.9108 MB / 0.4923 GB, free: 13.4 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001162/0.1691, allocations: 0.7745 MB / 0.493 GB, free: 12.62 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000142/0.1692, allocations: 48 kB / 0.4931 GB, free: 12.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001349/0.1706, allocations: 0.5498 MB / 0.4936 GB, free: 12.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003484/0.171, allocations: 335 kB / 0.4939 GB, free: 11.7 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006036/0.1716, allocations: 0.5033 MB / 0.4944 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001919/0.1735, allocations: 1.488 MB / 0.4959 GB, free: 9.691 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1735, allocations: 0 / 0.4959 GB, free: 9.691 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1735, allocations: 0 / 0.4959 GB, free: 9.691 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.372e-05/0.1735, allocations: 0 / 0.4959 GB, free: 9.691 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.00214/0.1757, allocations: 1.1 MB / 0.497 GB, free: 8.543 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.1757, allocations: 11.97 kB / 0.497 GB, free: 8.531 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004538/0.1762, allocations: 119.8 kB / 0.4971 GB, free: 8.414 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008546/0.1771, allocations: 0.5911 MB / 0.4977 GB, free: 7.781 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002206/0.1773, allocations: 252.8 kB / 0.4979 GB, free: 7.496 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001316/0.1774, allocations: 84.36 kB / 0.498 GB, free: 7.414 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001859/0.1793, allocations: 1.307 MB / 0.4993 GB, free: 5.98 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.87e-05/0.1793, allocations: 7.938 kB / 0.4993 GB, free: 5.973 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/0.1794, allocations: 43.98 kB / 0.4993 GB, free: 5.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.218e-05/0.1795, allocations: 37.3 kB / 0.4993 GB, free: 5.891 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001529/0.181, allocations: 0.9649 MB / 0.5003 GB, free: 4.926 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.2243/0.4053, allocations: 7.08 MB / 0.5072 GB, free: 46.31 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005317/0.4059, allocations: 312.1 kB / 0.5075 GB, free: 46.28 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002972/0.4062, allocations: 170.8 kB / 0.5077 GB, free: 46.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002304/0.4085, allocations: 2.824 MB / 0.5104 GB, free: 43.54 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.4085, allocations: 41.34 kB / 0.5105 GB, free: 43.5 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.873e-06/0.4085, allocations: 0 / 0.5105 GB, free: 43.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.002322/0.4109, allocations: 1.107 MB / 0.5115 GB, free: 43.07 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.835e-05/0.4109, allocations: 60.52 kB / 0.5116 GB, free: 43.01 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001087/0.412, allocations: 0.8782 MB / 0.5125 GB, free: 42.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.714e-05/0.4121, allocations: 35.73 kB / 0.5125 GB, free: 42.81 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003121/0.4124, allocations: 0.5708 MB / 0.513 GB, free: 42.47 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.595e-05/0.4125, allocations: 135.7 kB / 0.5132 GB, free: 42.39 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/0.4126, allocations: 108.8 kB / 0.5133 GB, free: 42.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.4127, allocations: 395.4 kB / 0.5137 GB, free: 41.99 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004082/0.4131, allocations: 246.7 kB / 0.5139 GB, free: 41.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007/0.4138, allocations: 0.9635 MB / 0.5148 GB, free: 40.89 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001096/0.4149, allocations: 1.324 MB / 0.5161 GB, free: 39.67 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.408e-05/0.415, allocations: 10.09 kB / 0.5161 GB, free: 39.67 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001914/0.4169, allocations: 1.204 MB / 0.5173 GB, free: 39.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.455e-05/0.4169, allocations: 18.41 kB / 0.5173 GB, free: 39.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.035e-05/0.417, allocations: 26 kB / 0.5174 GB, free: 39.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.793e-05/0.4171, allocations: 34.97 kB / 0.5174 GB, free: 39.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009477/0.418, allocations: 286.1 kB / 0.5177 GB, free: 39.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.165e-05/0.4181, allocations: 51.19 kB / 0.5177 GB, free: 39.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009041/0.419, allocations: 69.02 kB / 0.5178 GB, free: 39.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001325/0.4192, allocations: 76.81 kB / 0.5179 GB, free: 39.09 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.0005177/0.4197, allocations: 334.9 kB / 0.5182 GB, free: 38.87 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001401/0.4198, allocations: 87.53 kB / 0.5183 GB, free: 38.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009408/0.4208, allocations: 483.9 kB / 0.5187 GB, free: 38.61 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-05/0.4208, allocations: 7.719 kB / 0.5187 GB, free: 38.61 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.4208, allocations: 5 kB / 0.5187 GB, free: 38.61 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.4208, allocations: 1.828 kB / 0.5187 GB, free: 38.61 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001639/0.4225, allocations: 1.238 MB / 0.5199 GB, free: 37.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.4225, allocations: 8.453 kB / 0.5199 GB, free: 37.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002584/0.4228, allocations: 67.61 kB / 0.52 GB, free: 37.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.004e-06/0.4228, allocations: 3.812 kB / 0.52 GB, free: 37.78 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.244e-05/0.4228, allocations: 10.03 kB / 0.52 GB, free: 37.78 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.4228, allocations: 4.328 kB / 0.52 GB, free: 37.78 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.4228, allocations: 2.062 kB / 0.52 GB, free: 37.78 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009004/0.4237, allocations: 0.6529 MB / 0.5207 GB, free: 37.39 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002854/0.424, allocations: 211 kB / 0.5209 GB, free: 37.22 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/0.4241, allocations: 9.203 kB / 0.5209 GB, free: 37.22 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004155/0.4246, allocations: 34.25 kB / 0.5209 GB, free: 37.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.261e-05/0.4246, allocations: 26.92 kB / 0.5209 GB, free: 37.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.016e-05/0.4247, allocations: 26.17 kB / 0.521 GB, free: 37.19 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000976/0.4257, allocations: 0.5939 MB / 0.5215 GB, free: 36.94 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4257, allocations: 0 / 0.5215 GB, free: 36.94 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001256/0.4269, allocations: 297.7 kB / 0.5218 GB, free: 36.9 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.0007164/0.4277, allocations: 332.7 kB / 0.5221 GB, free: 36.76 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001165/0.4288, allocations: 0.6419 MB / 0.5228 GB, free: 36.55 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.4289, allocations: 5.156 kB / 0.5228 GB, free: 36.55 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002381/0.4291, allocations: 148.2 kB / 0.5229 GB, free: 36.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002181/0.4313, allocations: 392.4 kB / 0.5233 GB, free: 36.41 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002388/0.4337, allocations: 1.835 MB / 0.5251 GB, free: 35.33 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005277/0.4342, allocations: 0.9982 MB / 0.5261 GB, free: 34.6 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001175/0.4354, allocations: 315.5 kB / 0.5264 GB, free: 34.55 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001575/0.4356, allocations: 76.45 kB / 0.5264 GB, free: 34.54 MB / 382.1 MB Notification: Performance of SimCode: time 9.72e-07/0.4356, allocations: 4 kB / 0.5264 GB, free: 34.53 MB / 382.1 MB Notification: Performance of Templates: time 0.02332/0.4589, allocations: 15.29 MB / 0.5414 GB, free: 23.54 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Vessels/TestMixingVolumes/TestMixingVolumes.csv","/var/lib/jenkins/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