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.00212/0.00212, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002066/0.002066, allocations: 217.9 kB / 23.73 MB, free: 4.164 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.42/1.42, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.2261/0.2261, allocations: 46.95 MB / 360.9 MB, free: 4.043 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.003097/0.003097, allocations: 71.89 kB / 0.4961 GB, free: 7.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.3285, allocations: 66.04 MB / 0.5606 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01994/0.3485, allocations: 16.31 MB / 0.5765 GB, free: 3.855 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00937/0.3578, allocations: 6.49 MB / 0.5829 GB, free: 13.34 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007728/0.3586, allocations: 27.75 kB / 0.5829 GB, free: 13.31 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001037/0.3596, allocations: 373.6 kB / 0.5832 GB, free: 12.95 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001657/0.3613, allocations: 0.6956 MB / 0.5839 GB, free: 12.25 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003445/0.3647, allocations: 1.332 MB / 0.5852 GB, free: 10.93 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002973/0.3677, allocations: 2.548 MB / 0.5877 GB, free: 8.371 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008497/0.3686, allocations: 0.565 MB / 0.5883 GB, free: 7.793 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001886/0.3705, allocations: 1.075 MB / 0.5893 GB, free: 6.715 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001184/0.3716, allocations: 0.7784 MB / 0.5901 GB, free: 5.934 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001606/0.3718, allocations: 84 kB / 0.5902 GB, free: 5.852 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001172/0.373, allocations: 487.2 kB / 0.5906 GB, free: 5.375 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000408/0.3734, allocations: 386.9 kB / 0.591 GB, free: 4.996 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005183/0.3739, allocations: 450.2 kB / 0.5914 GB, free: 4.555 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002076/0.376, allocations: 1.581 MB / 0.593 GB, free: 2.969 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.376, allocations: 4 kB / 0.593 GB, free: 2.965 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.376, allocations: 0 / 0.593 GB, free: 2.965 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.478e-05/0.376, allocations: 0 / 0.593 GB, free: 2.965 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.002492/0.3785, allocations: 1.229 MB / 0.5942 GB, free: 1.699 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.3785, allocations: 12.03 kB / 0.5942 GB, free: 1.688 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001801/0.3787, allocations: 143.2 kB / 0.5943 GB, free: 1.539 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004506/0.3792, allocations: 128.2 kB / 0.5944 GB, free: 1.414 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001165/0.3803, allocations: 0.5493 MB / 0.595 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003294/0.3807, allocations: 407 kB / 0.5954 GB, free: 380 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001364/0.3808, allocations: 84.08 kB / 0.5954 GB, free: 296 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002262/0.3831, allocations: 1.711 MB / 0.5971 GB, free: 14.34 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.959e-05/0.3831, allocations: 11.88 kB / 0.5971 GB, free: 14.33 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.65e-05/0.3832, allocations: 36 kB / 0.5972 GB, free: 14.29 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.237e-05/0.3832, allocations: 37.31 kB / 0.5972 GB, free: 14.26 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001571/0.3848, allocations: 0.961 MB / 0.5981 GB, free: 13.3 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.006741/0.3915, allocations: 5.933 MB / 0.6039 GB, free: 7.125 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005721/0.3921, allocations: 292.6 kB / 0.6042 GB, free: 6.832 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002819/0.3924, allocations: 153.4 kB / 0.6043 GB, free: 6.68 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001756/0.3942, allocations: 0.7977 MB / 0.6051 GB, free: 5.863 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.078e-05/0.3942, allocations: 38.8 kB / 0.6052 GB, free: 5.816 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 1.803e-06/0.3942, allocations: 0 / 0.6052 GB, free: 5.816 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.002351/0.3966, allocations: 1.046 MB / 0.6062 GB, free: 4.738 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.355e-05/0.3966, allocations: 55.41 kB / 0.6062 GB, free: 4.672 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001074/0.3977, allocations: 0.9185 MB / 0.6071 GB, free: 3.742 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.007e-05/0.3977, allocations: 29.7 kB / 0.6072 GB, free: 3.707 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004481/0.3982, allocations: 0.5883 MB / 0.6077 GB, free: 3.109 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001167/0.3983, allocations: 146.9 kB / 0.6079 GB, free: 2.965 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002671/0.3986, allocations: 246.7 kB / 0.6081 GB, free: 2.719 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002146/0.3988, allocations: 398.7 kB / 0.6085 GB, free: 2.32 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004058/0.3992, allocations: 246.5 kB / 0.6087 GB, free: 2.078 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001077/0.4003, allocations: 0.9621 MB / 0.6097 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001587/0.4018, allocations: 1.316 MB / 0.611 GB, free: 15.08 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.044e-05/0.4019, allocations: 11.94 kB / 0.611 GB, free: 15.07 MB / 462.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001844/0.4037, allocations: 1.216 MB / 0.6122 GB, free: 13.85 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.572e-05/0.4037, allocations: 16 kB / 0.6122 GB, free: 13.83 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.863e-05/0.4038, allocations: 24 kB / 0.6122 GB, free: 13.81 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.511e-05/0.4038, allocations: 36 kB / 0.6122 GB, free: 13.77 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007581/0.4046, allocations: 279.4 kB / 0.6125 GB, free: 13.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.754e-05/0.4046, allocations: 51.78 kB / 0.6125 GB, free: 13.45 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006729/0.4053, allocations: 52 kB / 0.6126 GB, free: 13.4 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.341e-05/0.4054, allocations: 76 kB / 0.6127 GB, free: 13.32 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.0004293/0.4058, allocations: 333.8 kB / 0.613 GB, free: 12.99 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001428/0.406, allocations: 91.44 kB / 0.6131 GB, free: 12.9 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009079/0.4069, allocations: 486.6 kB / 0.6135 GB, free: 12.42 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-05/0.4069, allocations: 7.984 kB / 0.6135 GB, free: 12.41 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.4069, allocations: 4 kB / 0.6135 GB, free: 12.41 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.4069, allocations: 0 / 0.6135 GB, free: 12.41 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001704/0.4086, allocations: 1.014 MB / 0.6145 GB, free: 11.32 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.41e-05/0.4086, allocations: 7.938 kB / 0.6145 GB, free: 11.32 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000304/0.4089, allocations: 63.91 kB / 0.6146 GB, free: 11.25 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.396e-06/0.4089, allocations: 8 kB / 0.6146 GB, free: 11.25 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.395e-05/0.4089, allocations: 12.19 kB / 0.6146 GB, free: 11.23 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-06/0.409, allocations: 8 kB / 0.6146 GB, free: 11.23 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.409, allocations: 0 / 0.6146 GB, free: 11.23 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009387/0.4099, allocations: 0.6606 MB / 0.6153 GB, free: 10.53 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002883/0.4102, allocations: 123.3 kB / 0.6154 GB, free: 10.41 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.385e-05/0.4103, allocations: 8 kB / 0.6154 GB, free: 10.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003598/0.4106, allocations: 19.97 kB / 0.6154 GB, free: 10.38 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.204e-05/0.4107, allocations: 27.95 kB / 0.6154 GB, free: 10.36 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.515e-05/0.4107, allocations: 27.92 kB / 0.6155 GB, free: 10.33 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000762/0.4115, allocations: 0.593 MB / 0.6161 GB, free: 9.723 MB / 462.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4115, allocations: 4.062 kB / 0.6161 GB, free: 9.719 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001101/0.4126, allocations: 307.6 kB / 0.6163 GB, free: 9.418 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.001664/0.4142, allocations: 1.396 MB / 0.6177 GB, free: 7.973 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001067/0.4153, allocations: 0.6227 MB / 0.6183 GB, free: 7.355 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.4153, allocations: 4 kB / 0.6183 GB, free: 7.352 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002343/0.4156, allocations: 137 kB / 0.6185 GB, free: 7.219 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001841/0.4174, allocations: 416.6 kB / 0.6189 GB, free: 6.82 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01065/0.428, allocations: 8.021 MB / 0.6267 GB, free: 13.92 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004692/0.4285, allocations: 405.5 kB / 0.6271 GB, free: 13.49 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009617/0.4295, allocations: 307.6 kB / 0.6274 GB, free: 13.2 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004115/0.4299, allocations: 299.3 kB / 0.6277 GB, free: 12.9 MB / 478.1 MB Notification: Performance of SimCode: time 1.152e-06/0.4299, allocations: 0 / 0.6277 GB, free: 12.9 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06712/0.497, allocations: 26.65 MB / 0.6537 GB, free: 2.734 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.08/12.57, allocations: 0 / 0.6537 GB, free: 2.734 MB / 494.1 MB " [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: 15.66894182516262]