Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001672/0.001672, allocations: 128.5 kB / 17.79 MB, free: 5.246 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.002048/0.002048, allocations: 211.2 kB / 20.75 MB, free: 2.293 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.724/1.724, allocations: 230.6 MB / 254.1 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2212/0.2212, allocations: 44.91 MB / 355.1 MB, free: 12.32 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.001954/0.001954, allocations: 71.89 kB / 499.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1296, allocations: 65.42 MB / 0.5517 GB, free: 10.16 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.02151/0.1512, allocations: 17.87 MB / 0.5692 GB, free: 8.211 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01026/0.1614, allocations: 7.038 MB / 0.5761 GB, free: 1.152 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008571/0.1623, allocations: 35.69 kB / 0.5761 GB, free: 1.117 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001232/0.1635, allocations: 385.6 kB / 0.5765 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00172/0.1652, allocations: 0.6878 MB / 0.5771 GB, free: 48 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003678/0.1689, allocations: 1.316 MB / 0.5784 GB, free: 14.74 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00342/0.1723, allocations: 2.509 MB / 0.5809 GB, free: 12.22 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001085/0.1734, allocations: 0.5921 MB / 0.5815 GB, free: 11.61 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002191/0.1756, allocations: 1.071 MB / 0.5825 GB, free: 10.54 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001334/0.1769, allocations: 0.7979 MB / 0.5833 GB, free: 9.738 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001997/0.1771, allocations: 84 kB / 0.5834 GB, free: 9.656 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001483/0.1786, allocations: 0.5967 MB / 0.5839 GB, free: 9.059 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004905/0.1791, allocations: 378.9 kB / 0.5843 GB, free: 8.688 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007079/0.1798, allocations: 0.5134 MB / 0.5848 GB, free: 8.172 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002587/0.1824, allocations: 1.612 MB / 0.5864 GB, free: 6.555 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.1824, allocations: 4 kB / 0.5864 GB, free: 6.551 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1824, allocations: 0 / 0.5864 GB, free: 6.551 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.551e-05/0.1824, allocations: 0 / 0.5864 GB, free: 6.551 MB / 446.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.002815/0.1852, allocations: 1.312 MB / 0.5877 GB, free: 5.184 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.1853, allocations: 8.031 kB / 0.5877 GB, free: 5.176 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001861/0.1855, allocations: 135.3 kB / 0.5878 GB, free: 5.035 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004834/0.186, allocations: 132.3 kB / 0.5879 GB, free: 4.906 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001055/0.187, allocations: 0.6265 MB / 0.5885 GB, free: 4.238 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002162/0.1872, allocations: 244.8 kB / 0.5888 GB, free: 3.965 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001396/0.1874, allocations: 88.08 kB / 0.5889 GB, free: 3.879 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001989/0.1894, allocations: 1.297 MB / 0.5901 GB, free: 2.445 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.149e-05/0.1894, allocations: 7.938 kB / 0.5901 GB, free: 2.438 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001083/0.1895, allocations: 39.94 kB / 0.5902 GB, free: 2.398 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.267e-05/0.1896, allocations: 45.31 kB / 0.5902 GB, free: 2.355 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001646/0.1912, allocations: 0.961 MB / 0.5912 GB, free: 1.391 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.2537/0.4449, allocations: 7.069 MB / 0.5981 GB, free: 35.43 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005812/0.4454, allocations: 298.1 kB / 0.5983 GB, free: 35.41 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002582/0.4457, allocations: 164.9 kB / 0.5985 GB, free: 35.4 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002051/0.4478, allocations: 2.815 MB / 0.6012 GB, free: 32.65 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.4478, allocations: 41.48 kB / 0.6013 GB, free: 32.61 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 1.663e-06/0.4478, allocations: 0 / 0.6013 GB, free: 32.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.002337/0.4501, allocations: 1.118 MB / 0.6024 GB, free: 32.04 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.474e-05/0.4502, allocations: 57.19 kB / 0.6024 GB, free: 31.98 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001123/0.4513, allocations: 0.8776 MB / 0.6033 GB, free: 31.63 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.086e-05/0.4513, allocations: 32.67 kB / 0.6033 GB, free: 31.59 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003277/0.4517, allocations: 0.5931 MB / 0.6039 GB, free: 31.17 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001129/0.4518, allocations: 148.2 kB / 0.604 GB, free: 31.06 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002946/0.4521, allocations: 238.5 kB / 0.6043 GB, free: 30.94 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.4522, allocations: 399.6 kB / 0.6047 GB, free: 30.59 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004327/0.4526, allocations: 250 kB / 0.6049 GB, free: 30.52 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006951/0.4533, allocations: 0.9636 MB / 0.6058 GB, free: 29.49 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001277/0.4546, allocations: 1.315 MB / 0.6071 GB, free: 28.26 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.657e-05/0.4546, allocations: 7.156 kB / 0.6071 GB, free: 28.26 MB / 446.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002053/0.4567, allocations: 1.219 MB / 0.6083 GB, free: 27.77 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.024e-05/0.4567, allocations: 16.03 kB / 0.6083 GB, free: 27.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-05/0.4568, allocations: 26.5 kB / 0.6084 GB, free: 27.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.426e-05/0.4568, allocations: 34.16 kB / 0.6084 GB, free: 27.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008331/0.4577, allocations: 275.9 kB / 0.6086 GB, free: 27.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.113e-05/0.4577, allocations: 47.58 kB / 0.6087 GB, free: 27.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007547/0.4585, allocations: 62.25 kB / 0.6088 GB, free: 27.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001159/0.4586, allocations: 76.77 kB / 0.6088 GB, free: 27.68 MB / 446.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.0004357/0.459, allocations: 332.7 kB / 0.6091 GB, free: 27.46 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001726/0.4592, allocations: 91.69 kB / 0.6092 GB, free: 27.41 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008911/0.4601, allocations: 481.8 kB / 0.6097 GB, free: 27.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/0.4601, allocations: 5.016 kB / 0.6097 GB, free: 27.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.4601, allocations: 0 / 0.6097 GB, free: 27.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.4601, allocations: 6.812 kB / 0.6097 GB, free: 27.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001558/0.4617, allocations: 1.238 MB / 0.6109 GB, free: 26.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.4617, allocations: 7.562 kB / 0.6109 GB, free: 26.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003293/0.462, allocations: 69.44 kB / 0.611 GB, free: 26.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.345e-06/0.462, allocations: 3 kB / 0.611 GB, free: 26.38 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.867e-05/0.462, allocations: 10.19 kB / 0.611 GB, free: 26.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.564e-06/0.462, allocations: 3.609 kB / 0.611 GB, free: 26.38 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.462, allocations: 2 kB / 0.611 GB, free: 26.38 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00107/0.4631, allocations: 0.6611 MB / 0.6116 GB, free: 25.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003126/0.4634, allocations: 196.9 kB / 0.6118 GB, free: 25.82 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/0.4635, allocations: 16.94 kB / 0.6119 GB, free: 25.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003897/0.4639, allocations: 13.16 kB / 0.6119 GB, free: 25.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.482e-05/0.464, allocations: 23.41 kB / 0.6119 GB, free: 25.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.253e-05/0.464, allocations: 25.11 kB / 0.6119 GB, free: 25.79 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008246/0.4649, allocations: 0.5942 MB / 0.6125 GB, free: 25.54 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4649, allocations: 0 / 0.6125 GB, free: 25.54 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001264/0.4661, allocations: 307.3 kB / 0.6128 GB, free: 25.48 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.001601/0.4677, allocations: 1.399 MB / 0.6141 GB, free: 24.52 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001234/0.469, allocations: 0.6135 MB / 0.6147 GB, free: 24.31 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.469, allocations: 1.188 kB / 0.6148 GB, free: 24.31 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002427/0.4692, allocations: 145.7 kB / 0.6149 GB, free: 24.26 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002214/0.4714, allocations: 428.4 kB / 0.6153 GB, free: 24.15 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01106/0.4825, allocations: 8.035 MB / 0.6231 GB, free: 18.71 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006426/0.4831, allocations: 0.9971 MB / 0.6241 GB, free: 17.98 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001141/0.4843, allocations: 316 kB / 0.6244 GB, free: 17.93 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003985/0.4847, allocations: 303.1 kB / 0.6247 GB, free: 17.72 MB / 446.1 MB Notification: Performance of SimCode: time 1.202e-06/0.4847, allocations: 0 / 0.6247 GB, free: 17.72 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05608/0.5407, allocations: 24.75 MB / 0.6489 GB, free: 13.5 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.633/10.17, allocations: 3.938 kB / 0.6489 GB, free: 13.5 MB / 462.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Vessels/TestMixingVolumes/TestMixingVolumes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.52261694194749]