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.001159/0.001159, allocations: 108.2 kB / 16.41 MB, free: 6.492 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.001147/0.001147, allocations: 188.1 kB / 17.34 MB, free: 5.766 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.28/1.28, allocations: 205.1 MB / 223.2 MB, free: 12.1 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.2001/0.2001, allocations: 43.53 MB / 314.1 MB, free: 440 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.001432/0.001433, allocations: 67.91 kB / 441.8 MB, free: 5.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1065, allocations: 57.79 MB / 499.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01896/0.1254, allocations: 17.61 MB / 0.5051 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00862/0.1341, allocations: 7.007 MB / 0.5119 GB, free: 3.066 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007414/0.1349, allocations: 23.88 kB / 0.5119 GB, free: 3.043 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001151/0.1361, allocations: 381.6 kB / 0.5123 GB, free: 2.668 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001666/0.1378, allocations: 0.6839 MB / 0.513 GB, free: 1.98 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003333/0.1411, allocations: 1.332 MB / 0.5143 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002764/0.1439, allocations: 2.506 MB / 0.5167 GB, free: 14.13 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009956/0.1449, allocations: 0.6779 MB / 0.5174 GB, free: 13.44 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001796/0.1467, allocations: 1.04 MB / 0.5184 GB, free: 12.39 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001166/0.1479, allocations: 0.7512 MB / 0.5191 GB, free: 11.64 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002144/0.1481, allocations: 92 kB / 0.5192 GB, free: 11.55 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001252/0.1494, allocations: 0.5266 MB / 0.5197 GB, free: 11.02 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004294/0.1498, allocations: 383 kB / 0.5201 GB, free: 10.65 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007127/0.1505, allocations: 0.5134 MB / 0.5206 GB, free: 10.13 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001989/0.1525, allocations: 1.539 MB / 0.5221 GB, free: 8.59 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1525, allocations: 0 / 0.5221 GB, free: 8.59 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1526, allocations: 0 / 0.5221 GB, free: 8.59 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.115e-05/0.1526, allocations: 0 / 0.5221 GB, free: 8.59 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.002549/0.1551, allocations: 1.279 MB / 0.5234 GB, free: 7.258 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.1552, allocations: 12.03 kB / 0.5234 GB, free: 7.246 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005002/0.1557, allocations: 119.8 kB / 0.5235 GB, free: 7.129 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00102/0.1567, allocations: 0.6222 MB / 0.5241 GB, free: 6.469 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001804/0.1569, allocations: 252.8 kB / 0.5243 GB, free: 6.188 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001311/0.1571, allocations: 80.38 kB / 0.5244 GB, free: 6.109 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001889/0.1589, allocations: 1.305 MB / 0.5257 GB, free: 4.668 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.782e-05/0.159, allocations: 3.938 kB / 0.5257 GB, free: 4.664 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001084/0.1591, allocations: 40 kB / 0.5257 GB, free: 4.625 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.039e-05/0.1592, allocations: 41.3 kB / 0.5258 GB, free: 4.586 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001622/0.1608, allocations: 0.9649 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.2095/0.3703, allocations: 7.074 MB / 0.5336 GB, free: 37.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004997/0.3709, allocations: 318.2 kB / 0.5339 GB, free: 37.65 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002293/0.3711, allocations: 173.8 kB / 0.5341 GB, free: 37.64 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001839/0.3729, allocations: 2.819 MB / 0.5368 GB, free: 34.92 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/0.373, allocations: 41.72 kB / 0.5369 GB, free: 34.88 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 2.204e-06/0.373, allocations: 0 / 0.5369 GB, free: 34.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.001975/0.375, allocations: 1.108 MB / 0.538 GB, free: 34.46 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.251e-05/0.375, allocations: 59.77 kB / 0.538 GB, free: 34.4 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009648/0.376, allocations: 0.8743 MB / 0.5389 GB, free: 34.24 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.623e-05/0.376, allocations: 34.77 kB / 0.5389 GB, free: 34.21 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000301/0.3763, allocations: 0.5648 MB / 0.5395 GB, free: 33.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.066e-05/0.3764, allocations: 139.5 kB / 0.5396 GB, free: 33.79 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002662/0.3767, allocations: 239.7 kB / 0.5398 GB, free: 33.75 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.3769, allocations: 399.7 kB / 0.5402 GB, free: 33.44 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000411/0.3773, allocations: 251.8 kB / 0.5404 GB, free: 33.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006625/0.3779, allocations: 0.9599 MB / 0.5414 GB, free: 32.51 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001038/0.379, allocations: 1.318 MB / 0.5427 GB, free: 31.51 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.225e-05/0.379, allocations: 8.656 kB / 0.5427 GB, free: 31.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.00169/0.3807, allocations: 1.211 MB / 0.5439 GB, free: 31.07 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/0.3807, allocations: 14.25 kB / 0.5439 GB, free: 31.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.669e-05/0.3808, allocations: 27.25 kB / 0.5439 GB, free: 31.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.484e-05/0.3808, allocations: 38.12 kB / 0.5439 GB, free: 31.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009321/0.3818, allocations: 278.1 kB / 0.5442 GB, free: 31.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.673e-05/0.3818, allocations: 50.66 kB / 0.5442 GB, free: 31.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006902/0.3825, allocations: 60.19 kB / 0.5443 GB, free: 31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.333e-05/0.3826, allocations: 76.47 kB / 0.5444 GB, free: 30.98 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.000393/0.383, allocations: 330.1 kB / 0.5447 GB, free: 30.76 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001363/0.3832, allocations: 87.44 kB / 0.5448 GB, free: 30.71 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008144/0.384, allocations: 476.4 kB / 0.5452 GB, free: 30.51 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/0.384, allocations: 4.5 kB / 0.5452 GB, free: 30.51 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.384, allocations: 0 / 0.5452 GB, free: 30.51 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.384, allocations: 2.812 kB / 0.5452 GB, free: 30.51 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001669/0.3857, allocations: 1.25 MB / 0.5465 GB, free: 29.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.3857, allocations: 1.469 kB / 0.5465 GB, free: 29.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002779/0.386, allocations: 70.36 kB / 0.5465 GB, free: 29.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.386, allocations: 2.969 kB / 0.5465 GB, free: 29.69 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.351e-05/0.386, allocations: 11.05 kB / 0.5465 GB, free: 29.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.386, allocations: 3.406 kB / 0.5465 GB, free: 29.68 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.3861, allocations: 1.438 kB / 0.5465 GB, free: 29.68 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008253/0.3869, allocations: 0.6543 MB / 0.5472 GB, free: 29.29 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002329/0.3871, allocations: 200.2 kB / 0.5474 GB, free: 29.13 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/0.3872, allocations: 13.84 kB / 0.5474 GB, free: 29.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004333/0.3877, allocations: 20.09 kB / 0.5474 GB, free: 29.11 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.411e-05/0.3877, allocations: 27.52 kB / 0.5474 GB, free: 29.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.894e-05/0.3878, allocations: 26.61 kB / 0.5475 GB, free: 29.1 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007442/0.3885, allocations: 0.5922 MB / 0.548 GB, free: 28.85 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3885, allocations: 0 / 0.548 GB, free: 28.85 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001414/0.39, allocations: 293.8 kB / 0.5483 GB, free: 28.82 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.0008266/0.3908, allocations: 337.8 kB / 0.5486 GB, free: 28.68 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001223/0.392, allocations: 0.6313 MB / 0.5493 GB, free: 28.48 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.3921, allocations: 6.344 kB / 0.5493 GB, free: 28.47 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002296/0.3923, allocations: 145.2 kB / 0.5494 GB, free: 28.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001843/0.3941, allocations: 419.3 kB / 0.5498 GB, free: 28.3 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002873/0.397, allocations: 1.483 MB / 0.5512 GB, free: 27.51 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006471/0.3977, allocations: 0.9985 MB / 0.5522 GB, free: 26.77 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.00113/0.3988, allocations: 314 kB / 0.5525 GB, free: 26.72 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001625/0.399, allocations: 73.25 kB / 0.5526 GB, free: 26.71 MB / 414.1 MB Notification: Performance of SimCode: time 9.62e-07/0.399, allocations: 0 / 0.5526 GB, free: 26.71 MB / 414.1 MB Notification: Performance of Templates: time 0.02733/0.4263, allocations: 16.16 MB / 0.5684 GB, free: 18.95 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