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.001365/0.001365, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001559/0.001559, allocations: 217.6 kB / 22.99 MB, free: 4.977 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.369/1.369, allocations: 207.7 MB / 233.8 MB, free: 9.809 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.2162/0.2162, allocations: 44.27 MB / 330.3 MB, free: 9.312 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="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.002238/0.002238, allocations: 71.89 kB / 467.5 MB, free: 4.355 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.122, allocations: 61.05 MB / 0.5162 GB, free: 7.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.02018/0.1422, allocations: 16.2 MB / 0.532 GB, free: 6.902 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009526/0.1517, allocations: 6.486 MB / 0.5383 GB, free: 408 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008433/0.1526, allocations: 31.69 kB / 0.5383 GB, free: 376 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001353/0.1539, allocations: 361.6 kB / 0.5387 GB, free: 12 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2099/0.3638, allocations: 0.6859 MB / 0.5394 GB, free: 9.676 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00306/0.3669, allocations: 1.348 MB / 0.5407 GB, free: 9.645 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002652/0.3695, allocations: 2.533 MB / 0.5431 GB, free: 9.637 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008783/0.3704, allocations: 0.5681 MB / 0.5437 GB, free: 9.602 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001816/0.3722, allocations: 1.061 MB / 0.5447 GB, free: 9.598 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001379/0.3736, allocations: 0.7853 MB / 0.5455 GB, free: 9.504 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002111/0.3738, allocations: 87.75 kB / 0.5456 GB, free: 9.504 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001169/0.375, allocations: 472.8 kB / 0.546 GB, free: 9.492 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003341/0.3753, allocations: 380.4 kB / 0.5464 GB, free: 9.449 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004969/0.3758, allocations: 452.2 kB / 0.5468 GB, free: 9.352 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001895/0.3777, allocations: 1.529 MB / 0.5483 GB, free: 9.164 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.3777, allocations: 0 / 0.5483 GB, free: 9.164 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3777, allocations: 0.875 kB / 0.5483 GB, free: 9.164 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.876e-05/0.3777, allocations: 0 / 0.5483 GB, free: 9.164 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.002347/0.3801, allocations: 1.24 MB / 0.5495 GB, free: 8.574 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.3801, allocations: 9.719 kB / 0.5495 GB, free: 8.574 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001759/0.3803, allocations: 145.1 kB / 0.5497 GB, free: 8.531 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004579/0.3807, allocations: 126.5 kB / 0.5498 GB, free: 8.48 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001103/0.3818, allocations: 0.5491 MB / 0.5503 GB, free: 8.277 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001989/0.382, allocations: 406.8 kB / 0.5507 GB, free: 7.902 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001305/0.3822, allocations: 85.25 kB / 0.5508 GB, free: 7.898 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001881/0.384, allocations: 1.763 MB / 0.5525 GB, free: 6.945 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.846e-05/0.3841, allocations: 13.88 kB / 0.5525 GB, free: 6.941 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/0.3842, allocations: 38.62 kB / 0.5526 GB, free: 6.941 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-05/0.3842, allocations: 41.06 kB / 0.5526 GB, free: 6.941 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001819/0.386, allocations: 0.9588 MB / 0.5536 GB, free: 6.934 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.007201/0.3932, allocations: 5.949 MB / 0.5594 GB, free: 2.973 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005255/0.3938, allocations: 297.4 kB / 0.5596 GB, free: 2.867 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002654/0.394, allocations: 157.7 kB / 0.5598 GB, free: 2.809 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001631/0.3957, allocations: 0.7931 MB / 0.5606 GB, free: 2.359 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.3957, allocations: 39.84 kB / 0.5606 GB, free: 2.316 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 2.695e-06/0.3957, allocations: 0 / 0.5606 GB, free: 2.316 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.002378/0.3981, allocations: 1.044 MB / 0.5616 GB, free: 1.77 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.975e-05/0.3981, allocations: 54.64 kB / 0.5617 GB, free: 1.707 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001136/0.3992, allocations: 0.9162 MB / 0.5626 GB, free: 1.309 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.002e-05/0.3993, allocations: 37.08 kB / 0.5626 GB, free: 1.27 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003257/0.3996, allocations: 0.5886 MB / 0.5632 GB, free: 0.793 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001003/0.3997, allocations: 153.3 kB / 0.5633 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002846/0.4, allocations: 245 kB / 0.5636 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.4001, allocations: 399.4 kB / 0.5639 GB, free: 216 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004248/0.4006, allocations: 247 kB / 0.5642 GB, free: 144 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001117/0.4017, allocations: 0.96 MB / 0.5651 GB, free: 15.11 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00167/0.4033, allocations: 1.322 MB / 0.5664 GB, free: 13.95 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.298e-05/0.4034, allocations: 8.25 kB / 0.5664 GB, free: 13.95 MB / 430.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002261/0.4056, allocations: 1.214 MB / 0.5676 GB, free: 13.52 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.762e-05/0.4057, allocations: 15.81 kB / 0.5676 GB, free: 13.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.367e-05/0.4057, allocations: 25.75 kB / 0.5676 GB, free: 13.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.371e-05/0.4057, allocations: 35.22 kB / 0.5677 GB, free: 13.52 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007981/0.4065, allocations: 281.5 kB / 0.5679 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.504e-05/0.4066, allocations: 51.62 kB / 0.568 GB, free: 13.47 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008948/0.4075, allocations: 49.56 kB / 0.568 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001166/0.4076, allocations: 71.5 kB / 0.5681 GB, free: 13.44 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.000607/0.4082, allocations: 344.2 kB / 0.5684 GB, free: 13.2 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000172/0.4084, allocations: 91.64 kB / 0.5685 GB, free: 13.16 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009548/0.4093, allocations: 485.2 kB / 0.569 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-05/0.4093, allocations: 7.969 kB / 0.569 GB, free: 12.94 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.126e-06/0.4093, allocations: 2.375 kB / 0.569 GB, free: 12.94 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.4094, allocations: 3.469 kB / 0.569 GB, free: 12.94 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001882/0.4112, allocations: 1.003 MB / 0.57 GB, free: 12.37 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.4112, allocations: 2.344 kB / 0.57 GB, free: 12.37 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002815/0.4115, allocations: 74.66 kB / 0.5701 GB, free: 12.36 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.281e-06/0.4115, allocations: 2.719 kB / 0.5701 GB, free: 12.36 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.415e-05/0.4116, allocations: 12 kB / 0.5701 GB, free: 12.35 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.572e-06/0.4116, allocations: 15.97 kB / 0.5701 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.4116, allocations: 3.281 kB / 0.5701 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001049/0.4126, allocations: 0.6572 MB / 0.5707 GB, free: 11.96 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003448/0.413, allocations: 129.2 kB / 0.5709 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000111/0.4131, allocations: 13.44 kB / 0.5709 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003944/0.4135, allocations: 17.31 kB / 0.5709 GB, free: 11.87 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.278e-05/0.4135, allocations: 25.06 kB / 0.5709 GB, free: 11.87 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.184e-05/0.4136, allocations: 28.84 kB / 0.5709 GB, free: 11.86 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008745/0.4144, allocations: 0.5954 MB / 0.5715 GB, free: 11.61 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4144, allocations: 0 / 0.5715 GB, free: 11.61 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001503/0.4159, allocations: 295.9 kB / 0.5718 GB, free: 11.56 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.002084/0.418, allocations: 1.447 MB / 0.5732 GB, free: 10.56 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001088/0.4191, allocations: 0.6074 MB / 0.5738 GB, free: 10.37 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/0.4191, allocations: 6.438 kB / 0.5738 GB, free: 10.36 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002221/0.4193, allocations: 139.3 kB / 0.5739 GB, free: 10.32 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001861/0.4212, allocations: 422.5 kB / 0.5743 GB, free: 10.2 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01061/0.4318, allocations: 8.03 MB / 0.5822 GB, free: 4.895 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004199/0.4322, allocations: 403.5 kB / 0.5826 GB, free: 4.723 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001104/0.4333, allocations: 321.5 kB / 0.5829 GB, free: 4.574 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004294/0.4338, allocations: 300.2 kB / 0.5832 GB, free: 4.34 MB / 430.1 MB Notification: Performance of SimCode: time 7.51e-07/0.4338, allocations: 1.594 kB / 0.5832 GB, free: 4.34 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06173/0.4955, allocations: 26.74 MB / 0.6093 GB, free: 13.23 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.28/12.78, allocations: 7.875 kB / 0.6093 GB, free: 13.22 MB / 462.1 MB " [Timeout remaining time 647] (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: 15.758083779830486]