Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_4_0_0_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.001533/0.001533, allocations: 109.5 kB / 17.77 MB, free: 5.266 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.00222/0.00222, allocations: 188 kB / 18.71 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 222.9 MB / 242.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2/0.2, allocations: 44.18 MB / 336.8 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 63.89 kB / 470 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.3089, allocations: 60.83 MB / 0.5184 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01839/0.3273, allocations: 17.6 MB / 0.5356 GB, free: 6.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009583/0.337, allocations: 7.004 MB / 0.5424 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001164/0.3382, allocations: 20.56 kB / 0.5425 GB, free: 0.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001125/0.3393, allocations: 377.7 kB / 0.5428 GB, free: 184 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001866/0.3412, allocations: 0.676 MB / 0.5435 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004028/0.3453, allocations: 1.327 MB / 0.5448 GB, free: 14.64 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003524/0.3488, allocations: 2.504 MB / 0.5472 GB, free: 13.22 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001157/0.35, allocations: 0.6761 MB / 0.5479 GB, free: 12.77 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002282/0.3523, allocations: 1.042 MB / 0.5489 GB, free: 12.18 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001598/0.3539, allocations: 0.7492 MB / 0.5496 GB, free: 11.74 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002312/0.3542, allocations: 87.88 kB / 0.5497 GB, free: 11.74 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001542/0.3557, allocations: 0.5336 MB / 0.5502 GB, free: 11.45 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004012/0.3561, allocations: 371 kB / 0.5506 GB, free: 11.09 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006528/0.3568, allocations: 0.5134 MB / 0.5511 GB, free: 10.57 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002107/0.3589, allocations: 1.535 MB / 0.5526 GB, free: 9.035 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3589, allocations: 8 kB / 0.5526 GB, free: 9.027 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3589, allocations: 0 / 0.5526 GB, free: 9.027 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.103e-05/0.359, allocations: 0 / 0.5526 GB, free: 9.027 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.00235/0.3613, allocations: 1.287 MB / 0.5539 GB, free: 7.688 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.3614, allocations: 8.031 kB / 0.5539 GB, free: 7.68 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001619/0.3615, allocations: 147.2 kB / 0.554 GB, free: 7.527 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004452/0.362, allocations: 127.8 kB / 0.5541 GB, free: 7.402 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001134/0.3631, allocations: 0.6184 MB / 0.5547 GB, free: 6.742 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002091/0.3634, allocations: 256.7 kB / 0.555 GB, free: 6.457 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001234/0.3635, allocations: 80.12 kB / 0.5551 GB, free: 6.379 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001832/0.3653, allocations: 1.302 MB / 0.5563 GB, free: 4.941 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.991e-05/0.3654, allocations: 7.938 kB / 0.5563 GB, free: 4.934 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001003/0.3655, allocations: 40 kB / 0.5564 GB, free: 4.895 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.927e-05/0.3655, allocations: 41.3 kB / 0.5564 GB, free: 4.855 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001497/0.367, allocations: 0.9649 MB / 0.5574 GB, free: 3.887 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.006827/0.3739, allocations: 7.082 MB / 0.5643 GB, free: 12.34 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005273/0.3744, allocations: 324.1 kB / 0.5646 GB, free: 12.01 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002599/0.3747, allocations: 172.8 kB / 0.5647 GB, free: 11.84 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002624/0.3773, allocations: 2.826 MB / 0.5675 GB, free: 8.512 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.868e-05/0.3774, allocations: 38.8 kB / 0.5675 GB, free: 8.465 MB / 430.1 MB Notification: Performance of pre-optimization done (n=28): time 2.464e-06/0.3774, allocations: 0 / 0.5675 GB, free: 8.465 MB / 430.1 MB Notification: Performance of matching and sorting (n=34): time 0.002344/0.3797, allocations: 1.101 MB / 0.5686 GB, free: 7.309 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.184e-05/0.3798, allocations: 59.41 kB / 0.5687 GB, free: 7.238 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001037/0.3809, allocations: 0.8757 MB / 0.5695 GB, free: 6.355 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.79e-05/0.3809, allocations: 29.7 kB / 0.5696 GB, free: 6.32 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003832/0.3813, allocations: 0.5666 MB / 0.5701 GB, free: 5.742 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001008/0.3814, allocations: 138.3 kB / 0.5702 GB, free: 5.605 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00026/0.3817, allocations: 242.5 kB / 0.5705 GB, free: 5.363 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.3819, allocations: 398.7 kB / 0.5708 GB, free: 4.965 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003731/0.3822, allocations: 250.4 kB / 0.5711 GB, free: 4.723 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008086/0.3831, allocations: 0.966 MB / 0.572 GB, free: 3.395 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001358/0.3844, allocations: 1.323 MB / 0.5733 GB, free: 1.711 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.171e-05/0.3844, allocations: 8 kB / 0.5733 GB, free: 1.703 MB / 430.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001752/0.3862, allocations: 1.2 MB / 0.5745 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.766e-05/0.3862, allocations: 20.06 kB / 0.5745 GB, free: 488 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.368e-05/0.3863, allocations: 24 kB / 0.5745 GB, free: 464 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.402e-05/0.3863, allocations: 36 kB / 0.5746 GB, free: 428 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007573/0.3871, allocations: 279.4 kB / 0.5748 GB, free: 148 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.039e-05/0.3871, allocations: 47.84 kB / 0.5749 GB, free: 100 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006481/0.3878, allocations: 55.91 kB / 0.5749 GB, free: 44 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001124/0.3879, allocations: 75.98 kB / 0.575 GB, free: 15.96 MB / 446.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.0004376/0.3884, allocations: 337 kB / 0.5753 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001439/0.3885, allocations: 90.91 kB / 0.5754 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008688/0.3894, allocations: 471.4 kB / 0.5759 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.234e-05/0.3894, allocations: 7.984 kB / 0.5759 GB, free: 15.06 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.3894, allocations: 4 kB / 0.5759 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.3894, allocations: 4 kB / 0.5759 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001763/0.3912, allocations: 1.242 MB / 0.5771 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.3912, allocations: 4.125 kB / 0.5771 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002973/0.3915, allocations: 75.91 kB / 0.5772 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.521e-06/0.3915, allocations: 0 / 0.5772 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.68e-05/0.3916, allocations: 15.98 kB / 0.5772 GB, free: 13.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/0.3916, allocations: 0 / 0.5772 GB, free: 13.61 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.3916, allocations: 4 kB / 0.5772 GB, free: 13.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009535/0.3926, allocations: 0.6528 MB / 0.5778 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000323/0.3929, allocations: 195.9 kB / 0.578 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.184e-05/0.393, allocations: 8 kB / 0.578 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003844/0.3934, allocations: 20 kB / 0.578 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.256e-05/0.3934, allocations: 24.03 kB / 0.5781 GB, free: 12.65 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.84e-05/0.3935, allocations: 27.97 kB / 0.5781 GB, free: 12.62 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007181/0.3942, allocations: 0.593 MB / 0.5787 GB, free: 12.02 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.283e-06/0.3942, allocations: 4 kB / 0.5787 GB, free: 12.02 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001135/0.3954, allocations: 299.9 kB / 0.579 GB, free: 11.72 MB / 446.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.001946/0.3973, allocations: 1.425 MB / 0.5804 GB, free: 10.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001117/0.3984, allocations: 0.6416 MB / 0.581 GB, free: 9.629 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.3985, allocations: 0.8125 kB / 0.581 GB, free: 9.629 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002268/0.3987, allocations: 148.1 kB / 0.5811 GB, free: 9.484 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001864/0.4006, allocations: 415.3 kB / 0.5815 GB, free: 9.086 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009958/0.4105, allocations: 7.991 MB / 0.5893 GB, free: 216 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006039/0.4112, allocations: 1.001 MB / 0.5903 GB, free: 15.18 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0009162/0.4121, allocations: 318.8 kB / 0.5906 GB, free: 14.88 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003632/0.4125, allocations: 295.3 kB / 0.5909 GB, free: 14.59 MB / 462.1 MB Notification: Performance of SimCode: time 1.893e-06/0.4125, allocations: 4 kB / 0.5909 GB, free: 14.58 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05117/0.4637, allocations: 24.99 MB / 0.6153 GB, free: 5.84 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.558/10.02, allocations: 7.797 kB / 0.6153 GB, free: 5.832 MB / 478.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Vessels/TestMixingVolumes/TestMixingVolumes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches