Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002431/0.00243, allocations: 182.5 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.141/2.141, allocations: 205.4 MB / 222.5 MB, free: 9.109 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001161/0.001161, allocations: 99.33 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5213/0.5213, allocations: 43.55 MB / 362.7 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004731/0.0004733, allocations: 12 kB / 431.4 MB, free: 6.164 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1289, allocations: 58.85 MB / 490.2 MB, free: 11.22 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.3433/0.4723, allocations: 15.1 MB / 0.4935 GB, free: 34.89 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01157/0.4839, allocations: 6.067 MB / 0.4994 GB, free: 34.54 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001208/0.4852, allocations: 26.47 kB / 0.4994 GB, free: 34.53 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001515/0.4867, allocations: 316.7 kB / 0.4997 GB, free: 34.46 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002459/0.4892, allocations: 0.5326 MB / 0.5003 GB, free: 34.42 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004908/0.4942, allocations: 1.06 MB / 0.5013 GB, free: 34.32 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003171/0.4974, allocations: 1.442 MB / 0.5027 GB, free: 33.89 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001252/0.4987, allocations: 0.5556 MB / 0.5032 GB, free: 33.73 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002525/0.5012, allocations: 0.7885 MB / 0.504 GB, free: 33.44 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001404/0.5027, allocations: 491.4 kB / 0.5045 GB, free: 33.28 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002973/0.503, allocations: 48.56 kB / 0.5045 GB, free: 33.28 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002056/0.5051, allocations: 364.7 kB / 0.5049 GB, free: 33.22 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006682/0.5058, allocations: 306.2 kB / 0.5052 GB, free: 33.12 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004791/0.5063, allocations: 210.3 kB / 0.5054 GB, free: 33.01 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002599/0.5089, allocations: 1.058 MB / 0.5064 GB, free: 32.84 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.509, allocations: 0 / 0.5064 GB, free: 32.84 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.509, allocations: 0 / 0.5064 GB, free: 32.84 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.485e-05/0.509, allocations: 0 / 0.5064 GB, free: 32.84 MB / 378.7 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.003492/0.5125, allocations: 1.112 MB / 0.5075 GB, free: 32.12 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/0.5126, allocations: 8.656 kB / 0.5075 GB, free: 32.12 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000951/0.5136, allocations: 118 kB / 0.5076 GB, free: 32.08 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001545/0.5151, allocations: 0.5764 MB / 0.5082 GB, free: 31.71 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002188/0.5154, allocations: 253.8 kB / 0.5084 GB, free: 31.48 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002123/0.5156, allocations: 78.56 kB / 0.5085 GB, free: 31.46 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003164/0.5188, allocations: 1.289 MB / 0.5097 GB, free: 30.73 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.552e-05/0.5189, allocations: 6.953 kB / 0.5098 GB, free: 30.73 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001839/0.5191, allocations: 41.25 kB / 0.5098 GB, free: 30.7 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.745e-05/0.5192, allocations: 37.7 kB / 0.5098 GB, free: 30.69 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002662/0.5218, allocations: 0.9668 MB / 0.5108 GB, free: 30.37 MB / 378.7 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.009379/0.5313, allocations: 7.078 MB / 0.5177 GB, free: 24.46 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007871/0.5321, allocations: 316.5 kB / 0.518 GB, free: 24.34 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003083/0.5352, allocations: 2.826 MB / 0.5207 GB, free: 21.4 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.5353, allocations: 42.11 kB / 0.5208 GB, free: 21.35 MB / 378.7 MB Notification: Performance of pre-optimization done (n=28): time 3.176e-06/0.5353, allocations: 0 / 0.5208 GB, free: 21.35 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.003452/0.5388, allocations: 1.113 MB / 0.5219 GB, free: 20.71 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.301e-05/0.5388, allocations: 57.59 kB / 0.5219 GB, free: 20.65 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001343/0.5402, allocations: 0.8635 MB / 0.5228 GB, free: 20.29 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.418e-05/0.5403, allocations: 33.17 kB / 0.5228 GB, free: 20.25 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004126/0.5407, allocations: 0.5993 MB / 0.5234 GB, free: 19.74 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001354/0.5409, allocations: 144.3 kB / 0.5235 GB, free: 19.64 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.77e-05/0.5409, allocations: 23.22 kB / 0.5235 GB, free: 19.62 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.5411, allocations: 360.4 kB / 0.5239 GB, free: 19.29 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006278/0.5417, allocations: 240.5 kB / 0.5241 GB, free: 19.21 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009303/0.5426, allocations: 0.9576 MB / 0.5251 GB, free: 18.14 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009399/0.5436, allocations: 443.8 kB / 0.5255 GB, free: 17.96 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.616e-05/0.5436, allocations: 6.531 kB / 0.5255 GB, free: 17.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002579/0.5462, allocations: 1.157 MB / 0.5266 GB, free: 17.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.823e-05/0.5463, allocations: 23.98 kB / 0.5266 GB, free: 17.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.33e-05/0.5463, allocations: 25.69 kB / 0.5267 GB, free: 17.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.496e-05/0.5464, allocations: 39.42 kB / 0.5267 GB, free: 17.49 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001408/0.5478, allocations: 280.4 kB / 0.527 GB, free: 17.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.777e-05/0.5479, allocations: 50.53 kB / 0.527 GB, free: 17.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001232/0.5491, allocations: 72.78 kB / 0.5271 GB, free: 17.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001352/0.5493, allocations: 78.38 kB / 0.5272 GB, free: 17.4 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005892/0.5499, allocations: 326.6 kB / 0.5275 GB, free: 17.18 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001835/0.5501, allocations: 89.03 kB / 0.5276 GB, free: 17.13 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001264/0.5514, allocations: 488.1 kB / 0.528 GB, free: 16.92 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.261e-05/0.5514, allocations: 6.484 kB / 0.528 GB, free: 16.92 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.5514, allocations: 3.953 kB / 0.528 GB, free: 16.91 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.5514, allocations: 0 / 0.528 GB, free: 16.91 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002369/0.5538, allocations: 1.246 MB / 0.5292 GB, free: 16.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.151e-06/0.5538, allocations: 0 / 0.5292 GB, free: 16.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005342/0.5544, allocations: 69.06 kB / 0.5293 GB, free: 16.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.578e-06/0.5544, allocations: 3.344 kB / 0.5293 GB, free: 16.09 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.431e-05/0.5545, allocations: 14.41 kB / 0.5293 GB, free: 16.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.982e-06/0.5545, allocations: 6.906 kB / 0.5293 GB, free: 16.08 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.5545, allocations: 4.812 kB / 0.5293 GB, free: 16.08 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001365/0.5559, allocations: 0.7156 MB / 0.53 GB, free: 15.59 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004559/0.5563, allocations: 209.5 kB / 0.5302 GB, free: 15.42 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001702/0.5565, allocations: 10.88 kB / 0.5302 GB, free: 15.42 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000763/0.5573, allocations: 26.56 kB / 0.5303 GB, free: 15.41 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.772e-05/0.5574, allocations: 24.02 kB / 0.5303 GB, free: 15.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.726e-05/0.5575, allocations: 23.17 kB / 0.5303 GB, free: 15.4 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001019/0.5585, allocations: 0.5819 MB / 0.5309 GB, free: 15.15 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5585, allocations: 0 / 0.5309 GB, free: 15.15 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001646/0.5602, allocations: 302.5 kB / 0.5312 GB, free: 15.09 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008278/0.561, allocations: 308.8 kB / 0.5315 GB, free: 14.95 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001552/0.5626, allocations: 0.6355 MB / 0.5321 GB, free: 14.73 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.5626, allocations: 384 / 0.5321 GB, free: 14.73 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003538/0.563, allocations: 147.6 kB / 0.5322 GB, free: 14.68 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002981/0.566, allocations: 388.5 kB / 0.5326 GB, free: 14.57 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003259/0.5693, allocations: 1.786 MB / 0.5343 GB, free: 13.52 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005495/0.5699, allocations: 1.015 MB / 0.5353 GB, free: 12.78 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003481/0.5702, allocations: 85.28 kB / 0.5354 GB, free: 12.77 MB / 378.7 MB Notification: Performance of SimCode: time 1.172e-06/0.5703, allocations: 0 / 0.5354 GB, free: 12.77 MB / 378.7 MB Notification: Performance of Templates: time 0.03506/0.6053, allocations: 14.42 MB / 0.5495 GB, free: 8.609 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches