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.001774/0.001774, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002212/0.002212, allocations: 213 kB / 23.73 MB, free: 4.164 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.553/1.553, allocations: 230.5 MB / 257.4 MB, free: 7.785 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.2376/0.2376, allocations: 46.95 MB / 360.8 MB, free: 3.906 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.002515/0.002515, allocations: 83.86 kB / 0.4962 GB, free: 7.535 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3715/0.374, allocations: 66.09 MB / 0.5607 GB, free: 4.016 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.02204/0.396, allocations: 16.32 MB / 0.5766 GB, free: 3.637 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01041/0.4064, allocations: 6.49 MB / 0.583 GB, free: 13.12 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009971/0.4074, allocations: 27.75 kB / 0.583 GB, free: 13.09 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001261/0.4087, allocations: 369.6 kB / 0.5833 GB, free: 12.73 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001951/0.4106, allocations: 0.6994 MB / 0.584 GB, free: 12.03 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003872/0.4145, allocations: 1.33 MB / 0.5853 GB, free: 10.71 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003714/0.4182, allocations: 2.544 MB / 0.5878 GB, free: 8.156 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001152/0.4194, allocations: 0.5729 MB / 0.5884 GB, free: 7.57 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00241/0.4218, allocations: 1.063 MB / 0.5894 GB, free: 6.504 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001619/0.4234, allocations: 0.7901 MB / 0.5902 GB, free: 5.711 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002156/0.4236, allocations: 84 kB / 0.5903 GB, free: 5.629 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00155/0.4252, allocations: 483.2 kB / 0.5907 GB, free: 5.156 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005687/0.4257, allocations: 382.9 kB / 0.5911 GB, free: 4.781 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006893/0.4264, allocations: 446.2 kB / 0.5915 GB, free: 4.344 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002935/0.4294, allocations: 1.585 MB / 0.5931 GB, free: 2.754 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.4294, allocations: 0 / 0.5931 GB, free: 2.754 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.826e-06/0.4294, allocations: 0 / 0.5931 GB, free: 2.754 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.563e-05/0.4294, allocations: 0 / 0.5931 GB, free: 2.754 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.002619/0.432, allocations: 1.233 MB / 0.5943 GB, free: 1.484 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/0.4321, allocations: 12.03 kB / 0.5943 GB, free: 1.473 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000204/0.4323, allocations: 139.2 kB / 0.5944 GB, free: 1.328 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005117/0.4328, allocations: 128.2 kB / 0.5945 GB, free: 1.203 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00123/0.434, allocations: 0.5571 MB / 0.5951 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003488/0.4344, allocations: 411 kB / 0.5955 GB, free: 152 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001356/0.4345, allocations: 80.08 kB / 0.5955 GB, free: 72 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00236/0.4369, allocations: 1.703 MB / 0.5972 GB, free: 14.13 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.333e-05/0.4369, allocations: 3.938 kB / 0.5972 GB, free: 14.13 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001101/0.437, allocations: 44 kB / 0.5972 GB, free: 14.09 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-05/0.4371, allocations: 37.3 kB / 0.5973 GB, free: 14.05 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001661/0.4387, allocations: 0.9649 MB / 0.5982 GB, free: 13.09 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.007345/0.4461, allocations: 5.933 MB / 0.604 GB, free: 6.91 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005632/0.4466, allocations: 292.6 kB / 0.6043 GB, free: 6.617 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002685/0.4469, allocations: 157.4 kB / 0.6044 GB, free: 6.461 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001703/0.4486, allocations: 0.7938 MB / 0.6052 GB, free: 5.648 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.744e-05/0.4486, allocations: 38.8 kB / 0.6053 GB, free: 5.602 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 2.104e-06/0.4486, allocations: 0 / 0.6053 GB, free: 5.602 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.002332/0.451, allocations: 1.048 MB / 0.6063 GB, free: 4.52 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.26e-05/0.451, allocations: 55.41 kB / 0.6063 GB, free: 4.453 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001141/0.4522, allocations: 0.9107 MB / 0.6072 GB, free: 3.531 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.287e-05/0.4522, allocations: 33.7 kB / 0.6073 GB, free: 3.492 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004829/0.4527, allocations: 0.5921 MB / 0.6078 GB, free: 2.891 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001274/0.4528, allocations: 142.9 kB / 0.608 GB, free: 2.75 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002922/0.4531, allocations: 242.7 kB / 0.6082 GB, free: 2.508 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002443/0.4534, allocations: 394.7 kB / 0.6086 GB, free: 2.113 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004321/0.4538, allocations: 246.5 kB / 0.6088 GB, free: 1.871 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001045/0.4548, allocations: 0.9621 MB / 0.6098 GB, free: 0.5508 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001726/0.4566, allocations: 1.316 MB / 0.611 GB, free: 14.87 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.329e-05/0.4566, allocations: 8 kB / 0.611 GB, free: 14.86 MB / 462.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002121/0.4587, allocations: 1.219 MB / 0.6122 GB, free: 13.63 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.152e-05/0.4587, allocations: 16 kB / 0.6123 GB, free: 13.62 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.495e-05/0.4588, allocations: 28 kB / 0.6123 GB, free: 13.59 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.466e-05/0.4588, allocations: 32 kB / 0.6123 GB, free: 13.56 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008262/0.4596, allocations: 280.1 kB / 0.6126 GB, free: 13.29 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.295e-05/0.4597, allocations: 55.78 kB / 0.6126 GB, free: 13.23 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007078/0.4604, allocations: 52 kB / 0.6127 GB, free: 13.18 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001129/0.4605, allocations: 75.98 kB / 0.6128 GB, free: 13.11 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.0005039/0.461, allocations: 330.4 kB / 0.6131 GB, free: 12.77 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001539/0.4612, allocations: 91.44 kB / 0.6132 GB, free: 12.68 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000968/0.4621, allocations: 498.2 kB / 0.6136 GB, free: 12.19 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.086e-05/0.4622, allocations: 7.984 kB / 0.6136 GB, free: 12.18 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.4622, allocations: 3.828 kB / 0.6136 GB, free: 12.18 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.4622, allocations: 3.984 kB / 0.6136 GB, free: 12.18 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001762/0.4639, allocations: 1.019 MB / 0.6146 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.266e-06/0.4639, allocations: 8.125 kB / 0.6146 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002875/0.4642, allocations: 71.89 kB / 0.6147 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.094e-06/0.4642, allocations: 4 kB / 0.6147 GB, free: 11.01 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.386e-05/0.4643, allocations: 8 kB / 0.6147 GB, free: 11 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.4643, allocations: 4 kB / 0.6147 GB, free: 11 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.4643, allocations: 0 / 0.6147 GB, free: 11 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001006/0.4653, allocations: 0.6568 MB / 0.6154 GB, free: 10.31 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003173/0.4656, allocations: 131.3 kB / 0.6155 GB, free: 10.18 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/0.4657, allocations: 12 kB / 0.6155 GB, free: 10.17 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003664/0.4661, allocations: 8 kB / 0.6155 GB, free: 10.16 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.242e-05/0.4661, allocations: 35.95 kB / 0.6156 GB, free: 10.12 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.229e-05/0.4662, allocations: 27.97 kB / 0.6156 GB, free: 10.1 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008154/0.467, allocations: 0.593 MB / 0.6162 GB, free: 9.492 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.467, allocations: 0 / 0.6162 GB, free: 9.492 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001217/0.4682, allocations: 303.6 kB / 0.6164 GB, free: 9.195 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.001803/0.47, allocations: 1.403 MB / 0.6178 GB, free: 7.742 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001138/0.4712, allocations: 0.6185 MB / 0.6184 GB, free: 7.129 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.4712, allocations: 0 / 0.6184 GB, free: 7.129 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002451/0.4714, allocations: 135.8 kB / 0.6186 GB, free: 6.996 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001874/0.4733, allocations: 424.8 kB / 0.619 GB, free: 6.594 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01119/0.4845, allocations: 8.021 MB / 0.6268 GB, free: 13.69 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004662/0.4849, allocations: 401.5 kB / 0.6272 GB, free: 13.27 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009615/0.4859, allocations: 313.6 kB / 0.6275 GB, free: 12.96 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000392/0.4863, allocations: 299.3 kB / 0.6278 GB, free: 12.67 MB / 478.1 MB Notification: Performance of SimCode: time 9.22e-07/0.4863, allocations: 0 / 0.6278 GB, free: 12.67 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06701/0.5533, allocations: 26.62 MB / 0.6538 GB, free: 2.418 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.26/12.82, allocations: 3.859 kB / 0.6538 GB, free: 2.414 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: 16.07094513485208]