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.001743/0.001743, allocations: 107.5 kB / 19.69 MB, free: 2.203 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.002221/0.002221, allocations: 225.7 kB / 23.01 MB, free: 5.039 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.41/1.41, allocations: 207.6 MB / 233.8 MB, free: 9.984 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.2277/0.2277, allocations: 44.24 MB / 330.3 MB, free: 9.598 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.002305/0.002305, allocations: 69.61 kB / 467.5 MB, free: 4.531 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1137, allocations: 61.04 MB / 0.5161 GB, free: 7.352 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.02264/0.1364, allocations: 17.91 MB / 0.5336 GB, free: 5.367 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2311/0.3674, allocations: 7.076 MB / 0.5405 GB, free: 9.445 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009629/0.3684, allocations: 30.97 kB / 0.5406 GB, free: 9.445 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001109/0.3695, allocations: 384 kB / 0.5409 GB, free: 9.445 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001749/0.3713, allocations: 0.6857 MB / 0.5416 GB, free: 9.438 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003692/0.3749, allocations: 1.362 MB / 0.5429 GB, free: 9.391 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004222/0.3792, allocations: 2.547 MB / 0.5454 GB, free: 9.383 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001081/0.3802, allocations: 0.5712 MB / 0.546 GB, free: 9.348 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002116/0.3824, allocations: 1.061 MB / 0.547 GB, free: 9.297 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001569/0.3839, allocations: 0.8 MB / 0.5478 GB, free: 9.203 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001915/0.3841, allocations: 91.94 kB / 0.5479 GB, free: 9.199 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001547/0.3857, allocations: 0.5703 MB / 0.5484 GB, free: 9.184 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004315/0.3861, allocations: 378.1 kB / 0.5488 GB, free: 9.141 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000702/0.3868, allocations: 0.5141 MB / 0.5493 GB, free: 9.012 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002827/0.3896, allocations: 1.541 MB / 0.5508 GB, free: 8.824 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.3896, allocations: 0.9375 kB / 0.5508 GB, free: 8.824 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.006e-06/0.3896, allocations: 0 / 0.5508 GB, free: 8.824 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.588e-05/0.3897, allocations: 1.188 kB / 0.5508 GB, free: 8.824 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.003049/0.3927, allocations: 1.244 MB / 0.552 GB, free: 8.23 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/0.3928, allocations: 10.16 kB / 0.552 GB, free: 8.23 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002178/0.393, allocations: 139.4 kB / 0.5522 GB, free: 8.191 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005641/0.3936, allocations: 124 kB / 0.5523 GB, free: 8.141 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001233/0.3948, allocations: 0.554 MB / 0.5528 GB, free: 7.93 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002242/0.395, allocations: 411.3 kB / 0.5532 GB, free: 7.551 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001581/0.3952, allocations: 82.7 kB / 0.5533 GB, free: 7.551 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002067/0.3972, allocations: 1.312 MB / 0.5546 GB, free: 7.129 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.117e-05/0.3973, allocations: 6.625 kB / 0.5546 GB, free: 7.125 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001098/0.3974, allocations: 40.16 kB / 0.5546 GB, free: 7.125 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-05/0.3974, allocations: 40.48 kB / 0.5547 GB, free: 7.125 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001743/0.3992, allocations: 0.9657 MB / 0.5556 GB, free: 7.078 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.006404/0.4056, allocations: 7.017 MB / 0.5625 GB, free: 1.395 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000609/0.4062, allocations: 295.8 kB / 0.5627 GB, free: 1.285 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000269/0.4065, allocations: 163.8 kB / 0.5629 GB, free: 1.223 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00184/0.4083, allocations: 0.8497 MB / 0.5637 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/0.4083, allocations: 42.62 kB / 0.5638 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.803e-06/0.4083, allocations: 0 / 0.5638 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.002248/0.4106, allocations: 1.042 MB / 0.5648 GB, free: 160 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/0.4106, allocations: 54.94 kB / 0.5648 GB, free: 96 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001198/0.4118, allocations: 0.8763 MB / 0.5657 GB, free: 15.73 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.239e-05/0.4119, allocations: 40.14 kB / 0.5657 GB, free: 15.69 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004775/0.4124, allocations: 0.5851 MB / 0.5663 GB, free: 15.21 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001331/0.4125, allocations: 145.1 kB / 0.5664 GB, free: 15.11 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002897/0.4128, allocations: 243.9 kB / 0.5667 GB, free: 14.98 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002314/0.413, allocations: 402 kB / 0.5671 GB, free: 14.63 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004164/0.4134, allocations: 244.1 kB / 0.5673 GB, free: 14.56 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001075/0.4145, allocations: 0.9689 MB / 0.5682 GB, free: 13.5 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001798/0.4163, allocations: 1.319 MB / 0.5695 GB, free: 12.21 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-05/0.4163, allocations: 8.25 kB / 0.5695 GB, free: 12.21 MB / 430.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002063/0.4184, allocations: 1.211 MB / 0.5707 GB, free: 11.72 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.359e-05/0.4184, allocations: 16.22 kB / 0.5707 GB, free: 11.72 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-05/0.4184, allocations: 26.44 kB / 0.5708 GB, free: 11.72 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.109e-05/0.4185, allocations: 34.22 kB / 0.5708 GB, free: 11.72 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008157/0.4193, allocations: 284.1 kB / 0.5711 GB, free: 11.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.113e-05/0.4194, allocations: 48.81 kB / 0.5711 GB, free: 11.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008478/0.4202, allocations: 54.69 kB / 0.5712 GB, free: 11.65 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001008/0.4203, allocations: 70.16 kB / 0.5712 GB, free: 11.64 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.0005053/0.4208, allocations: 334.4 kB / 0.5715 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001622/0.421, allocations: 93 kB / 0.5716 GB, free: 11.37 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009083/0.4219, allocations: 494.4 kB / 0.5721 GB, free: 11.15 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/0.4219, allocations: 4.531 kB / 0.5721 GB, free: 11.15 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.4219, allocations: 0 / 0.5721 GB, free: 11.15 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.4219, allocations: 4.219 kB / 0.5721 GB, free: 11.15 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001976/0.4239, allocations: 1.075 MB / 0.5732 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.451e-06/0.4239, allocations: 1.281 kB / 0.5732 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003008/0.4242, allocations: 68.19 kB / 0.5732 GB, free: 10.54 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.284e-06/0.4242, allocations: 3.625 kB / 0.5732 GB, free: 10.54 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.932e-05/0.4242, allocations: 14.38 kB / 0.5733 GB, free: 10.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.661e-06/0.4242, allocations: 2.75 kB / 0.5733 GB, free: 10.54 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.4242, allocations: 2.438 kB / 0.5733 GB, free: 10.54 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/0.4253, allocations: 0.6594 MB / 0.5739 GB, free: 10.14 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003487/0.4256, allocations: 136.8 kB / 0.574 GB, free: 10.06 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001156/0.4257, allocations: 17.31 kB / 0.574 GB, free: 10.05 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003965/0.4261, allocations: 16.25 kB / 0.5741 GB, free: 10.05 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.4262, allocations: 22.92 kB / 0.5741 GB, free: 10.04 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.252e-05/0.4262, allocations: 26.19 kB / 0.5741 GB, free: 10.04 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008225/0.427, allocations: 0.5947 MB / 0.5747 GB, free: 9.789 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.427, allocations: 0 / 0.5747 GB, free: 9.789 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001363/0.4284, allocations: 301.1 kB / 0.575 GB, free: 9.734 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.002036/0.4304, allocations: 1.433 MB / 0.5764 GB, free: 8.746 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001286/0.4317, allocations: 0.617 MB / 0.577 GB, free: 8.543 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.69e-06/0.4317, allocations: 1.344 kB / 0.577 GB, free: 8.543 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002311/0.432, allocations: 137 kB / 0.5771 GB, free: 8.5 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002118/0.4341, allocations: 431 kB / 0.5775 GB, free: 8.367 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01254/0.4466, allocations: 8.036 MB / 0.5854 GB, free: 2.262 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007329/0.4473, allocations: 0.9996 MB / 0.5863 GB, free: 1.414 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001037/0.4484, allocations: 315.5 kB / 0.5866 GB, free: 1.27 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003788/0.4488, allocations: 299.6 kB / 0.5869 GB, free: 1.039 MB / 430.1 MB Notification: Performance of SimCode: time 1.273e-06/0.4488, allocations: 0 / 0.5869 GB, free: 1.039 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06745/0.5162, allocations: 25.78 MB / 0.6121 GB, free: 10.08 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.62/13.14, allocations: 3.938 kB / 0.6121 GB, free: 10.08 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: 16.07701861899841]