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.00126/0.00126, allocations: 111.7 kB / 17.13 MB, free: 5.941 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.001341/0.001341, allocations: 211.2 kB / 20.09 MB, free: 2.984 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.486/1.486, allocations: 207.6 MB / 230.5 MB, free: 4.023 MB / 174.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.3544/0.3544, allocations: 44.22 MB / 326.6 MB, free: 6.836 MB / 254.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="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"}) [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.002391/0.002391, allocations: 67.91 kB / 462.2 MB, free: 0.9141 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2644/0.2668, allocations: 61 MB / 0.5109 GB, free: 13.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01496/0.2818, allocations: 17.76 MB / 0.5283 GB, free: 13.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01037/0.2921, allocations: 7.034 MB / 0.5352 GB, free: 6.117 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001056/0.2932, allocations: 27.75 kB / 0.5352 GB, free: 6.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001245/0.2944, allocations: 385.6 kB / 0.5355 GB, free: 5.711 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001886/0.2963, allocations: 0.6839 MB / 0.5362 GB, free: 5.023 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003821/0.3001, allocations: 1.323 MB / 0.5375 GB, free: 3.699 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003678/0.3038, allocations: 2.506 MB / 0.54 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001086/0.3049, allocations: 0.6076 MB / 0.5405 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002271/0.3072, allocations: 1.047 MB / 0.5416 GB, free: 15.51 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001408/0.3086, allocations: 0.8096 MB / 0.5424 GB, free: 14.7 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001828/0.3088, allocations: 88 kB / 0.5424 GB, free: 14.61 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001374/0.3101, allocations: 0.5577 MB / 0.543 GB, free: 14.05 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004283/0.3106, allocations: 378.9 kB / 0.5433 GB, free: 13.68 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007185/0.3113, allocations: 0.5134 MB / 0.5439 GB, free: 13.17 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002731/0.314, allocations: 1.536 MB / 0.5454 GB, free: 11.63 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.314, allocations: 0 / 0.5454 GB, free: 11.63 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.314, allocations: 0 / 0.5454 GB, free: 11.63 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.408e-05/0.3141, allocations: 0 / 0.5454 GB, free: 11.63 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.003093/0.3171, allocations: 1.316 MB / 0.5466 GB, free: 10.26 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.3172, allocations: 11.89 kB / 0.5466 GB, free: 10.25 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000199/0.3174, allocations: 143.2 kB / 0.5468 GB, free: 10.1 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005267/0.3179, allocations: 128.2 kB / 0.5469 GB, free: 9.977 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001099/0.319, allocations: 0.6266 MB / 0.5475 GB, free: 9.312 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002397/0.3193, allocations: 256.7 kB / 0.5478 GB, free: 9.027 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001361/0.3194, allocations: 80.12 kB / 0.5478 GB, free: 8.949 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00205/0.3214, allocations: 1.301 MB / 0.5491 GB, free: 7.512 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.874e-05/0.3215, allocations: 7.938 kB / 0.5491 GB, free: 7.504 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001097/0.3216, allocations: 40 kB / 0.5492 GB, free: 7.465 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.553e-05/0.3216, allocations: 37.3 kB / 0.5492 GB, free: 7.43 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001641/0.3233, allocations: 0.9688 MB / 0.5501 GB, free: 6.461 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.007596/0.3309, allocations: 7.094 MB / 0.5571 GB, free: 14.89 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005815/0.3315, allocations: 292.1 kB / 0.5573 GB, free: 14.6 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002792/0.3317, allocations: 161.4 kB / 0.5575 GB, free: 14.44 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002875/0.3346, allocations: 2.822 MB / 0.5603 GB, free: 11.11 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.709e-05/0.3347, allocations: 46.8 kB / 0.5603 GB, free: 11.06 MB / 430.1 MB Notification: Performance of pre-optimization done (n=28): time 2.255e-06/0.3347, allocations: 224 / 0.5603 GB, free: 11.06 MB / 430.1 MB Notification: Performance of matching and sorting (n=34): time 0.002551/0.3372, allocations: 1.114 MB / 0.5614 GB, free: 9.898 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.343e-05/0.3373, allocations: 59.34 kB / 0.5614 GB, free: 9.828 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001133/0.3384, allocations: 0.8759 MB / 0.5623 GB, free: 8.945 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.069e-05/0.3385, allocations: 33.7 kB / 0.5623 GB, free: 8.906 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004568/0.3389, allocations: 0.5922 MB / 0.5629 GB, free: 8.305 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001224/0.339, allocations: 146.9 kB / 0.5631 GB, free: 8.16 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002899/0.3393, allocations: 242.7 kB / 0.5633 GB, free: 7.918 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002152/0.3395, allocations: 398.7 kB / 0.5637 GB, free: 7.52 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004625/0.34, allocations: 242.5 kB / 0.5639 GB, free: 7.285 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009863/0.341, allocations: 0.97 MB / 0.5648 GB, free: 5.949 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001564/0.3425, allocations: 1.315 MB / 0.5661 GB, free: 4.273 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.31e-05/0.3426, allocations: 8 kB / 0.5661 GB, free: 4.266 MB / 430.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002057/0.3446, allocations: 1.212 MB / 0.5673 GB, free: 3.047 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.088e-05/0.3446, allocations: 16 kB / 0.5673 GB, free: 3.031 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.993e-05/0.3447, allocations: 24 kB / 0.5674 GB, free: 3.008 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.51e-05/0.3447, allocations: 36.72 kB / 0.5674 GB, free: 2.973 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008173/0.3455, allocations: 283.4 kB / 0.5677 GB, free: 2.695 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.363e-05/0.3456, allocations: 51.84 kB / 0.5677 GB, free: 2.645 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007019/0.3463, allocations: 48 kB / 0.5678 GB, free: 2.598 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.859e-05/0.3464, allocations: 76 kB / 0.5678 GB, free: 2.523 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.0004618/0.3468, allocations: 333 kB / 0.5681 GB, free: 2.188 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001647/0.347, allocations: 91.44 kB / 0.5682 GB, free: 2.098 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009701/0.348, allocations: 483.4 kB / 0.5687 GB, free: 1.609 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-05/0.348, allocations: 7.984 kB / 0.5687 GB, free: 1.602 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.348, allocations: 0 / 0.5687 GB, free: 1.602 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.348, allocations: 0 / 0.5687 GB, free: 1.602 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001879/0.3499, allocations: 1.248 MB / 0.5699 GB, free: 248 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/0.3499, allocations: 3.938 kB / 0.5699 GB, free: 244 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003056/0.3502, allocations: 67.91 kB / 0.57 GB, free: 176 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.563e-06/0.3502, allocations: 0 / 0.57 GB, free: 176 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.663e-05/0.3502, allocations: 15.98 kB / 0.57 GB, free: 160 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.3502, allocations: 0 / 0.57 GB, free: 160 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.3502, allocations: 4.188 kB / 0.57 GB, free: 156 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001046/0.3513, allocations: 0.6495 MB / 0.5706 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003381/0.3516, allocations: 208.5 kB / 0.5708 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.956e-05/0.3517, allocations: 15.88 kB / 0.5709 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004213/0.3521, allocations: 16 kB / 0.5709 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.329e-05/0.3522, allocations: 23.91 kB / 0.5709 GB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-05/0.3522, allocations: 31.95 kB / 0.5709 GB, free: 15.16 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008272/0.3531, allocations: 0.593 MB / 0.5715 GB, free: 14.55 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.3531, allocations: 4 kB / 0.5715 GB, free: 14.55 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001196/0.3543, allocations: 295.7 kB / 0.5718 GB, free: 14.26 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.002069/0.3563, allocations: 1.432 MB / 0.5732 GB, free: 12.79 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00126/0.3576, allocations: 0.6223 MB / 0.5738 GB, free: 12.17 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.805e-06/0.3576, allocations: 4 kB / 0.5738 GB, free: 12.17 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002475/0.3579, allocations: 127.8 kB / 0.5739 GB, free: 12.04 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002082/0.3599, allocations: 429.2 kB / 0.5743 GB, free: 11.63 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0114/0.3713, allocations: 8.033 MB / 0.5822 GB, free: 2.719 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006584/0.372, allocations: 0.9933 MB / 0.5831 GB, free: 1.691 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009756/0.373, allocations: 316.6 kB / 0.5834 GB, free: 1.379 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004089/0.3734, allocations: 295.3 kB / 0.5837 GB, free: 1.094 MB / 446.1 MB Notification: Performance of SimCode: time 8.51e-07/0.3734, allocations: 4 kB / 0.5837 GB, free: 1.09 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06281/0.4362, allocations: 24.85 MB / 0.608 GB, free: 8.203 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.811/10.25, allocations: 7.922 kB / 0.608 GB, free: 8.195 MB / 478.1 MB " [Timeout remaining time 650] (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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0019992 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.csv","/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: 13.135006156007876]