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.001748/0.001748, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002088/0.002088, allocations: 204 kB / 23.73 MB, free: 4.379 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.402/1.402, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2285/0.2285, allocations: 46.96 MB / 360.9 MB, free: 4.035 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.00196/0.00196, allocations: 75.86 kB / 0.4961 GB, free: 7.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3029/0.3049, allocations: 66.03 MB / 0.5606 GB, free: 4.098 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.02001/0.3249, allocations: 16.31 MB / 0.5765 GB, free: 3.719 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01004/0.3349, allocations: 6.502 MB / 0.5829 GB, free: 13.19 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008203/0.3357, allocations: 31.69 kB / 0.5829 GB, free: 13.16 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001117/0.3369, allocations: 373.6 kB / 0.5833 GB, free: 12.79 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001777/0.3386, allocations: 0.6918 MB / 0.5839 GB, free: 12.1 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003627/0.3423, allocations: 1.333 MB / 0.5852 GB, free: 10.77 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003783/0.346, allocations: 2.556 MB / 0.5877 GB, free: 8.211 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001235/0.3473, allocations: 0.5728 MB / 0.5883 GB, free: 7.625 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002464/0.3497, allocations: 1.071 MB / 0.5893 GB, free: 6.551 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001421/0.3512, allocations: 0.8018 MB / 0.5901 GB, free: 5.746 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002003/0.3514, allocations: 88 kB / 0.5902 GB, free: 5.66 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00146/0.3528, allocations: 491.2 kB / 0.5907 GB, free: 5.18 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004771/0.3533, allocations: 382.9 kB / 0.591 GB, free: 4.805 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000652/0.354, allocations: 450.2 kB / 0.5915 GB, free: 4.363 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00252/0.3565, allocations: 1.581 MB / 0.593 GB, free: 2.777 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.3565, allocations: 0 / 0.593 GB, free: 2.777 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3565, allocations: 0 / 0.593 GB, free: 2.777 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.028e-05/0.3565, allocations: 0 / 0.593 GB, free: 2.777 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.00266/0.3592, allocations: 1.233 MB / 0.5942 GB, free: 1.508 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.3592, allocations: 12.03 kB / 0.5942 GB, free: 1.496 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001846/0.3594, allocations: 139.2 kB / 0.5944 GB, free: 1.352 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004845/0.3599, allocations: 124.3 kB / 0.5945 GB, free: 1.23 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001183/0.3611, allocations: 0.5532 MB / 0.595 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003103/0.3614, allocations: 418.9 kB / 0.5954 GB, free: 176 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000145/0.3615, allocations: 88.02 kB / 0.5955 GB, free: 88 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002305/0.3638, allocations: 1.703 MB / 0.5972 GB, free: 14.15 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.294e-05/0.3639, allocations: 7.938 kB / 0.5972 GB, free: 14.14 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/0.364, allocations: 36 kB / 0.5972 GB, free: 14.11 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.009e-05/0.364, allocations: 37.3 kB / 0.5972 GB, free: 14.07 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001651/0.3657, allocations: 0.961 MB / 0.5982 GB, free: 13.11 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.007725/0.3734, allocations: 5.929 MB / 0.604 GB, free: 6.938 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005928/0.374, allocations: 296.6 kB / 0.6043 GB, free: 6.641 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002961/0.3743, allocations: 157.4 kB / 0.6044 GB, free: 6.484 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001842/0.3761, allocations: 0.7899 MB / 0.6052 GB, free: 5.676 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.689e-05/0.3762, allocations: 38.8 kB / 0.6052 GB, free: 5.629 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 1.683e-06/0.3762, allocations: 0 / 0.6052 GB, free: 5.629 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.002401/0.3786, allocations: 1.046 MB / 0.6062 GB, free: 4.551 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.974e-05/0.3786, allocations: 55.41 kB / 0.6063 GB, free: 4.484 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001146/0.3798, allocations: 0.9146 MB / 0.6072 GB, free: 3.559 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.555e-05/0.3798, allocations: 29.7 kB / 0.6072 GB, free: 3.523 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004764/0.3803, allocations: 0.5921 MB / 0.6078 GB, free: 2.922 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001394/0.3804, allocations: 154.9 kB / 0.6079 GB, free: 2.77 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002983/0.3807, allocations: 234.7 kB / 0.6082 GB, free: 2.535 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002503/0.381, allocations: 402.7 kB / 0.6085 GB, free: 2.133 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004347/0.3814, allocations: 246.5 kB / 0.6088 GB, free: 1.891 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001066/0.3825, allocations: 0.9621 MB / 0.6097 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00163/0.3841, allocations: 1.319 MB / 0.611 GB, free: 14.89 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-05/0.3841, allocations: 8 kB / 0.611 GB, free: 14.88 MB / 462.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002059/0.3862, allocations: 1.216 MB / 0.6122 GB, free: 13.66 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.652e-05/0.3862, allocations: 16 kB / 0.6122 GB, free: 13.64 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.071e-05/0.3863, allocations: 31.98 kB / 0.6122 GB, free: 13.61 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.504e-05/0.3863, allocations: 32 kB / 0.6123 GB, free: 13.58 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008304/0.3871, allocations: 279.4 kB / 0.6125 GB, free: 13.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.654e-05/0.3872, allocations: 51.8 kB / 0.6126 GB, free: 13.25 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007089/0.3879, allocations: 48.41 kB / 0.6126 GB, free: 13.21 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/0.388, allocations: 87.98 kB / 0.6127 GB, free: 13.12 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.0004864/0.3885, allocations: 329.6 kB / 0.613 GB, free: 12.79 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001671/0.3886, allocations: 87.44 kB / 0.6131 GB, free: 12.7 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009158/0.3896, allocations: 494.5 kB / 0.6136 GB, free: 12.21 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.097e-05/0.3896, allocations: 4 kB / 0.6136 GB, free: 12.21 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.3896, allocations: 0 / 0.6136 GB, free: 12.21 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.3896, allocations: 0 / 0.6136 GB, free: 12.21 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001759/0.3913, allocations: 1.01 MB / 0.6146 GB, free: 11.13 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.959e-06/0.3913, allocations: 7.938 kB / 0.6146 GB, free: 11.12 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002912/0.3916, allocations: 71.84 kB / 0.6147 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.808e-06/0.3916, allocations: 8.172 kB / 0.6147 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.781e-05/0.3917, allocations: 15.98 kB / 0.6147 GB, free: 11.03 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.931e-06/0.3917, allocations: 4 kB / 0.6147 GB, free: 11.03 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.3917, allocations: 0 / 0.6147 GB, free: 11.03 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001022/0.3927, allocations: 0.6566 MB / 0.6153 GB, free: 10.34 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003177/0.393, allocations: 127.3 kB / 0.6154 GB, free: 10.21 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001017/0.3931, allocations: 11.98 kB / 0.6155 GB, free: 10.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003563/0.3935, allocations: 12 kB / 0.6155 GB, free: 10.19 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.025e-05/0.3935, allocations: 27.89 kB / 0.6155 GB, free: 10.16 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.005e-05/0.3936, allocations: 23.98 kB / 0.6155 GB, free: 10.14 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000839/0.3944, allocations: 0.597 MB / 0.6161 GB, free: 9.527 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3944, allocations: 0 / 0.6161 GB, free: 9.527 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001266/0.3957, allocations: 315.5 kB / 0.6164 GB, free: 9.219 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.001865/0.3975, allocations: 1.392 MB / 0.6178 GB, free: 7.777 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001219/0.3988, allocations: 0.6189 MB / 0.6184 GB, free: 7.164 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.583e-06/0.3988, allocations: 4 kB / 0.6184 GB, free: 7.16 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000247/0.399, allocations: 136.8 kB / 0.6185 GB, free: 7.027 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002068/0.4011, allocations: 423.8 kB / 0.6189 GB, free: 6.625 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01289/0.414, allocations: 8.024 MB / 0.6267 GB, free: 13.72 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000459/0.4144, allocations: 397.5 kB / 0.6271 GB, free: 13.3 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001034/0.4155, allocations: 314.9 kB / 0.6274 GB, free: 13 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004171/0.4159, allocations: 307.3 kB / 0.6277 GB, free: 12.7 MB / 478.1 MB Notification: Performance of SimCode: time 9.22e-07/0.4159, allocations: 0 / 0.6277 GB, free: 12.7 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06944/0.4853, allocations: 27.03 MB / 0.6541 GB, free: 2.125 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/12.01, allocations: 11.59 kB / 0.6541 GB, free: 2.117 MB / 494.1 MB " [Timeout remaining time 648] (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: 14.914322586992057]