Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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 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 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_3.2.3_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_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.001067/0.001067, allocations: 109 kB / 16.41 MB, free: 6.508 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.001283/0.001283, allocations: 189.5 kB / 17.34 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.39/1.39, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2606/0.2606, allocations: 43.52 MB / 314.1 MB, free: 460 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 71.89 kB / 441.8 MB, free: 5.648 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1397, allocations: 57.78 MB / 499.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.0234/0.1632, allocations: 17.62 MB / 0.5051 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01135/0.1746, allocations: 7.011 MB / 0.5119 GB, free: 3.066 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001096/0.1757, allocations: 19.88 kB / 0.512 GB, free: 3.047 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001503/0.1773, allocations: 373.6 kB / 0.5123 GB, free: 2.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002445/0.1798, allocations: 0.6683 MB / 0.513 GB, free: 2.008 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00417/0.184, allocations: 1.328 MB / 0.5143 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004047/0.188, allocations: 2.498 MB / 0.5167 GB, free: 14.17 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001538/0.1896, allocations: 0.6779 MB / 0.5174 GB, free: 13.48 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002666/0.1923, allocations: 1.028 MB / 0.5184 GB, free: 12.45 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001775/0.1941, allocations: 0.7551 MB / 0.5191 GB, free: 11.69 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004581/0.1945, allocations: 84 kB / 0.5192 GB, free: 11.61 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002169/0.1967, allocations: 0.5421 MB / 0.5197 GB, free: 11.06 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00067/0.1974, allocations: 371.1 kB / 0.5201 GB, free: 10.7 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001123/0.1985, allocations: 0.5133 MB / 0.5206 GB, free: 10.18 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003516/0.202, allocations: 1.542 MB / 0.5221 GB, free: 8.637 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.2021, allocations: 3.984 kB / 0.5221 GB, free: 8.633 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.2021, allocations: 0 / 0.5221 GB, free: 8.633 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.428e-05/0.2021, allocations: 0 / 0.5221 GB, free: 8.633 MB / 414.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.004256/0.2064, allocations: 1.309 MB / 0.5234 GB, free: 7.27 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.985e-05/0.2065, allocations: 12.03 kB / 0.5234 GB, free: 7.258 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007394/0.2072, allocations: 124.3 kB / 0.5235 GB, free: 7.137 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001329/0.2086, allocations: 0.6265 MB / 0.5241 GB, free: 6.473 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002461/0.2088, allocations: 248.7 kB / 0.5243 GB, free: 6.195 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001417/0.209, allocations: 84.36 kB / 0.5244 GB, free: 6.113 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002208/0.2112, allocations: 1.309 MB / 0.5257 GB, free: 4.668 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.018e-05/0.2112, allocations: 3.938 kB / 0.5257 GB, free: 4.664 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.997e-05/0.2113, allocations: 40 kB / 0.5257 GB, free: 4.625 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.519e-05/0.2114, allocations: 45.23 kB / 0.5258 GB, free: 4.582 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001588/0.213, allocations: 0.9611 MB / 0.5267 GB, free: 3.617 MB / 414.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.3466/0.5596, allocations: 7.074 MB / 0.5336 GB, free: 37.61 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006825/0.5603, allocations: 319.9 kB / 0.5339 GB, free: 37.58 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002908/0.5606, allocations: 171.2 kB / 0.5341 GB, free: 37.57 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002531/0.5631, allocations: 2.82 MB / 0.5368 GB, free: 34.86 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.5632, allocations: 38.17 kB / 0.5369 GB, free: 34.82 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 2.094e-06/0.5632, allocations: 3.719 kB / 0.5369 GB, free: 34.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.002495/0.5657, allocations: 1.12 MB / 0.538 GB, free: 34.41 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.314e-05/0.5658, allocations: 59.08 kB / 0.538 GB, free: 34.34 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00137/0.5671, allocations: 0.8782 MB / 0.5389 GB, free: 34.2 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.181e-05/0.5672, allocations: 35.95 kB / 0.5389 GB, free: 34.16 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004278/0.5676, allocations: 0.5906 MB / 0.5395 GB, free: 33.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000137/0.5678, allocations: 139.7 kB / 0.5396 GB, free: 33.78 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003619/0.5681, allocations: 250.9 kB / 0.5399 GB, free: 33.74 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001894/0.5683, allocations: 400 kB / 0.5403 GB, free: 33.42 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000491/0.5688, allocations: 246 kB / 0.5405 GB, free: 33.42 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009817/0.5698, allocations: 0.9621 MB / 0.5414 GB, free: 32.49 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001419/0.5712, allocations: 1.32 MB / 0.5427 GB, free: 31.5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.495e-05/0.5713, allocations: 7.938 kB / 0.5427 GB, free: 31.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001866/0.5731, allocations: 1.215 MB / 0.5439 GB, free: 31.03 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.512e-05/0.5732, allocations: 16.56 kB / 0.5439 GB, free: 31.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.662e-05/0.5732, allocations: 26.34 kB / 0.544 GB, free: 31.03 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.95e-05/0.5733, allocations: 33.66 kB / 0.544 GB, free: 31.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008075/0.5741, allocations: 279.7 kB / 0.5443 GB, free: 31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-05/0.5742, allocations: 50.44 kB / 0.5443 GB, free: 30.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007882/0.575, allocations: 50.25 kB / 0.5444 GB, free: 30.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001258/0.5751, allocations: 82.75 kB / 0.5444 GB, free: 30.95 MB / 414.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.0004657/0.5756, allocations: 334.3 kB / 0.5447 GB, free: 30.72 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002047/0.5758, allocations: 92.69 kB / 0.5448 GB, free: 30.68 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009103/0.5767, allocations: 479.5 kB / 0.5453 GB, free: 30.46 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.25e-05/0.5767, allocations: 3.656 kB / 0.5453 GB, free: 30.46 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.5767, allocations: 0 / 0.5453 GB, free: 30.46 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.5768, allocations: 1.828 kB / 0.5453 GB, free: 30.46 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001745/0.5785, allocations: 1.24 MB / 0.5465 GB, free: 29.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.5785, allocations: 1.5 kB / 0.5465 GB, free: 29.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002858/0.5788, allocations: 71.8 kB / 0.5466 GB, free: 29.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.776e-06/0.5788, allocations: 7.047 kB / 0.5466 GB, free: 29.65 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.632e-05/0.5789, allocations: 7.656 kB / 0.5466 GB, free: 29.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.55e-06/0.5789, allocations: 6.281 kB / 0.5466 GB, free: 29.64 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.5789, allocations: 2.219 kB / 0.5466 GB, free: 29.64 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009033/0.5798, allocations: 0.6549 MB / 0.5472 GB, free: 29.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002468/0.5801, allocations: 201 kB / 0.5474 GB, free: 29.08 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/0.5802, allocations: 16.69 kB / 0.5475 GB, free: 29.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003978/0.5806, allocations: 21.06 kB / 0.5475 GB, free: 29.06 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.883e-05/0.5806, allocations: 22.73 kB / 0.5475 GB, free: 29.06 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.085e-05/0.5807, allocations: 26.19 kB / 0.5475 GB, free: 29.05 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008854/0.5816, allocations: 0.5938 MB / 0.5481 GB, free: 28.8 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5816, allocations: 0.5312 kB / 0.5481 GB, free: 28.8 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001834/0.5834, allocations: 295.9 kB / 0.5484 GB, free: 28.75 MB / 414.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.001122/0.5846, allocations: 341.8 kB / 0.5487 GB, free: 28.6 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001595/0.5862, allocations: 0.6335 MB / 0.5493 GB, free: 28.4 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/0.5862, allocations: 6.938 kB / 0.5493 GB, free: 28.4 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002771/0.5865, allocations: 148.8 kB / 0.5495 GB, free: 28.35 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001924/0.5884, allocations: 427.5 kB / 0.5499 GB, free: 28.22 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002871/0.5913, allocations: 1.498 MB / 0.5513 GB, free: 27.41 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007544/0.5921, allocations: 0.9993 MB / 0.5523 GB, free: 26.68 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001088/0.5932, allocations: 311.3 kB / 0.5526 GB, free: 26.62 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001741/0.5934, allocations: 77.36 kB / 0.5527 GB, free: 26.61 MB / 414.1 MB Notification: Performance of SimCode: time 1.292e-06/0.5934, allocations: 1.125 kB / 0.5527 GB, free: 26.61 MB / 414.1 MB Notification: Performance of Templates: time 0.03013/0.6235, allocations: 16.15 MB / 0.5685 GB, free: 18.88 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Vessels/TestMixingVolumes/TestMixingVolumes.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches