Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001779/0.001779, allocations: 123.4 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.002266/0.002266, allocations: 208.3 kB / 20.75 MB, free: 2.297 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.542/1.542, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2253/0.2253, allocations: 46.92 MB / 357.1 MB, free: 10.3 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 55.91 kB / 0.4909 GB, free: 7.945 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1247, allocations: 66 MB / 0.5554 GB, free: 5.824 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.02109/0.1458, allocations: 17.87 MB / 0.5728 GB, free: 3.875 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009925/0.1557, allocations: 7.03 MB / 0.5797 GB, free: 12.82 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007328/0.1565, allocations: 31.69 kB / 0.5797 GB, free: 12.79 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001095/0.1576, allocations: 385.6 kB / 0.5801 GB, free: 12.41 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001579/0.1591, allocations: 0.6956 MB / 0.5808 GB, free: 11.71 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003439/0.1626, allocations: 1.307 MB / 0.582 GB, free: 10.42 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003072/0.1656, allocations: 2.505 MB / 0.5845 GB, free: 7.906 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000992/0.1666, allocations: 0.6076 MB / 0.5851 GB, free: 7.281 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002083/0.1687, allocations: 1.059 MB / 0.5861 GB, free: 6.219 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001255/0.17, allocations: 0.7979 MB / 0.5869 GB, free: 5.418 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001665/0.1701, allocations: 88 kB / 0.587 GB, free: 5.332 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001419/0.1716, allocations: 0.5928 MB / 0.5876 GB, free: 4.738 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003999/0.172, allocations: 386.8 kB / 0.5879 GB, free: 4.359 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005733/0.1725, allocations: 0.5173 MB / 0.5884 GB, free: 3.84 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002401/0.1749, allocations: 1.612 MB / 0.59 GB, free: 2.223 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/0.1749, allocations: 4 kB / 0.59 GB, free: 2.219 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1749, allocations: 0 / 0.59 GB, free: 2.219 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.569e-05/0.175, allocations: 0 / 0.59 GB, free: 2.219 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.002694/0.1777, allocations: 1.305 MB / 0.5913 GB, free: 0.8594 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.1777, allocations: 12.03 kB / 0.5913 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001971/0.1779, allocations: 143.2 kB / 0.5914 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004716/0.1784, allocations: 124.3 kB / 0.5916 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2329/0.4113, allocations: 0.6139 MB / 0.5921 GB, free: 37.1 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002605/0.4116, allocations: 252.5 kB / 0.5924 GB, free: 36.91 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002493/0.4118, allocations: 83.33 kB / 0.5925 GB, free: 36.91 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002259/0.4141, allocations: 1.297 MB / 0.5937 GB, free: 36.53 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.26e-05/0.4141, allocations: 9.016 kB / 0.5937 GB, free: 36.53 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001203/0.4142, allocations: 37.92 kB / 0.5938 GB, free: 36.53 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.525e-05/0.4143, allocations: 42.47 kB / 0.5938 GB, free: 36.53 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001674/0.416, allocations: 0.9647 MB / 0.5948 GB, free: 36.5 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.006861/0.4228, allocations: 7.069 MB / 0.6017 GB, free: 31.05 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006401/0.4235, allocations: 299.8 kB / 0.602 GB, free: 30.94 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000313/0.4238, allocations: 155.1 kB / 0.6021 GB, free: 30.88 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0027/0.4265, allocations: 2.825 MB / 0.6049 GB, free: 27.96 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/0.4265, allocations: 38.02 kB / 0.6049 GB, free: 27.92 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 2.074e-06/0.4265, allocations: 0 / 0.6049 GB, free: 27.92 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.002794/0.4293, allocations: 1.128 MB / 0.606 GB, free: 27.26 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.148e-05/0.4294, allocations: 56.22 kB / 0.6061 GB, free: 27.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001329/0.4307, allocations: 0.8749 MB / 0.6069 GB, free: 26.83 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.3e-05/0.4307, allocations: 32.8 kB / 0.6069 GB, free: 26.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003447/0.4311, allocations: 0.5938 MB / 0.6075 GB, free: 26.32 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/0.4312, allocations: 142.3 kB / 0.6077 GB, free: 26.21 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003072/0.4315, allocations: 238.9 kB / 0.6079 GB, free: 26.09 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.4316, allocations: 395.1 kB / 0.6083 GB, free: 25.75 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004706/0.4321, allocations: 246.9 kB / 0.6085 GB, free: 25.68 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000852/0.4329, allocations: 0.9653 MB / 0.6094 GB, free: 24.63 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001401/0.4343, allocations: 1.315 MB / 0.6107 GB, free: 23.37 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.945e-05/0.4344, allocations: 7.562 kB / 0.6107 GB, free: 23.37 MB / 446.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001959/0.4363, allocations: 1.222 MB / 0.6119 GB, free: 22.87 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.997e-05/0.4364, allocations: 15.81 kB / 0.6119 GB, free: 22.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.42e-05/0.4364, allocations: 30.78 kB / 0.612 GB, free: 22.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.064e-05/0.4364, allocations: 34.5 kB / 0.612 GB, free: 22.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008019/0.4372, allocations: 280.9 kB / 0.6123 GB, free: 22.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.505e-05/0.4373, allocations: 49.91 kB / 0.6123 GB, free: 22.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007562/0.4381, allocations: 50.5 kB / 0.6124 GB, free: 22.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001112/0.4382, allocations: 82.53 kB / 0.6124 GB, free: 22.78 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.0005074/0.4387, allocations: 328.2 kB / 0.6128 GB, free: 22.56 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002038/0.4389, allocations: 91.75 kB / 0.6128 GB, free: 22.51 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001003/0.4399, allocations: 484.5 kB / 0.6133 GB, free: 22.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.239e-05/0.4399, allocations: 4.781 kB / 0.6133 GB, free: 22.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.4399, allocations: 0 / 0.6133 GB, free: 22.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.4399, allocations: 2.062 kB / 0.6133 GB, free: 22.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001757/0.4417, allocations: 1.24 MB / 0.6145 GB, free: 21.49 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.4417, allocations: 5.938 kB / 0.6145 GB, free: 21.49 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002795/0.442, allocations: 70.5 kB / 0.6146 GB, free: 21.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/0.442, allocations: 3.359 kB / 0.6146 GB, free: 21.48 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.378e-05/0.442, allocations: 10.17 kB / 0.6146 GB, free: 21.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.618e-06/0.442, allocations: 3.188 kB / 0.6146 GB, free: 21.48 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.442, allocations: 1.594 kB / 0.6146 GB, free: 21.48 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008947/0.4429, allocations: 0.6638 MB / 0.6153 GB, free: 21.08 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002634/0.4431, allocations: 204.2 kB / 0.6155 GB, free: 20.91 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.767e-05/0.4432, allocations: 16.55 kB / 0.6155 GB, free: 20.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003746/0.4436, allocations: 13.41 kB / 0.6155 GB, free: 20.89 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.469e-05/0.4437, allocations: 27.55 kB / 0.6155 GB, free: 20.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-05/0.4437, allocations: 24.02 kB / 0.6155 GB, free: 20.88 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007474/0.4445, allocations: 0.5965 MB / 0.6161 GB, free: 20.63 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4445, allocations: 0 / 0.6161 GB, free: 20.63 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001267/0.4457, allocations: 303.7 kB / 0.6164 GB, free: 20.58 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.001464/0.4472, allocations: 1.395 MB / 0.6178 GB, free: 19.61 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001208/0.4484, allocations: 0.6168 MB / 0.6184 GB, free: 19.41 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.4484, allocations: 1.094 kB / 0.6184 GB, free: 19.41 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002419/0.4487, allocations: 137 kB / 0.6185 GB, free: 19.36 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002078/0.4507, allocations: 442.1 kB / 0.6189 GB, free: 19.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01012/0.4609, allocations: 8.032 MB / 0.6268 GB, free: 13.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004565/0.4613, allocations: 1 MB / 0.6277 GB, free: 13.07 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009762/0.4623, allocations: 303.8 kB / 0.628 GB, free: 13.03 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003202/0.4626, allocations: 302.9 kB / 0.6283 GB, free: 12.82 MB / 446.1 MB Notification: Performance of SimCode: time 9.72e-07/0.4626, allocations: 0 / 0.6283 GB, free: 12.82 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05495/0.5176, allocations: 24.74 MB / 0.6525 GB, free: 6.824 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.453/9.971, allocations: 7.875 kB / 0.6525 GB, free: 6.816 MB / 462.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.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_1_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.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.191984551012865]