Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001722/0.001722, allocations: 113.4 kB / 17.99 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001928/0.001928, allocations: 205.8 kB / 18.92 MB, free: 4.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.463/1.463, allocations: 227.4 MB / 247.1 MB, free: 9.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2359/0.2359, allocations: 46.12 MB / 344.5 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002177/0.002177, allocations: 83.08 kB / 417.8 MB, free: 20.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1271, allocations: 62.45 MB / 480.2 MB, free: 5.547 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.02226/0.1494, allocations: 18.22 MB / 498.4 MB, free: 3.25 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01052/0.16, allocations: 7.059 MB / 0.4937 GB, free: 12.17 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001246/0.1612, allocations: 23.81 kB / 0.4937 GB, free: 12.15 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001246/0.1626, allocations: 342.2 kB / 0.494 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001905/0.1645, allocations: 0.6336 MB / 0.4946 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003811/0.1683, allocations: 1.237 MB / 0.4958 GB, free: 9.949 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003443/0.1718, allocations: 2.521 MB / 0.4983 GB, free: 7.422 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001234/0.173, allocations: 0.676 MB / 0.499 GB, free: 6.734 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002237/0.1753, allocations: 1.032 MB / 0.5 GB, free: 5.699 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00144/0.1767, allocations: 0.8058 MB / 0.5007 GB, free: 4.891 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001914/0.1769, allocations: 88 kB / 0.5008 GB, free: 4.805 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00147/0.1784, allocations: 0.5694 MB / 0.5014 GB, free: 4.234 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004217/0.1788, allocations: 391 kB / 0.5018 GB, free: 3.852 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006902/0.1795, allocations: 0.5134 MB / 0.5023 GB, free: 3.336 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001678/0.1812, allocations: 1.189 MB / 0.5034 GB, free: 2.145 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1812, allocations: 0 / 0.5034 GB, free: 2.145 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1813, allocations: 0 / 0.5034 GB, free: 2.145 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.144e-05/0.1813, allocations: 0 / 0.5034 GB, free: 2.145 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.002708/0.184, allocations: 1.294 MB / 0.5047 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.1841, allocations: 11.97 kB / 0.5047 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00051/0.1846, allocations: 115.9 kB / 0.5048 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009616/0.1855, allocations: 0.595 MB / 0.5054 GB, free: 40 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.2444/0.4299, allocations: 246.3 kB / 0.5056 GB, free: 43.69 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000365/0.4304, allocations: 79.81 kB / 0.5057 GB, free: 43.69 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002565/0.4329, allocations: 1.307 MB / 0.507 GB, free: 43.31 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.587e-05/0.433, allocations: 9.125 kB / 0.507 GB, free: 43.3 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001177/0.4331, allocations: 39.62 kB / 0.507 GB, free: 43.3 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.485e-05/0.4332, allocations: 38.34 kB / 0.5071 GB, free: 43.3 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001907/0.4351, allocations: 0.9713 MB / 0.508 GB, free: 42.99 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.006973/0.4421, allocations: 7.077 MB / 0.5149 GB, free: 37.17 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007691/0.4429, allocations: 313.8 kB / 0.5152 GB, free: 37.05 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003701/0.4433, allocations: 170.8 kB / 0.5154 GB, free: 36.99 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00285/0.4461, allocations: 2.824 MB / 0.5181 GB, free: 34.06 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/0.4462, allocations: 46 kB / 0.5182 GB, free: 34.02 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 2.695e-06/0.4462, allocations: 0 / 0.5182 GB, free: 34.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.00246/0.4487, allocations: 1.1 MB / 0.5193 GB, free: 33.39 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.247e-05/0.4487, allocations: 58.09 kB / 0.5193 GB, free: 33.32 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0012/0.4499, allocations: 0.8731 MB / 0.5202 GB, free: 32.95 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.974e-05/0.45, allocations: 37.2 kB / 0.5202 GB, free: 32.91 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003254/0.4503, allocations: 0.5696 MB / 0.5208 GB, free: 32.46 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/0.4504, allocations: 138.6 kB / 0.5209 GB, free: 32.36 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002838/0.4507, allocations: 238.1 kB / 0.5211 GB, free: 32.24 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.4509, allocations: 395.5 kB / 0.5215 GB, free: 31.89 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004476/0.4513, allocations: 247 kB / 0.5217 GB, free: 31.82 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007646/0.4521, allocations: 0.9634 MB / 0.5227 GB, free: 30.77 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001228/0.4533, allocations: 1.318 MB / 0.524 GB, free: 29.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.517e-05/0.4534, allocations: 7.938 kB / 0.524 GB, free: 29.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002/0.4554, allocations: 1.207 MB / 0.5251 GB, free: 29.01 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.827e-05/0.4554, allocations: 20.09 kB / 0.5252 GB, free: 29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.301e-05/0.4555, allocations: 30.94 kB / 0.5252 GB, free: 29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.843e-05/0.4556, allocations: 35.42 kB / 0.5252 GB, free: 29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008167/0.4564, allocations: 282.2 kB / 0.5255 GB, free: 28.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.145e-05/0.4564, allocations: 52.77 kB / 0.5255 GB, free: 28.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000779/0.4572, allocations: 70 kB / 0.5256 GB, free: 28.92 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001014/0.4573, allocations: 75.05 kB / 0.5257 GB, free: 28.91 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.0004388/0.4578, allocations: 331 kB / 0.526 GB, free: 28.69 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001565/0.458, allocations: 87.34 kB / 0.5261 GB, free: 28.64 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009442/0.4589, allocations: 485.5 kB / 0.5265 GB, free: 28.44 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-05/0.4589, allocations: 7.688 kB / 0.5266 GB, free: 28.43 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.4589, allocations: 7.406 kB / 0.5266 GB, free: 28.43 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.896e-06/0.459, allocations: 5.578 kB / 0.5266 GB, free: 28.43 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001843/0.4608, allocations: 1.248 MB / 0.5278 GB, free: 27.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.4608, allocations: 1.25 kB / 0.5278 GB, free: 27.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000294/0.4611, allocations: 67.7 kB / 0.5279 GB, free: 27.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-06/0.4611, allocations: 2.688 kB / 0.5279 GB, free: 27.61 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.443e-05/0.4612, allocations: 13.33 kB / 0.5279 GB, free: 27.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.961e-06/0.4612, allocations: 4.844 kB / 0.5279 GB, free: 27.6 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.165e-06/0.4612, allocations: 5.062 kB / 0.5279 GB, free: 27.59 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008637/0.4621, allocations: 0.6444 MB / 0.5285 GB, free: 27.21 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002505/0.4623, allocations: 197.2 kB / 0.5287 GB, free: 27.05 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/0.4624, allocations: 12.83 kB / 0.5287 GB, free: 27.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000414/0.4629, allocations: 23.92 kB / 0.5287 GB, free: 27.04 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.365e-05/0.4629, allocations: 35.7 kB / 0.5288 GB, free: 27.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.648e-05/0.463, allocations: 24.5 kB / 0.5288 GB, free: 27.02 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007952/0.4638, allocations: 0.5946 MB / 0.5294 GB, free: 26.77 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4638, allocations: 0 / 0.5294 GB, free: 26.77 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001304/0.4651, allocations: 299 kB / 0.5297 GB, free: 26.73 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.0007177/0.4658, allocations: 317.5 kB / 0.53 GB, free: 26.6 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001255/0.4671, allocations: 0.6677 MB / 0.5306 GB, free: 26.39 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.4671, allocations: 2.406 kB / 0.5306 GB, free: 26.39 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000249/0.4674, allocations: 140.5 kB / 0.5307 GB, free: 26.34 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001878/0.4693, allocations: 432.5 kB / 0.5312 GB, free: 26.23 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002261/0.4715, allocations: 1.806 MB / 0.5329 GB, free: 25.11 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003932/0.4719, allocations: 0.9995 MB / 0.5339 GB, free: 24.26 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002101/0.4722, allocations: 80.39 kB / 0.534 GB, free: 24.25 MB / 382.1 MB Notification: Performance of SimCode: time 6.81e-07/0.4722, allocations: 0 / 0.534 GB, free: 24.25 MB / 382.1 MB Notification: Performance of Templates: time 0.02128/0.4934, allocations: 14.72 MB / 0.5483 GB, free: 12.07 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches