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.001855/0.001855, 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.001715/0.001715, allocations: 212.9 kB / 23.74 MB, free: 4.656 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.482/1.482, 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.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.223/0.223, allocations: 46.94 MB / 360.9 MB, free: 4.262 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.001955/0.001955, allocations: 63.91 kB / 0.4962 GB, free: 7.895 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3084/0.3104, allocations: 66.03 MB / 0.5606 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.02081/0.3312, allocations: 18.02 MB / 0.5782 GB, free: 2.348 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009453/0.3406, allocations: 7.105 MB / 0.5852 GB, free: 11.21 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007937/0.3414, allocations: 31.75 kB / 0.5852 GB, free: 11.18 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001133/0.3426, allocations: 389.6 kB / 0.5856 GB, free: 10.8 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00179/0.3444, allocations: 0.6878 MB / 0.5863 GB, free: 10.11 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003583/0.3479, allocations: 1.356 MB / 0.5876 GB, free: 8.762 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003349/0.3513, allocations: 2.556 MB / 0.5901 GB, free: 6.199 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009468/0.3522, allocations: 0.5689 MB / 0.5906 GB, free: 5.617 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002058/0.3543, allocations: 1.063 MB / 0.5917 GB, free: 4.551 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001381/0.3557, allocations: 0.8018 MB / 0.5925 GB, free: 3.746 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001905/0.3559, allocations: 88 kB / 0.5925 GB, free: 3.66 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001537/0.3574, allocations: 0.6201 MB / 0.5931 GB, free: 3.039 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004248/0.3578, allocations: 386.9 kB / 0.5935 GB, free: 2.66 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006787/0.3585, allocations: 0.5095 MB / 0.594 GB, free: 2.148 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002376/0.3609, allocations: 1.62 MB / 0.5956 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.3609, allocations: 0 / 0.5956 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3609, allocations: 0 / 0.5956 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.03e-05/0.3609, allocations: 0 / 0.5956 GB, free: 0.5234 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.002686/0.3636, allocations: 1.237 MB / 0.5968 GB, free: 15.25 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.3636, allocations: 12.03 kB / 0.5968 GB, free: 15.24 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002101/0.3638, allocations: 139.2 kB / 0.5969 GB, free: 15.09 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004655/0.3643, allocations: 124.3 kB / 0.5971 GB, free: 14.97 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001132/0.3654, allocations: 0.5415 MB / 0.5976 GB, free: 14.41 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003872/0.3658, allocations: 407 kB / 0.598 GB, free: 13.94 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001391/0.366, allocations: 92.06 kB / 0.5981 GB, free: 13.85 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002028/0.368, allocations: 1.301 MB / 0.5993 GB, free: 12.41 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.838e-05/0.368, allocations: 3.938 kB / 0.5993 GB, free: 12.41 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/0.3681, allocations: 43.98 kB / 0.5994 GB, free: 12.36 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.157e-05/0.3682, allocations: 41.23 kB / 0.5994 GB, free: 12.32 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001705/0.3699, allocations: 0.9649 MB / 0.6004 GB, free: 11.36 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.008779/0.3787, allocations: 7.002 MB / 0.6072 GB, free: 3.898 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006603/0.3793, allocations: 296.9 kB / 0.6075 GB, free: 3.602 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000308/0.3796, allocations: 161.4 kB / 0.6076 GB, free: 3.441 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002147/0.3818, allocations: 0.8442 MB / 0.6085 GB, free: 2.578 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.614e-05/0.3818, allocations: 34.8 kB / 0.6085 GB, free: 2.535 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 1.823e-06/0.3818, allocations: 8 kB / 0.6085 GB, free: 2.527 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.002473/0.3843, allocations: 1.046 MB / 0.6095 GB, free: 1.449 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.942e-05/0.3844, allocations: 59.41 kB / 0.6096 GB, free: 1.379 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001105/0.3855, allocations: 0.872 MB / 0.6104 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.712e-05/0.3855, allocations: 33.7 kB / 0.6105 GB, free: 468 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004856/0.386, allocations: 0.5962 MB / 0.611 GB, free: 15.85 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001225/0.3861, allocations: 135 kB / 0.6112 GB, free: 15.71 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002963/0.3864, allocations: 250.6 kB / 0.6114 GB, free: 15.46 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002166/0.3866, allocations: 398.5 kB / 0.6118 GB, free: 15.07 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004133/0.387, allocations: 246.5 kB / 0.612 GB, free: 14.82 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001012/0.3881, allocations: 0.966 MB / 0.613 GB, free: 13.5 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001669/0.3897, allocations: 1.319 MB / 0.6143 GB, free: 11.82 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.075e-05/0.3897, allocations: 4 kB / 0.6143 GB, free: 11.82 MB / 462.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002138/0.3919, allocations: 1.22 MB / 0.6155 GB, free: 10.59 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.684e-05/0.3919, allocations: 16 kB / 0.6155 GB, free: 10.57 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.263e-05/0.3919, allocations: 32 kB / 0.6155 GB, free: 10.54 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.046e-05/0.392, allocations: 36 kB / 0.6155 GB, free: 10.51 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008219/0.3928, allocations: 271.5 kB / 0.6158 GB, free: 10.24 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.161e-05/0.3929, allocations: 51.8 kB / 0.6158 GB, free: 10.19 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007392/0.3936, allocations: 51.98 kB / 0.6159 GB, free: 10.14 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001043/0.3937, allocations: 75.94 kB / 0.616 GB, free: 10.07 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.0005257/0.3942, allocations: 345 kB / 0.6163 GB, free: 9.719 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001463/0.3944, allocations: 91.44 kB / 0.6164 GB, free: 9.629 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009037/0.3953, allocations: 483.2 kB / 0.6168 GB, free: 9.152 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.364e-05/0.3953, allocations: 4 kB / 0.6169 GB, free: 9.148 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.3953, allocations: 4 kB / 0.6169 GB, free: 9.145 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.3953, allocations: 3.984 kB / 0.6169 GB, free: 9.141 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00174/0.397, allocations: 1.068 MB / 0.6179 GB, free: 8.004 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.3971, allocations: 8.188 kB / 0.6179 GB, free: 7.996 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002987/0.3974, allocations: 67.91 kB / 0.618 GB, free: 7.93 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.203e-06/0.3974, allocations: 4 kB / 0.618 GB, free: 7.926 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.84e-05/0.3974, allocations: 15.97 kB / 0.618 GB, free: 7.91 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.3974, allocations: 4 kB / 0.618 GB, free: 7.906 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.3974, allocations: 0 / 0.618 GB, free: 7.906 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/0.3984, allocations: 0.6566 MB / 0.6186 GB, free: 7.215 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003087/0.3987, allocations: 127.3 kB / 0.6188 GB, free: 7.09 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.897e-05/0.3988, allocations: 8 kB / 0.6188 GB, free: 7.082 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003554/0.3992, allocations: 16 kB / 0.6188 GB, free: 7.066 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.465e-05/0.3992, allocations: 24.02 kB / 0.6188 GB, free: 7.043 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.941e-05/0.3993, allocations: 27.92 kB / 0.6188 GB, free: 7.016 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007657/0.4, allocations: 0.5969 MB / 0.6194 GB, free: 6.406 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4, allocations: 0 / 0.6194 GB, free: 6.406 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001165/0.4012, allocations: 307.6 kB / 0.6197 GB, free: 6.105 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.00172/0.4029, allocations: 1.396 MB / 0.6211 GB, free: 4.66 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001162/0.4041, allocations: 0.6186 MB / 0.6217 GB, free: 4.047 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.4041, allocations: 7.938 kB / 0.6217 GB, free: 4.039 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002386/0.4043, allocations: 136.7 kB / 0.6218 GB, free: 3.906 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001884/0.4062, allocations: 424 kB / 0.6222 GB, free: 3.504 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01089/0.4171, allocations: 8.028 MB / 0.6301 GB, free: 10.6 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006612/0.4178, allocations: 0.9973 MB / 0.631 GB, free: 9.57 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009368/0.4187, allocations: 319 kB / 0.6313 GB, free: 9.266 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003918/0.4191, allocations: 295.3 kB / 0.6316 GB, free: 8.977 MB / 478.1 MB Notification: Performance of SimCode: time 1.042e-06/0.4191, allocations: 0 / 0.6316 GB, free: 8.977 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06285/0.4819, allocations: 25.67 MB / 0.6567 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.75/13.23, allocations: 10.95 kB / 0.6567 GB, free: 15.57 MB / 0.4981 GB " [Timeout remaining time 647] (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: 16.343356581004628]