Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001254/0.001254, allocations: 112 kB / 20.48 MB, free: 1.27 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001473/0.001473, allocations: 208.3 kB / 23.77 MB, free: 4.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.484/1.484, allocations: 230.5 MB / 257.4 MB, free: 7.719 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2354/0.2354, allocations: 46.96 MB / 360.9 MB, free: 3.867 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002352/0.002352, allocations: 76.2 kB / 0.4962 GB, free: 7.484 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.3351, allocations: 66.09 MB / 0.5608 GB, free: 3.953 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01975/0.3548, allocations: 16.31 MB / 0.5767 GB, free: 3.578 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009527/0.3644, allocations: 6.502 MB / 0.583 GB, free: 13.05 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000791/0.3652, allocations: 27.75 kB / 0.5831 GB, free: 13.02 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001164/0.3663, allocations: 365.6 kB / 0.5834 GB, free: 12.66 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001861/0.3682, allocations: 0.6956 MB / 0.5841 GB, free: 11.96 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003864/0.3721, allocations: 1.335 MB / 0.5854 GB, free: 10.64 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004007/0.3761, allocations: 2.544 MB / 0.5879 GB, free: 8.09 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001158/0.3772, allocations: 0.569 MB / 0.5884 GB, free: 7.508 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002407/0.3796, allocations: 1.067 MB / 0.5895 GB, free: 6.438 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001508/0.3811, allocations: 0.7823 MB / 0.5902 GB, free: 5.652 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002421/0.3814, allocations: 88 kB / 0.5903 GB, free: 5.566 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001391/0.3828, allocations: 491.1 kB / 0.5908 GB, free: 5.086 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004754/0.3832, allocations: 386.9 kB / 0.5912 GB, free: 4.707 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006627/0.3839, allocations: 438.3 kB / 0.5916 GB, free: 4.277 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002314/0.3862, allocations: 1.588 MB / 0.5931 GB, free: 2.684 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3862, allocations: 0 / 0.5931 GB, free: 2.684 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3862, allocations: 0 / 0.5931 GB, free: 2.684 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.753e-05/0.3862, allocations: 4 kB / 0.5931 GB, free: 2.68 MB / 430.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.002604/0.3888, allocations: 1.233 MB / 0.5943 GB, free: 1.41 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.3889, allocations: 12.03 kB / 0.5943 GB, free: 1.398 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001965/0.3891, allocations: 143.2 kB / 0.5945 GB, free: 1.25 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004816/0.3896, allocations: 124.3 kB / 0.5946 GB, free: 1.129 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001148/0.3907, allocations: 0.5494 MB / 0.5951 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003017/0.391, allocations: 407 kB / 0.5955 GB, free: 88 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001326/0.3911, allocations: 84.08 kB / 0.5956 GB, free: 4 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002342/0.3935, allocations: 1.699 MB / 0.5973 GB, free: 14.07 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.953e-05/0.3935, allocations: 7.938 kB / 0.5973 GB, free: 14.06 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001103/0.3936, allocations: 40 kB / 0.5973 GB, free: 14.02 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.194e-05/0.3937, allocations: 41.25 kB / 0.5973 GB, free: 13.98 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001679/0.3954, allocations: 0.9572 MB / 0.5983 GB, free: 13.03 MB / 446.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.007056/0.4024, allocations: 5.936 MB / 0.6041 GB, free: 6.848 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00059/0.403, allocations: 296.7 kB / 0.6044 GB, free: 6.551 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002791/0.4033, allocations: 155.5 kB / 0.6045 GB, free: 6.398 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001713/0.405, allocations: 0.7976 MB / 0.6053 GB, free: 5.582 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.64e-05/0.4051, allocations: 38.8 kB / 0.6053 GB, free: 5.535 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 1.833e-06/0.4051, allocations: 0 / 0.6053 GB, free: 5.535 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.002477/0.4075, allocations: 1.041 MB / 0.6063 GB, free: 4.461 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.022e-05/0.4076, allocations: 59.34 kB / 0.6064 GB, free: 4.391 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001155/0.4087, allocations: 0.9146 MB / 0.6073 GB, free: 3.465 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.644e-05/0.4088, allocations: 37.7 kB / 0.6073 GB, free: 3.422 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004878/0.4093, allocations: 0.5883 MB / 0.6079 GB, free: 2.824 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000126/0.4094, allocations: 142.9 kB / 0.608 GB, free: 2.684 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003241/0.4097, allocations: 246.7 kB / 0.6083 GB, free: 2.438 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002315/0.41, allocations: 398.7 kB / 0.6087 GB, free: 2.039 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004431/0.4104, allocations: 238.5 kB / 0.6089 GB, free: 1.805 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001065/0.4115, allocations: 0.966 MB / 0.6098 GB, free: 492 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001592/0.4131, allocations: 1.316 MB / 0.6111 GB, free: 14.8 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.285e-05/0.4131, allocations: 8 kB / 0.6111 GB, free: 14.79 MB / 462.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002037/0.4151, allocations: 1.219 MB / 0.6123 GB, free: 13.57 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.171e-05/0.4151, allocations: 17.88 kB / 0.6123 GB, free: 13.55 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.992e-05/0.4152, allocations: 24 kB / 0.6123 GB, free: 13.53 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.695e-05/0.4152, allocations: 36 kB / 0.6124 GB, free: 13.49 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008102/0.416, allocations: 284 kB / 0.6127 GB, free: 13.21 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-05/0.4161, allocations: 51.78 kB / 0.6127 GB, free: 13.16 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006827/0.4168, allocations: 56 kB / 0.6128 GB, free: 13.11 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.831e-05/0.4169, allocations: 72 kB / 0.6128 GB, free: 13.04 MB / 462.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.0004526/0.4173, allocations: 333 kB / 0.6131 GB, free: 12.7 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001721/0.4175, allocations: 91.44 kB / 0.6132 GB, free: 12.61 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009282/0.4184, allocations: 495.5 kB / 0.6137 GB, free: 12.12 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.261e-05/0.4184, allocations: 7.984 kB / 0.6137 GB, free: 12.11 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.4184, allocations: 0 / 0.6137 GB, free: 12.11 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.4184, allocations: 0 / 0.6137 GB, free: 12.11 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001735/0.4202, allocations: 1.015 MB / 0.6147 GB, free: 11.03 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.4202, allocations: 3.938 kB / 0.6147 GB, free: 11.03 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003053/0.4205, allocations: 68.16 kB / 0.6148 GB, free: 10.96 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.4205, allocations: 3.938 kB / 0.6148 GB, free: 10.96 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.336e-05/0.4205, allocations: 12 kB / 0.6148 GB, free: 10.95 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.4205, allocations: 0 / 0.6148 GB, free: 10.95 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.4205, allocations: 4 kB / 0.6148 GB, free: 10.94 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001029/0.4215, allocations: 0.6607 MB / 0.6154 GB, free: 10.25 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003111/0.4219, allocations: 123.3 kB / 0.6156 GB, free: 10.12 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.653e-05/0.422, allocations: 8 kB / 0.6156 GB, free: 10.12 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003757/0.4223, allocations: 15.98 kB / 0.6156 GB, free: 10.1 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-05/0.4224, allocations: 32.02 kB / 0.6156 GB, free: 10.07 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.199e-05/0.4224, allocations: 19.98 kB / 0.6156 GB, free: 10.05 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008138/0.4232, allocations: 0.597 MB / 0.6162 GB, free: 9.441 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4232, allocations: 0 / 0.6162 GB, free: 9.441 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0012/0.4244, allocations: 303.6 kB / 0.6165 GB, free: 9.145 MB / 462.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.001776/0.4262, allocations: 1.403 MB / 0.6179 GB, free: 7.691 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001143/0.4274, allocations: 0.6227 MB / 0.6185 GB, free: 7.074 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.4274, allocations: 0 / 0.6185 GB, free: 7.074 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002493/0.4276, allocations: 135.8 kB / 0.6186 GB, free: 6.941 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001975/0.4296, allocations: 425.5 kB / 0.619 GB, free: 6.539 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0109/0.4405, allocations: 8.021 MB / 0.6268 GB, free: 13.63 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004509/0.4409, allocations: 409.5 kB / 0.6272 GB, free: 13.2 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009806/0.4419, allocations: 314.6 kB / 0.6275 GB, free: 12.9 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000391/0.4423, allocations: 295.3 kB / 0.6278 GB, free: 12.61 MB / 478.1 MB Notification: Performance of SimCode: time 9.31e-07/0.4423, allocations: 0 / 0.6278 GB, free: 12.61 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06326/0.5056, allocations: 26.71 MB / 0.6539 GB, free: 2.273 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.94/12.44, allocations: 12 kB / 0.6539 GB, free: 2.262 MB / 494.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Vessels/TestMixingVolumes/TestMixingVolumes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.507332805078477]