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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 107 kB / 17.33 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001354/0.001355, allocations: 193.3 kB / 18.25 MB, free: 5.117 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.552/1.552, allocations: 222.9 MB / 241.9 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2646/0.2646, allocations: 44.18 MB / 336.3 MB, free: 2.852 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 61.03 kB / 408 MB, free: 27.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1328, allocations: 60.82 MB / 468.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.02481/0.1576, allocations: 18.08 MB / 486.9 MB, free: 12.46 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01227/0.1699, allocations: 7.058 MB / 494 MB, free: 5.387 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001442/0.1715, allocations: 31.81 kB / 494 MB, free: 5.355 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001286/0.1728, allocations: 334.2 kB / 494.3 MB, free: 5.027 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001732/0.1746, allocations: 0.6258 MB / 494.9 MB, free: 4.398 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003657/0.1783, allocations: 1.24 MB / 496.2 MB, free: 3.168 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003062/0.1813, allocations: 2.516 MB / 498.7 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009994/0.1823, allocations: 0.6815 MB / 499.4 MB, free: 15.95 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001938/0.1843, allocations: 1.024 MB / 0.4887 GB, free: 14.92 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001061/0.1854, allocations: 0.8058 MB / 0.4895 GB, free: 14.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001512/0.1855, allocations: 88 kB / 0.4896 GB, free: 14.03 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001324/0.1869, allocations: 0.5343 MB / 0.4901 GB, free: 13.49 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003619/0.1872, allocations: 383 kB / 0.4904 GB, free: 13.12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005494/0.1878, allocations: 0.5173 MB / 0.4909 GB, free: 12.6 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00185/0.1897, allocations: 1.531 MB / 0.4924 GB, free: 11.06 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1897, allocations: 0 / 0.4924 GB, free: 11.06 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1897, allocations: 0 / 0.4924 GB, free: 11.06 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.955e-05/0.1897, allocations: 0 / 0.4924 GB, free: 11.06 MB / 382.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.002426/0.1921, allocations: 1.298 MB / 0.4937 GB, free: 9.715 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.1922, allocations: 12.03 kB / 0.4937 GB, free: 9.703 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001832/0.1924, allocations: 139.2 kB / 0.4939 GB, free: 9.559 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004929/0.1929, allocations: 119.8 kB / 0.494 GB, free: 9.441 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008688/0.1938, allocations: 0.5834 MB / 0.4945 GB, free: 8.816 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002021/0.194, allocations: 244.8 kB / 0.4948 GB, free: 8.539 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/0.1941, allocations: 95.95 kB / 0.4949 GB, free: 8.445 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001921/0.196, allocations: 1.309 MB / 0.4961 GB, free: 7.008 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.843e-05/0.1961, allocations: 7.938 kB / 0.4961 GB, free: 7 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000109/0.1962, allocations: 39.98 kB / 0.4962 GB, free: 6.961 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.439e-05/0.1963, allocations: 37.3 kB / 0.4962 GB, free: 6.922 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001488/0.1977, allocations: 0.9649 MB / 0.4972 GB, free: 5.957 MB / 382.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.2719/0.4696, allocations: 7.081 MB / 0.5041 GB, free: 47.54 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009244/0.4706, allocations: 315.1 kB / 0.5044 GB, free: 47.51 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004296/0.471, allocations: 172.1 kB / 0.5045 GB, free: 47.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003399/0.4744, allocations: 2.823 MB / 0.5073 GB, free: 44.78 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.405e-05/0.4745, allocations: 37.89 kB / 0.5073 GB, free: 44.74 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 2.395e-06/0.4745, allocations: 0 / 0.5073 GB, free: 44.74 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.002955/0.4775, allocations: 1.11 MB / 0.5084 GB, free: 44.33 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.4775, allocations: 54.62 kB / 0.5085 GB, free: 44.27 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001518/0.4791, allocations: 0.8788 MB / 0.5093 GB, free: 44 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.277e-05/0.4791, allocations: 33.83 kB / 0.5094 GB, free: 43.96 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004324/0.4796, allocations: 0.5732 MB / 0.5099 GB, free: 43.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001407/0.4797, allocations: 135.7 kB / 0.5101 GB, free: 43.4 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000348/0.4801, allocations: 237.3 kB / 0.5103 GB, free: 43.28 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002142/0.4803, allocations: 395.8 kB / 0.5107 GB, free: 42.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005029/0.4808, allocations: 248.8 kB / 0.5109 GB, free: 42.87 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009271/0.4817, allocations: 0.9637 MB / 0.5118 GB, free: 41.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001447/0.4832, allocations: 1.327 MB / 0.5131 GB, free: 40.63 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.538e-05/0.4832, allocations: 7.531 kB / 0.5131 GB, free: 40.63 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002315/0.4855, allocations: 1.207 MB / 0.5143 GB, free: 40.14 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.471e-05/0.4856, allocations: 19 kB / 0.5143 GB, free: 40.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.365e-05/0.4856, allocations: 27 kB / 0.5144 GB, free: 40.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.014e-05/0.4857, allocations: 34.28 kB / 0.5144 GB, free: 40.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008881/0.4866, allocations: 278.8 kB / 0.5147 GB, free: 40.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.711e-05/0.4867, allocations: 48.73 kB / 0.5147 GB, free: 40.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001051/0.4877, allocations: 68.97 kB / 0.5148 GB, free: 40.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001186/0.4879, allocations: 81.8 kB / 0.5148 GB, free: 40.05 MB / 382.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.0004953/0.4884, allocations: 330.8 kB / 0.5152 GB, free: 39.83 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001551/0.4885, allocations: 90.72 kB / 0.5152 GB, free: 39.78 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001012/0.4896, allocations: 472.5 kB / 0.5157 GB, free: 39.57 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.426e-05/0.4896, allocations: 4.969 kB / 0.5157 GB, free: 39.57 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.4896, allocations: 0 / 0.5157 GB, free: 39.57 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.729e-06/0.4896, allocations: 7.375 kB / 0.5157 GB, free: 39.57 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00196/0.4916, allocations: 1.242 MB / 0.5169 GB, free: 38.76 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.4916, allocations: 1.375 kB / 0.5169 GB, free: 38.76 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003225/0.4919, allocations: 72.75 kB / 0.517 GB, free: 38.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.553e-06/0.4919, allocations: 8.781 kB / 0.517 GB, free: 38.75 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.521e-05/0.492, allocations: 8 kB / 0.517 GB, free: 38.74 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.492, allocations: 7.641 kB / 0.517 GB, free: 38.74 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.492, allocations: 0 / 0.517 GB, free: 38.74 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001031/0.493, allocations: 0.656 MB / 0.5177 GB, free: 38.35 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003428/0.4934, allocations: 196.6 kB / 0.5178 GB, free: 38.19 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001225/0.4935, allocations: 17.48 kB / 0.5179 GB, free: 38.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004396/0.4939, allocations: 21.92 kB / 0.5179 GB, free: 38.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.782e-05/0.494, allocations: 30.53 kB / 0.5179 GB, free: 38.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.343e-05/0.4941, allocations: 26.22 kB / 0.5179 GB, free: 38.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001192/0.4953, allocations: 0.5945 MB / 0.5185 GB, free: 37.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.243e-06/0.4953, allocations: 0 / 0.5185 GB, free: 37.91 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001719/0.497, allocations: 303.9 kB / 0.5188 GB, free: 37.87 MB / 382.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.002175/0.4992, allocations: 1.421 MB / 0.5202 GB, free: 36.91 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001667/0.5009, allocations: 0.6644 MB / 0.5208 GB, free: 36.7 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.5009, allocations: 1.094 kB / 0.5208 GB, free: 36.7 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003027/0.5012, allocations: 149.6 kB / 0.521 GB, free: 36.65 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002139/0.5034, allocations: 430.8 kB / 0.5214 GB, free: 36.54 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01102/0.5144, allocations: 8.686 MB / 0.5299 GB, free: 30.32 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004486/0.5149, allocations: 0.9966 MB / 0.5309 GB, free: 29.59 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001187/0.5161, allocations: 314.3 kB / 0.5312 GB, free: 29.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000311/0.5164, allocations: 299.7 kB / 0.5314 GB, free: 29.28 MB / 382.1 MB Notification: Performance of SimCode: time 1.392e-06/0.5164, allocations: 4 kB / 0.5314 GB, free: 29.27 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04477/0.5612, allocations: 24.23 MB / 0.5551 GB, free: 6.656 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002309/0.5615, allocations: 267.1 kB / 0.5554 GB, free: 6.305 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.497/3.059, allocations: 0 / 0.5554 GB, free: 6.305 MB / 382.1 MB (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 --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) 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) Reference file matches