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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001778/0.001778, allocations: 101.9 kB / 20.48 MB, free: 1.383 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002278/0.002278, allocations: 213.7 kB / 23.77 MB, free: 4.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.419/1.419, allocations: 207.7 MB / 234.6 MB, free: 9.785 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2167/0.2167, allocations: 44.27 MB / 331.1 MB, free: 9.309 MB / 270.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002187/0.002187, allocations: 64.22 kB / 468.3 MB, free: 4.367 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1139, allocations: 61.05 MB / 0.5169 GB, free: 7.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01913/0.133, allocations: 16.19 MB / 0.5327 GB, free: 6.934 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009297/0.1423, allocations: 6.478 MB / 0.539 GB, free: 448 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007744/0.1431, allocations: 27.75 kB / 0.5391 GB, free: 420 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001074/0.1441, allocations: 369.6 kB / 0.5394 GB, free: 48 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2188/0.363, allocations: 0.6828 MB / 0.5401 GB, free: 9.727 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003172/0.3662, allocations: 1.354 MB / 0.5414 GB, free: 9.707 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003375/0.3695, allocations: 2.542 MB / 0.5439 GB, free: 9.699 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00109/0.3706, allocations: 0.5692 MB / 0.5445 GB, free: 9.668 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00203/0.3727, allocations: 1.062 MB / 0.5455 GB, free: 9.66 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001212/0.3739, allocations: 0.8018 MB / 0.5463 GB, free: 9.566 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001988/0.3741, allocations: 87.19 kB / 0.5464 GB, free: 9.566 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001341/0.3754, allocations: 484.3 kB / 0.5468 GB, free: 9.555 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003945/0.3758, allocations: 381 kB / 0.5472 GB, free: 9.512 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005552/0.3764, allocations: 448.3 kB / 0.5476 GB, free: 9.414 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002128/0.3785, allocations: 1.532 MB / 0.5491 GB, free: 9.223 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3785, allocations: 3.094 kB / 0.5491 GB, free: 9.223 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3785, allocations: 1.812 kB / 0.5491 GB, free: 9.223 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.048e-05/0.3785, allocations: 0 / 0.5491 GB, free: 9.223 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.002469/0.381, allocations: 1.238 MB / 0.5503 GB, free: 8.637 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/0.381, allocations: 10.41 kB / 0.5503 GB, free: 8.637 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.307e-05/0.3811, allocations: 23.77 kB / 0.5504 GB, free: 8.637 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001771/0.3813, allocations: 139.4 kB / 0.5505 GB, free: 8.598 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005021/0.3818, allocations: 128.7 kB / 0.5506 GB, free: 8.547 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000975/0.3827, allocations: 0.5488 MB / 0.5511 GB, free: 8.34 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001785/0.3829, allocations: 407 kB / 0.5515 GB, free: 7.961 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001337/0.383, allocations: 91.58 kB / 0.5516 GB, free: 7.949 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002103/0.3851, allocations: 1.76 MB / 0.5533 GB, free: 7.004 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.137e-05/0.3852, allocations: 11.7 kB / 0.5533 GB, free: 7.004 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001074/0.3853, allocations: 37.41 kB / 0.5534 GB, free: 7.004 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.846e-05/0.3853, allocations: 40.45 kB / 0.5534 GB, free: 7.004 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001539/0.3869, allocations: 0.963 MB / 0.5544 GB, free: 6.996 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.005475/0.3924, allocations: 5.948 MB / 0.5602 GB, free: 2.965 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005138/0.3929, allocations: 297.9 kB / 0.5605 GB, free: 2.859 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002522/0.3931, allocations: 157 kB / 0.5606 GB, free: 2.801 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001509/0.3946, allocations: 0.7938 MB / 0.5614 GB, free: 2.355 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.23e-05/0.3947, allocations: 39.3 kB / 0.5614 GB, free: 2.312 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.643e-06/0.3947, allocations: 5.312 kB / 0.5614 GB, free: 2.309 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.002072/0.3967, allocations: 1.044 MB / 0.5624 GB, free: 1.762 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.485e-05/0.3968, allocations: 60.16 kB / 0.5625 GB, free: 1.695 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000989/0.3977, allocations: 0.8765 MB / 0.5634 GB, free: 1.328 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.716e-05/0.3978, allocations: 31.83 kB / 0.5634 GB, free: 1.293 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002777/0.3981, allocations: 0.5924 MB / 0.564 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.436e-05/0.3981, allocations: 140.6 kB / 0.5641 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002484/0.3984, allocations: 243.2 kB / 0.5643 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.3985, allocations: 399.5 kB / 0.5647 GB, free: 244 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000383/0.3989, allocations: 246.4 kB / 0.5649 GB, free: 172 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009422/0.3998, allocations: 0.9604 MB / 0.5659 GB, free: 15.14 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001567/0.4014, allocations: 1.322 MB / 0.5672 GB, free: 13.97 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.13e-05/0.4014, allocations: 11.19 kB / 0.5672 GB, free: 13.97 MB / 430.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002149/0.4036, allocations: 1.212 MB / 0.5684 GB, free: 13.56 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.019e-05/0.4036, allocations: 16.69 kB / 0.5684 GB, free: 13.56 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.371e-05/0.4036, allocations: 32.19 kB / 0.5684 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.583e-05/0.4037, allocations: 37.08 kB / 0.5685 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007671/0.4044, allocations: 277.4 kB / 0.5687 GB, free: 13.52 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.802e-05/0.4045, allocations: 50.8 kB / 0.5688 GB, free: 13.51 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008105/0.4053, allocations: 54.05 kB / 0.5688 GB, free: 13.49 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001076/0.4054, allocations: 74.09 kB / 0.5689 GB, free: 13.48 MB / 430.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.0005244/0.4059, allocations: 332.2 kB / 0.5692 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001566/0.4061, allocations: 90.44 kB / 0.5693 GB, free: 13.2 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008718/0.407, allocations: 489.9 kB / 0.5698 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/0.407, allocations: 7.125 kB / 0.5698 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.407, allocations: 0 / 0.5698 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.407, allocations: 2.125 kB / 0.5698 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001734/0.4087, allocations: 1.011 MB / 0.5708 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.488e-06/0.4087, allocations: 6.094 kB / 0.5708 GB, free: 12.4 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003035/0.409, allocations: 71.53 kB / 0.5708 GB, free: 12.39 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.409, allocations: 3.094 kB / 0.5708 GB, free: 12.39 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.754e-05/0.4091, allocations: 12.11 kB / 0.5708 GB, free: 12.39 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.4091, allocations: 2.719 kB / 0.5708 GB, free: 12.39 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.015e-05/0.4091, allocations: 6.375 kB / 0.5709 GB, free: 12.39 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009809/0.4101, allocations: 0.6538 MB / 0.5715 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003039/0.4104, allocations: 129.1 kB / 0.5716 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/0.4105, allocations: 16.41 kB / 0.5716 GB, free: 11.92 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004073/0.4109, allocations: 20.19 kB / 0.5716 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.547e-05/0.4109, allocations: 30.08 kB / 0.5717 GB, free: 11.9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-05/0.411, allocations: 24.5 kB / 0.5717 GB, free: 11.9 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008041/0.4118, allocations: 0.595 MB / 0.5723 GB, free: 11.65 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4118, allocations: 0 / 0.5723 GB, free: 11.65 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001311/0.4131, allocations: 300.8 kB / 0.5726 GB, free: 11.59 MB / 430.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.001953/0.415, allocations: 1.447 MB / 0.574 GB, free: 10.6 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001117/0.4162, allocations: 0.6073 MB / 0.5746 GB, free: 10.4 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.4162, allocations: 1.312 kB / 0.5746 GB, free: 10.4 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002267/0.4164, allocations: 141.2 kB / 0.5747 GB, free: 10.36 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001853/0.4182, allocations: 424.7 kB / 0.5751 GB, free: 10.23 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01056/0.4288, allocations: 8.031 MB / 0.583 GB, free: 4.926 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003752/0.4292, allocations: 404 kB / 0.5833 GB, free: 4.781 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00097/0.4302, allocations: 320.8 kB / 0.5836 GB, free: 4.633 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003795/0.4305, allocations: 301.9 kB / 0.5839 GB, free: 4.398 MB / 430.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4305, allocations: 0 / 0.5839 GB, free: 4.398 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05473/0.4853, allocations: 26.72 MB / 0.61 GB, free: 13.26 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.17/13.65, allocations: 8 kB / 0.61 GB, free: 13.25 MB / 462.1 MB " [Timeout remaining time 646] (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 --stepSize=0.0019992 --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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.987997047021054]