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.00129/0.00129, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001608/0.001608, allocations: 209.2 kB / 23.74 MB, free: 4.66 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.442/1.442, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.2162/0.2162, allocations: 44.9 MB / 358.8 MB, free: 6.289 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.00201/0.00201, allocations: 67.89 kB / 0.4931 GB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/0.3084, allocations: 65.48 MB / 0.557 GB, free: 7.52 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.02069/0.3291, allocations: 18.03 MB / 0.5746 GB, free: 5.68 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009708/0.3388, allocations: 7.097 MB / 0.5816 GB, free: 14.55 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008293/0.3396, allocations: 31.69 kB / 0.5816 GB, free: 14.52 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001141/0.3407, allocations: 385.6 kB / 0.582 GB, free: 14.14 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001719/0.3425, allocations: 0.6996 MB / 0.5827 GB, free: 13.44 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003488/0.3459, allocations: 1.345 MB / 0.584 GB, free: 12.11 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003209/0.3492, allocations: 2.56 MB / 0.5865 GB, free: 9.539 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009663/0.3501, allocations: 0.569 MB / 0.587 GB, free: 8.957 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001963/0.3521, allocations: 1.059 MB / 0.5881 GB, free: 7.895 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001299/0.3534, allocations: 0.8057 MB / 0.5888 GB, free: 7.086 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001783/0.3536, allocations: 88 kB / 0.5889 GB, free: 7 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001413/0.355, allocations: 0.624 MB / 0.5895 GB, free: 6.375 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003859/0.3554, allocations: 374.9 kB / 0.5899 GB, free: 6.008 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006033/0.356, allocations: 0.5095 MB / 0.5904 GB, free: 5.496 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002237/0.3582, allocations: 1.62 MB / 0.592 GB, free: 3.871 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.3582, allocations: 0 / 0.592 GB, free: 3.871 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3582, allocations: 0 / 0.592 GB, free: 3.871 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.525e-05/0.3582, allocations: 0 / 0.592 GB, free: 3.871 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.002489/0.3607, allocations: 1.241 MB / 0.5932 GB, free: 2.594 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.3608, allocations: 8.031 kB / 0.5932 GB, free: 2.586 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001861/0.3609, allocations: 143.2 kB / 0.5933 GB, free: 2.438 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004931/0.3614, allocations: 128.2 kB / 0.5934 GB, free: 2.312 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001132/0.3626, allocations: 0.5454 MB / 0.594 GB, free: 1.742 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002992/0.3629, allocations: 407 kB / 0.5944 GB, free: 1.273 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001356/0.363, allocations: 92.06 kB / 0.5945 GB, free: 1.184 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002018/0.365, allocations: 1.289 MB / 0.5957 GB, free: 15.76 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.71e-05/0.3651, allocations: 11.92 kB / 0.5957 GB, free: 15.75 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001173/0.3652, allocations: 39.98 kB / 0.5958 GB, free: 15.71 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.876e-05/0.3652, allocations: 37.31 kB / 0.5958 GB, free: 15.67 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001637/0.3669, allocations: 0.9688 MB / 0.5967 GB, free: 14.7 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.00728/0.3741, allocations: 7.002 MB / 0.6036 GB, free: 7.242 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005474/0.3747, allocations: 304.8 kB / 0.6039 GB, free: 6.938 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002687/0.375, allocations: 157.4 kB / 0.604 GB, free: 6.781 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001671/0.3766, allocations: 0.8442 MB / 0.6049 GB, free: 5.918 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.164e-05/0.3767, allocations: 42.73 kB / 0.6049 GB, free: 5.867 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 1.613e-06/0.3767, allocations: 0 / 0.6049 GB, free: 5.867 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.002262/0.3789, allocations: 1.042 MB / 0.6059 GB, free: 4.793 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/0.379, allocations: 55.41 kB / 0.606 GB, free: 4.727 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001071/0.3801, allocations: 0.8759 MB / 0.6068 GB, free: 3.84 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.007e-05/0.3801, allocations: 29.7 kB / 0.6068 GB, free: 3.805 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004405/0.3805, allocations: 0.5921 MB / 0.6074 GB, free: 3.203 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001117/0.3806, allocations: 135 kB / 0.6076 GB, free: 3.07 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002745/0.3809, allocations: 250.6 kB / 0.6078 GB, free: 2.82 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002205/0.3811, allocations: 398.7 kB / 0.6082 GB, free: 2.422 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004283/0.3816, allocations: 250.5 kB / 0.6084 GB, free: 2.176 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009729/0.3825, allocations: 0.9621 MB / 0.6094 GB, free: 0.8555 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001517/0.3841, allocations: 1.319 MB / 0.6106 GB, free: 15.18 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.095e-05/0.3841, allocations: 11.94 kB / 0.6107 GB, free: 15.16 MB / 462.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001917/0.386, allocations: 1.219 MB / 0.6118 GB, free: 13.93 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.238e-05/0.386, allocations: 16 kB / 0.6119 GB, free: 13.92 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.648e-05/0.386, allocations: 24 kB / 0.6119 GB, free: 13.89 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.42e-05/0.3861, allocations: 36 kB / 0.6119 GB, free: 13.86 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007972/0.3869, allocations: 275.5 kB / 0.6122 GB, free: 13.59 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.494e-05/0.3869, allocations: 51.78 kB / 0.6122 GB, free: 13.54 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006552/0.3876, allocations: 52.47 kB / 0.6123 GB, free: 13.49 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.704e-05/0.3877, allocations: 83.98 kB / 0.6124 GB, free: 13.41 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.0004769/0.3882, allocations: 338 kB / 0.6127 GB, free: 13.07 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001715/0.3883, allocations: 91.44 kB / 0.6128 GB, free: 12.98 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001019/0.3894, allocations: 490.5 kB / 0.6132 GB, free: 12.49 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/0.3894, allocations: 4 kB / 0.6132 GB, free: 12.49 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.3894, allocations: 0 / 0.6132 GB, free: 12.49 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.3894, allocations: 3.984 kB / 0.6132 GB, free: 12.48 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001822/0.3912, allocations: 1.072 MB / 0.6143 GB, free: 11.34 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.553e-06/0.3912, allocations: 3.938 kB / 0.6143 GB, free: 11.34 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002992/0.3915, allocations: 67.91 kB / 0.6144 GB, free: 11.27 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.244e-06/0.3915, allocations: 4 kB / 0.6144 GB, free: 11.27 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.534e-05/0.3915, allocations: 8 kB / 0.6144 GB, free: 11.26 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.095e-06/0.3915, allocations: 7.984 kB / 0.6144 GB, free: 11.25 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.67e-06/0.3916, allocations: 7.938 kB / 0.6144 GB, free: 11.25 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001019/0.3926, allocations: 0.6491 MB / 0.615 GB, free: 10.56 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003712/0.3929, allocations: 123.3 kB / 0.6151 GB, free: 10.44 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001103/0.3931, allocations: 20.05 kB / 0.6152 GB, free: 10.42 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003694/0.3934, allocations: 16 kB / 0.6152 GB, free: 10.41 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.322e-05/0.3935, allocations: 27.89 kB / 0.6152 GB, free: 10.38 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.111e-05/0.3935, allocations: 27.92 kB / 0.6152 GB, free: 10.35 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008308/0.3943, allocations: 0.597 MB / 0.6158 GB, free: 9.742 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3943, allocations: 0 / 0.6158 GB, free: 9.742 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001161/0.3955, allocations: 299.6 kB / 0.6161 GB, free: 9.449 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.001778/0.3973, allocations: 1.396 MB / 0.6175 GB, free: 8.004 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001176/0.3985, allocations: 0.6213 MB / 0.6181 GB, free: 7.387 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.3985, allocations: 0 / 0.6181 GB, free: 7.387 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000252/0.3987, allocations: 138.4 kB / 0.6182 GB, free: 7.254 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001928/0.4006, allocations: 438.3 kB / 0.6186 GB, free: 6.844 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01129/0.4119, allocations: 8.023 MB / 0.6264 GB, free: 13.94 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007268/0.4127, allocations: 0.9973 MB / 0.6274 GB, free: 12.91 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009758/0.4136, allocations: 308.4 kB / 0.6277 GB, free: 12.61 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004157/0.414, allocations: 307.3 kB / 0.628 GB, free: 12.31 MB / 478.1 MB Notification: Performance of SimCode: time 9.92e-07/0.414, allocations: 0 / 0.628 GB, free: 12.31 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06389/0.4779, allocations: 25.68 MB / 0.6531 GB, free: 2.91 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.79/13.27, allocations: 0 / 0.6531 GB, free: 2.91 MB / 494.1 MB " [Timeout remaining time 647] (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: 16.2942992610042]