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: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 103 kB / 16.02 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 181 kB / 16.92 MB, free: 6.918 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.473/1.473, allocations: 205.4 MB / 223.1 MB, free: 5.789 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3397/0.3397, allocations: 43.58 MB / 315 MB, free: 8.75 MB / 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.0005154/0.0005152, allocations: 16 kB / 384.7 MB, free: 7.555 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1257, allocations: 58.85 MB / 443.5 MB, free: 12.6 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.2697/0.3954, allocations: 17.55 MB / 461.1 MB, free: 36.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007139/0.4026, allocations: 7.03 MB / 468.1 MB, free: 36.1 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006611/0.4033, allocations: 29.81 kB / 468.1 MB, free: 36.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008161/0.4042, allocations: 328.3 kB / 468.5 MB, free: 35.96 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001168/0.4053, allocations: 0.648 MB / 469.1 MB, free: 35.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002846/0.4082, allocations: 1.204 MB / 470.3 MB, free: 35.37 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002885/0.4111, allocations: 3.578 MB / 473.9 MB, free: 34.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000885/0.412, allocations: 0.5884 MB / 474.5 MB, free: 34.85 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001622/0.4136, allocations: 0.9131 MB / 475.4 MB, free: 34.61 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001092/0.4147, allocations: 0.7782 MB / 476.2 MB, free: 34.42 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001237/0.4149, allocations: 50.28 kB / 476.2 MB, free: 34.41 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001319/0.4162, allocations: 0.5385 MB / 476.8 MB, free: 34.33 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002847/0.4165, allocations: 336.5 kB / 477.1 MB, free: 34.28 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004649/0.4169, allocations: 0.5038 MB / 477.6 MB, free: 34.11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001389/0.4183, allocations: 1.483 MB / 479.1 MB, free: 33.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.4184, allocations: 0 / 479.1 MB, free: 33.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.4184, allocations: 0 / 479.1 MB, free: 33.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.075e-05/0.4184, allocations: 0 / 479.1 MB, free: 33.84 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.002161/0.4206, allocations: 1.098 MB / 480.2 MB, free: 33.12 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.489e-05/0.4206, allocations: 9.062 kB / 480.2 MB, free: 33.12 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000185/0.4208, allocations: 145.6 kB / 480.3 MB, free: 33.03 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004563/0.4213, allocations: 121.2 kB / 480.4 MB, free: 32.98 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009122/0.4222, allocations: 0.5843 MB / 481 MB, free: 32.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002008/0.4224, allocations: 252.7 kB / 481.3 MB, free: 32.37 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001332/0.4225, allocations: 88.14 kB / 481.4 MB, free: 32.33 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001627/0.4242, allocations: 1.305 MB / 482.7 MB, free: 31.6 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.906e-05/0.4242, allocations: 11.12 kB / 482.7 MB, free: 31.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.371e-05/0.4243, allocations: 36.84 kB / 482.7 MB, free: 31.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.766e-05/0.4244, allocations: 37.62 kB / 482.8 MB, free: 31.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00129/0.4257, allocations: 0.9683 MB / 483.7 MB, free: 31.24 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.00537/0.4311, allocations: 7.096 MB / 490.8 MB, free: 25.28 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004475/0.4315, allocations: 315 kB / 491.1 MB, free: 25.16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002423/0.4318, allocations: 173.7 kB / 491.3 MB, free: 25.1 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002047/0.4338, allocations: 2.821 MB / 494.1 MB, free: 22.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.4339, allocations: 42.47 kB / 494.2 MB, free: 22.11 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.944e-06/0.4339, allocations: 0 / 494.2 MB, free: 22.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.002021/0.4359, allocations: 1.113 MB / 495.3 MB, free: 21.47 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.052e-05/0.436, allocations: 54.41 kB / 495.3 MB, free: 21.41 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009442/0.4369, allocations: 0.8711 MB / 496.2 MB, free: 21.04 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.488e-05/0.437, allocations: 32.7 kB / 496.2 MB, free: 21.01 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002927/0.4373, allocations: 0.5727 MB / 496.8 MB, free: 20.54 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.296e-05/0.4373, allocations: 138.9 kB / 496.9 MB, free: 20.43 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.4375, allocations: 106.1 kB / 497 MB, free: 20.38 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.4376, allocations: 398.9 kB / 497.4 MB, free: 20.03 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004178/0.438, allocations: 246.8 kB / 497.7 MB, free: 19.96 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007511/0.4388, allocations: 0.9679 MB / 498.6 MB, free: 18.88 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001327/0.4401, allocations: 1.321 MB / 500 MB, free: 17.59 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.548e-05/0.4401, allocations: 8.312 kB / 500 MB, free: 17.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001801/0.4419, allocations: 1.21 MB / 0.4894 GB, free: 17.11 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.287e-05/0.442, allocations: 17.11 kB / 0.4894 GB, free: 17.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3e-05/0.442, allocations: 25.53 kB / 0.4895 GB, free: 17.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.771e-05/0.4421, allocations: 39.03 kB / 0.4895 GB, free: 17.1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007874/0.4429, allocations: 272.8 kB / 0.4898 GB, free: 17.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.556e-05/0.4429, allocations: 51.91 kB / 0.4898 GB, free: 17.06 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006881/0.4436, allocations: 68.84 kB / 0.4899 GB, free: 17.03 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.463e-05/0.4437, allocations: 77.3 kB / 0.49 GB, free: 17.02 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.0004051/0.4441, allocations: 333.4 kB / 0.4903 GB, free: 16.79 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001184/0.4443, allocations: 88.22 kB / 0.4904 GB, free: 16.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000877/0.4451, allocations: 473.8 kB / 0.4908 GB, free: 16.54 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.537e-05/0.4452, allocations: 3.594 kB / 0.4908 GB, free: 16.54 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/0.4452, allocations: 0.7031 kB / 0.4908 GB, free: 16.54 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.848e-06/0.4452, allocations: 1.312 kB / 0.4908 GB, free: 16.54 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001636/0.4468, allocations: 1.244 MB / 0.492 GB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.4469, allocations: 2.375 kB / 0.492 GB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002795/0.4471, allocations: 73.84 kB / 0.4921 GB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.4472, allocations: 8 kB / 0.4921 GB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.114e-05/0.4472, allocations: 9.125 kB / 0.4921 GB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.101e-06/0.4472, allocations: 4.422 kB / 0.4921 GB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.4472, allocations: 11.09 kB / 0.4921 GB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008624/0.4481, allocations: 0.6453 MB / 0.4928 GB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002596/0.4483, allocations: 215.3 kB / 0.493 GB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.397e-05/0.4484, allocations: 11.92 kB / 0.493 GB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004038/0.4489, allocations: 24 kB / 0.493 GB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.66e-05/0.4489, allocations: 26.38 kB / 0.493 GB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.333e-05/0.449, allocations: 29.98 kB / 0.4931 GB, free: 15.11 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007726/0.4497, allocations: 0.5942 MB / 0.4936 GB, free: 14.86 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4498, allocations: 3.938 kB / 0.4936 GB, free: 14.85 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0013/0.4511, allocations: 297.6 kB / 0.4939 GB, free: 14.8 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.001662/0.4527, allocations: 1.423 MB / 0.4953 GB, free: 13.81 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001087/0.4538, allocations: 0.6329 MB / 0.4959 GB, free: 13.61 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.4538, allocations: 3.25 kB / 0.4959 GB, free: 13.61 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002137/0.4541, allocations: 140.4 kB / 0.4961 GB, free: 13.56 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002096/0.4562, allocations: 402.7 kB / 0.4965 GB, free: 13.46 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01052/0.4667, allocations: 8.765 MB / 0.505 GB, free: 7.199 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006005/0.4673, allocations: 1.001 MB / 0.506 GB, free: 6.461 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001255/0.4686, allocations: 312.6 kB / 0.5063 GB, free: 6.406 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003245/0.4689, allocations: 302.3 kB / 0.5066 GB, free: 6.195 MB / 382.1 MB Notification: Performance of SimCode: time 1.022e-06/0.4689, allocations: 0 / 0.5066 GB, free: 6.195 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04799/0.5169, allocations: 23.49 MB / 0.5295 GB, free: 5.434 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001926/0.5172, allocations: 275.6 kB / 0.5298 GB, free: 5.156 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.33/2.847, allocations: 0 / 0.5298 GB, free: 5.156 MB / 398.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes.fmu > 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/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_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches