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.001154/0.001154, allocations: 99.28 kB / 16.27 MB, free: 5.953 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.001421/0.001421, allocations: 188.9 kB / 17.19 MB, free: 5.594 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.342/1.342, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.2036/0.2036, allocations: 43.52 MB / 313.9 MB, free: 0.543 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.001519/0.001519, allocations: 64.58 kB / 382.8 MB, free: 56.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08462/0.08615, allocations: 57.79 MB / 440.6 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01764/0.1038, allocations: 17.61 MB / 458.2 MB, free: 5.137 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008602/0.1125, allocations: 7.003 MB / 465.2 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007158/0.1132, allocations: 19.88 kB / 465.3 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001069/0.1143, allocations: 373.6 kB / 465.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001632/0.116, allocations: 0.6722 MB / 466.3 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003171/0.1192, allocations: 1.319 MB / 467.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002592/0.1218, allocations: 2.509 MB / 470.1 MB, free: 9.223 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009876/0.1228, allocations: 0.6779 MB / 470.8 MB, free: 8.527 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001715/0.1245, allocations: 1.028 MB / 471.8 MB, free: 7.496 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00118/0.1257, allocations: 0.7551 MB / 472.6 MB, free: 6.738 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002457/0.126, allocations: 91.94 kB / 472.7 MB, free: 6.648 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001315/0.1273, allocations: 0.5304 MB / 473.2 MB, free: 6.117 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004366/0.1277, allocations: 371.1 kB / 473.6 MB, free: 5.754 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006809/0.1284, allocations: 0.5134 MB / 474.1 MB, free: 5.238 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001853/0.1303, allocations: 1.511 MB / 475.6 MB, free: 3.723 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1303, allocations: 0 / 475.6 MB, free: 3.723 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1303, allocations: 0 / 475.6 MB, free: 3.723 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.745e-05/0.1304, allocations: 0 / 475.6 MB, free: 3.723 MB / 350.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.002665/0.133, allocations: 1.298 MB / 476.9 MB, free: 2.375 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.1331, allocations: 19.89 kB / 476.9 MB, free: 2.355 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001904/0.1333, allocations: 135.2 kB / 477 MB, free: 2.215 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004727/0.1338, allocations: 123.8 kB / 477.2 MB, free: 2.094 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008547/0.1346, allocations: 0.5872 MB / 477.8 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001692/0.1348, allocations: 248.8 kB / 478 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000115/0.1349, allocations: 84.06 kB / 478.1 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00177/0.1367, allocations: 1.305 MB / 479.4 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.729e-05/0.1367, allocations: 7.938 kB / 479.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/0.1368, allocations: 36 kB / 479.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.056e-05/0.1369, allocations: 45.3 kB / 479.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001482/0.1384, allocations: 0.9688 MB / 480.4 MB, free: 14.61 MB / 366.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.00645/0.1449, allocations: 7.101 MB / 487.5 MB, free: 7.043 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005412/0.1454, allocations: 320.1 kB / 487.9 MB, free: 6.723 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002652/0.1457, allocations: 169.4 kB / 488 MB, free: 6.555 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002624/0.1483, allocations: 2.822 MB / 490.8 MB, free: 3.227 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.1484, allocations: 42.73 kB / 490.9 MB, free: 3.176 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 1.703e-06/0.1484, allocations: 0 / 490.9 MB, free: 3.176 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.002238/0.1506, allocations: 1.104 MB / 492 MB, free: 2.02 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.286e-05/0.1507, allocations: 55.41 kB / 492 MB, free: 1.953 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000967/0.1516, allocations: 0.868 MB / 492.9 MB, free: 1.074 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.896e-05/0.1517, allocations: 37.7 kB / 492.9 MB, free: 1.031 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003656/0.1521, allocations: 0.5704 MB / 493.5 MB, free: 464 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001073/0.1522, allocations: 134.3 kB / 493.6 MB, free: 328 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002599/0.1525, allocations: 242.5 kB / 493.9 MB, free: 80 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001743/0.1526, allocations: 402.7 kB / 494.3 MB, free: 15.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003909/0.153, allocations: 246.5 kB / 494.5 MB, free: 15.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008983/0.1539, allocations: 0.9622 MB / 495.5 MB, free: 14.11 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001624/0.1556, allocations: 1.319 MB / 496.8 MB, free: 12.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.755e-05/0.1556, allocations: 8 kB / 496.8 MB, free: 12.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002027/0.1576, allocations: 1.211 MB / 498 MB, free: 11.21 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.81e-05/0.1577, allocations: 19.98 kB / 498 MB, free: 11.19 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.699e-05/0.1577, allocations: 24 kB / 498.1 MB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.06e-05/0.1578, allocations: 39.94 kB / 498.1 MB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007471/0.1586, allocations: 279.5 kB / 498.4 MB, free: 10.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-05/0.1586, allocations: 47.84 kB / 498.4 MB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006845/0.1593, allocations: 52 kB / 498.5 MB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001288/0.1594, allocations: 68 kB / 498.5 MB, free: 10.69 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.0005011/0.1599, allocations: 345.2 kB / 498.9 MB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002354/0.1602, allocations: 86.97 kB / 499 MB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009375/0.1611, allocations: 489.6 kB / 499.4 MB, free: 9.766 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.501e-05/0.1612, allocations: 8 kB / 499.4 MB, free: 9.758 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.1612, allocations: 0 / 499.4 MB, free: 9.758 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.1612, allocations: 0 / 499.4 MB, free: 9.758 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001841/0.163, allocations: 1.239 MB / 0.4889 GB, free: 8.406 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.752e-06/0.163, allocations: 7.938 kB / 0.489 GB, free: 8.398 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002774/0.1633, allocations: 63.91 kB / 0.489 GB, free: 8.336 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.685e-06/0.1633, allocations: 4 kB / 0.489 GB, free: 8.332 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.557e-05/0.1634, allocations: 11.98 kB / 0.489 GB, free: 8.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.1634, allocations: 4 kB / 0.489 GB, free: 8.316 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/0.1634, allocations: 4.188 kB / 0.489 GB, free: 8.312 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008758/0.1643, allocations: 0.6403 MB / 0.4897 GB, free: 7.637 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003008/0.1646, allocations: 215.9 kB / 0.4899 GB, free: 7.406 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001252/0.1647, allocations: 8 kB / 0.4899 GB, free: 7.398 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004328/0.1652, allocations: 15.98 kB / 0.4899 GB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.994e-05/0.1652, allocations: 27.95 kB / 0.4899 GB, free: 7.355 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.085e-05/0.1653, allocations: 23.98 kB / 0.4899 GB, free: 7.332 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007425/0.166, allocations: 0.593 MB / 0.4905 GB, free: 6.727 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.166, allocations: 0 / 0.4905 GB, free: 6.727 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001146/0.1672, allocations: 307.9 kB / 0.4908 GB, free: 6.426 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.001922/0.1691, allocations: 1.408 MB / 0.4922 GB, free: 4.977 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001219/0.1704, allocations: 0.6613 MB / 0.4928 GB, free: 4.32 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/0.1704, allocations: 4 kB / 0.4928 GB, free: 4.316 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002437/0.1706, allocations: 154.2 kB / 0.493 GB, free: 4.168 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001927/0.1726, allocations: 423.1 kB / 0.4934 GB, free: 3.77 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01071/0.1833, allocations: 8.443 MB / 0.5016 GB, free: 10.39 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006443/0.184, allocations: 0.9973 MB / 0.5026 GB, free: 9.363 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.00109/0.1851, allocations: 315 kB / 0.5029 GB, free: 9.055 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003996/0.1855, allocations: 303.3 kB / 0.5032 GB, free: 8.758 MB / 398.1 MB Notification: Performance of SimCode: time 9.42e-07/0.1855, allocations: 0 / 0.5032 GB, free: 8.758 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5244/0.7099, allocations: 24.38 MB / 0.527 GB, free: 380 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.49/10.2, allocations: 19.8 kB / 0.527 GB, free: 360 kB / 414.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","/var/lib/jenkins1/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