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.001305/0.001305, allocations: 120.1 kB / 18.49 MB, free: 4.562 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.001439/0.001439, allocations: 215 kB / 21.45 MB, free: 1.617 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.507/1.507, allocations: 230.6 MB / 254.8 MB, free: 15.25 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.3109/0.3109, allocations: 44.9 MB / 355.8 MB, free: 12.34 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="cs",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.001905/0.001905, allocations: 63.91 kB / 0.4885 GB, free: 11.7 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1337, allocations: 65.43 MB / 0.5524 GB, free: 10.14 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.02076/0.1544, allocations: 17.87 MB / 0.5699 GB, free: 8.199 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01028/0.1647, allocations: 7.046 MB / 0.5768 GB, free: 1.133 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008943/0.1656, allocations: 31.69 kB / 0.5768 GB, free: 1.102 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001328/0.1669, allocations: 385.6 kB / 0.5772 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001908/0.1688, allocations: 0.6839 MB / 0.5778 GB, free: 36 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0037/0.1725, allocations: 1.323 MB / 0.5791 GB, free: 14.72 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003426/0.176, allocations: 2.513 MB / 0.5816 GB, free: 12.2 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001202/0.1772, allocations: 0.5921 MB / 0.5822 GB, free: 11.59 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002296/0.1795, allocations: 1.063 MB / 0.5832 GB, free: 10.53 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001558/0.181, allocations: 0.7979 MB / 0.584 GB, free: 9.727 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000325/0.1814, allocations: 88 kB / 0.5841 GB, free: 9.641 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001626/0.183, allocations: 0.6006 MB / 0.5846 GB, free: 9.039 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005662/0.1835, allocations: 374.9 kB / 0.585 GB, free: 8.672 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009213/0.1845, allocations: 0.5095 MB / 0.5855 GB, free: 8.16 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002567/0.187, allocations: 1.616 MB / 0.5871 GB, free: 6.539 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.187, allocations: 0 / 0.5871 GB, free: 6.539 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.187, allocations: 0 / 0.5871 GB, free: 6.539 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.38e-05/0.1871, allocations: 0 / 0.5871 GB, free: 6.539 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.002615/0.1897, allocations: 1.312 MB / 0.5884 GB, free: 5.172 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.1897, allocations: 8.031 kB / 0.5884 GB, free: 5.164 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.23e-05/0.1898, allocations: 22.19 kB / 0.5884 GB, free: 5.145 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001843/0.1899, allocations: 143.2 kB / 0.5885 GB, free: 4.996 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004783/0.1904, allocations: 124.3 kB / 0.5886 GB, free: 4.875 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001083/0.1915, allocations: 0.6266 MB / 0.5893 GB, free: 4.207 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002446/0.1917, allocations: 244.8 kB / 0.5895 GB, free: 3.93 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001542/0.1919, allocations: 91.83 kB / 0.5896 GB, free: 3.84 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002171/0.1941, allocations: 1.297 MB / 0.5908 GB, free: 2.41 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.006e-05/0.1941, allocations: 7.938 kB / 0.5908 GB, free: 2.402 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001137/0.1942, allocations: 36 kB / 0.5909 GB, free: 2.367 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-05/0.1943, allocations: 41.31 kB / 0.5909 GB, free: 2.328 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001721/0.196, allocations: 0.9649 MB / 0.5919 GB, free: 1.359 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.2418/0.4378, allocations: 7.069 MB / 0.5988 GB, free: 35.61 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005552/0.4384, allocations: 297.1 kB / 0.5991 GB, free: 35.59 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002721/0.4387, allocations: 159.5 kB / 0.5992 GB, free: 35.58 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001982/0.4406, allocations: 2.824 MB / 0.602 GB, free: 32.83 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.92e-05/0.4407, allocations: 37.73 kB / 0.602 GB, free: 32.79 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 1.593e-06/0.4407, allocations: 0 / 0.602 GB, free: 32.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.002289/0.443, allocations: 1.122 MB / 0.6031 GB, free: 32.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.48e-05/0.443, allocations: 56.17 kB / 0.6031 GB, free: 32.14 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001134/0.4441, allocations: 0.8814 MB / 0.604 GB, free: 31.77 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.973e-05/0.4442, allocations: 32.73 kB / 0.604 GB, free: 31.73 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003184/0.4445, allocations: 0.5951 MB / 0.6046 GB, free: 31.25 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/0.4446, allocations: 142.6 kB / 0.6048 GB, free: 31.15 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003155/0.4449, allocations: 242.2 kB / 0.605 GB, free: 31.03 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.445, allocations: 395.3 kB / 0.6054 GB, free: 30.68 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004369/0.4455, allocations: 243.5 kB / 0.6056 GB, free: 30.62 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006804/0.4461, allocations: 0.9613 MB / 0.6065 GB, free: 29.58 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001179/0.4473, allocations: 1.319 MB / 0.6078 GB, free: 28.34 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-05/0.4473, allocations: 6.75 kB / 0.6078 GB, free: 28.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001966/0.4493, allocations: 1.22 MB / 0.609 GB, free: 27.84 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.626e-05/0.4493, allocations: 16.98 kB / 0.609 GB, free: 27.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.791e-05/0.4494, allocations: 27.12 kB / 0.6091 GB, free: 27.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.441e-05/0.4494, allocations: 33.69 kB / 0.6091 GB, free: 27.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008259/0.4503, allocations: 274.8 kB / 0.6094 GB, free: 27.81 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.964e-05/0.4503, allocations: 51.38 kB / 0.6094 GB, free: 27.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007682/0.4511, allocations: 59.12 kB / 0.6095 GB, free: 27.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-05/0.4512, allocations: 73.3 kB / 0.6095 GB, free: 27.77 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.0003944/0.4516, allocations: 337.6 kB / 0.6099 GB, free: 27.54 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001394/0.4517, allocations: 91.09 kB / 0.6099 GB, free: 27.49 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000867/0.4526, allocations: 491.5 kB / 0.6104 GB, free: 27.28 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/0.4526, allocations: 4.594 kB / 0.6104 GB, free: 27.28 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.4526, allocations: 3.844 kB / 0.6104 GB, free: 27.28 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/0.4526, allocations: 6.328 kB / 0.6104 GB, free: 27.27 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00158/0.4542, allocations: 1.234 MB / 0.6116 GB, free: 26.47 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.4542, allocations: 1.875 kB / 0.6116 GB, free: 26.47 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000317/0.4545, allocations: 66.95 kB / 0.6117 GB, free: 26.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.316e-06/0.4545, allocations: 2.938 kB / 0.6117 GB, free: 26.46 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.583e-05/0.4546, allocations: 12.81 kB / 0.6117 GB, free: 26.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.913e-06/0.4546, allocations: 6.688 kB / 0.6117 GB, free: 26.45 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.818e-06/0.4546, allocations: 1.75 kB / 0.6117 GB, free: 26.45 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009643/0.4555, allocations: 0.6547 MB / 0.6124 GB, free: 26.06 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002797/0.4558, allocations: 199.8 kB / 0.6125 GB, free: 25.89 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/0.4559, allocations: 17.44 kB / 0.6126 GB, free: 25.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000389/0.4563, allocations: 13.5 kB / 0.6126 GB, free: 25.88 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.976e-05/0.4564, allocations: 23.23 kB / 0.6126 GB, free: 25.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.089e-05/0.4564, allocations: 24.09 kB / 0.6126 GB, free: 25.88 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008925/0.4573, allocations: 0.5988 MB / 0.6132 GB, free: 25.62 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4573, allocations: 0 / 0.6132 GB, free: 25.62 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001224/0.4585, allocations: 308.3 kB / 0.6135 GB, free: 25.56 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.001463/0.46, allocations: 1.388 MB / 0.6149 GB, free: 24.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001145/0.4612, allocations: 0.6142 MB / 0.6155 GB, free: 24.39 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.4612, allocations: 3.594 kB / 0.6155 GB, free: 24.39 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002283/0.4614, allocations: 142.2 kB / 0.6156 GB, free: 24.35 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001986/0.4634, allocations: 433 kB / 0.616 GB, free: 24.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009926/0.4733, allocations: 8.037 MB / 0.6239 GB, free: 18.79 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005571/0.4739, allocations: 0.9937 MB / 0.6248 GB, free: 18.07 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001245/0.4751, allocations: 309.1 kB / 0.6251 GB, free: 18.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003711/0.4755, allocations: 302.8 kB / 0.6254 GB, free: 17.81 MB / 446.1 MB Notification: Performance of SimCode: time 1.002e-06/0.4755, allocations: 0 / 0.6254 GB, free: 17.81 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0451/0.5206, allocations: 24.79 MB / 0.6496 GB, free: 13.62 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.21/10.73, allocations: 15.53 kB / 0.6496 GB, free: 13.61 MB / 462.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes_fmu --startTime=0 --stopTime=10 --stepSize=0.0019992 --timeout=50 --tolerance=1e-06 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.mat","/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: 14.246074100024998]