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.001217/0.001218, allocations: 106.5 kB / 17.2 MB, free: 6.289 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.001091/0.001091, allocations: 194 kB / 18.12 MB, free: 5.383 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.459/1.459, allocations: 222.9 MB / 241.8 MB, free: 15.51 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.2306/0.2306, allocations: 44.18 MB / 336.1 MB, free: 3.012 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 61.42 kB / 407.8 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1228, allocations: 60.83 MB / 468.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01967/0.1425, allocations: 18.12 MB / 486.8 MB, free: 12.55 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00922/0.1518, allocations: 7.121 MB / 493.9 MB, free: 5.41 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001109/0.153, allocations: 23.81 kB / 493.9 MB, free: 5.387 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001115/0.1541, allocations: 330.2 kB / 494.2 MB, free: 5.062 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001689/0.1558, allocations: 0.6531 MB / 494.9 MB, free: 4.406 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003586/0.1594, allocations: 1.21 MB / 496.1 MB, free: 3.207 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00366/0.1631, allocations: 3.578 MB / 499.7 MB, free: 15.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009002/0.164, allocations: 0.5877 MB / 0.4885 GB, free: 15.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001752/0.1658, allocations: 0.9147 MB / 0.4894 GB, free: 14.1 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001038/0.1668, allocations: 0.7862 MB / 0.4902 GB, free: 13.31 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001448/0.167, allocations: 51.94 kB / 0.4902 GB, free: 13.26 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001404/0.1684, allocations: 0.5381 MB / 0.4908 GB, free: 12.72 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003342/0.1687, allocations: 351 kB / 0.4911 GB, free: 12.38 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005155/0.1693, allocations: 497.7 kB / 0.4916 GB, free: 11.89 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001718/0.171, allocations: 1.492 MB / 0.493 GB, free: 10.39 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.171, allocations: 0 / 0.493 GB, free: 10.39 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.171, allocations: 0 / 0.493 GB, free: 10.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.295e-05/0.171, allocations: 0 / 0.493 GB, free: 10.39 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.002497/0.1735, allocations: 1.291 MB / 0.4943 GB, free: 9.051 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/0.1736, allocations: 15.97 kB / 0.4943 GB, free: 9.035 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001837/0.1738, allocations: 143.2 kB / 0.4944 GB, free: 8.887 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004759/0.1743, allocations: 127.7 kB / 0.4946 GB, free: 8.762 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008821/0.1752, allocations: 0.5756 MB / 0.4951 GB, free: 8.145 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002135/0.1754, allocations: 252.8 kB / 0.4954 GB, free: 7.859 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001371/0.1755, allocations: 84.03 kB / 0.4954 GB, free: 7.777 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001992/0.1775, allocations: 1.309 MB / 0.4967 GB, free: 6.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.908e-05/0.1776, allocations: 7.938 kB / 0.4967 GB, free: 6.332 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001073/0.1777, allocations: 36 kB / 0.4968 GB, free: 6.297 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.067e-05/0.1778, allocations: 49.23 kB / 0.4968 GB, free: 6.246 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001802/0.1796, allocations: 0.9611 MB / 0.4977 GB, free: 5.285 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.241/0.4205, allocations: 7.075 MB / 0.5047 GB, free: 47.59 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006471/0.4212, allocations: 313.7 kB / 0.505 GB, free: 47.56 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000319/0.4215, allocations: 172.3 kB / 0.5051 GB, free: 47.55 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002478/0.424, allocations: 2.813 MB / 0.5079 GB, free: 44.83 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.554e-05/0.4241, allocations: 47 kB / 0.5079 GB, free: 44.79 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.943e-06/0.4241, allocations: 2.844 kB / 0.5079 GB, free: 44.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.002434/0.4265, allocations: 1.102 MB / 0.509 GB, free: 44.37 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/0.4266, allocations: 63.03 kB / 0.5091 GB, free: 44.3 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/0.4277, allocations: 0.8772 MB / 0.5099 GB, free: 44.02 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.595e-05/0.4277, allocations: 32.2 kB / 0.5099 GB, free: 43.98 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003167/0.428, allocations: 0.5697 MB / 0.5105 GB, free: 43.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.877e-05/0.4281, allocations: 130.9 kB / 0.5106 GB, free: 43.43 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002835/0.4284, allocations: 245.7 kB / 0.5109 GB, free: 43.3 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.4286, allocations: 400.2 kB / 0.5112 GB, free: 42.95 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004442/0.429, allocations: 241.9 kB / 0.5115 GB, free: 42.89 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008149/0.4298, allocations: 0.9621 MB / 0.5124 GB, free: 41.85 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001193/0.431, allocations: 1.323 MB / 0.5137 GB, free: 40.64 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.439e-05/0.431, allocations: 8.281 kB / 0.5137 GB, free: 40.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001819/0.4329, allocations: 1.213 MB / 0.5149 GB, free: 40.15 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.124e-05/0.4329, allocations: 20.31 kB / 0.5149 GB, free: 40.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.658e-05/0.4329, allocations: 26 kB / 0.5149 GB, free: 40.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.574e-05/0.433, allocations: 36.94 kB / 0.515 GB, free: 40.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007924/0.4338, allocations: 274.6 kB / 0.5152 GB, free: 40.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.002e-05/0.4339, allocations: 52.5 kB / 0.5153 GB, free: 40.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007763/0.4346, allocations: 69.59 kB / 0.5154 GB, free: 40.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.105e-05/0.4347, allocations: 72.45 kB / 0.5154 GB, free: 40.07 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.0003982/0.4351, allocations: 335.1 kB / 0.5157 GB, free: 39.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001364/0.4353, allocations: 87.72 kB / 0.5158 GB, free: 39.8 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009379/0.4362, allocations: 487.9 kB / 0.5163 GB, free: 39.59 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.311e-05/0.4363, allocations: 3.562 kB / 0.5163 GB, free: 39.59 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.828e-06/0.4363, allocations: 1.125 kB / 0.5163 GB, free: 39.59 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.4363, allocations: 6.359 kB / 0.5163 GB, free: 39.59 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001815/0.4381, allocations: 1.243 MB / 0.5175 GB, free: 38.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.4381, allocations: 3.594 kB / 0.5175 GB, free: 38.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002808/0.4384, allocations: 68.12 kB / 0.5176 GB, free: 38.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.746e-06/0.4384, allocations: 15.61 kB / 0.5176 GB, free: 38.76 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.796e-05/0.4385, allocations: 8.812 kB / 0.5176 GB, free: 38.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.036e-06/0.4385, allocations: 3.969 kB / 0.5176 GB, free: 38.75 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/0.4385, allocations: 6.516 kB / 0.5176 GB, free: 38.75 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009138/0.4394, allocations: 0.6402 MB / 0.5182 GB, free: 38.38 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002767/0.4397, allocations: 196.9 kB / 0.5184 GB, free: 38.21 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001158/0.4398, allocations: 12.84 kB / 0.5184 GB, free: 38.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004429/0.4403, allocations: 23.53 kB / 0.5185 GB, free: 38.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.827e-05/0.4403, allocations: 27.08 kB / 0.5185 GB, free: 38.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.059e-05/0.4404, allocations: 28.06 kB / 0.5185 GB, free: 38.19 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001019/0.4414, allocations: 0.5948 MB / 0.5191 GB, free: 37.94 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.4414, allocations: 0 / 0.5191 GB, free: 37.94 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001435/0.4429, allocations: 304.9 kB / 0.5194 GB, free: 37.89 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.001667/0.4446, allocations: 1.431 MB / 0.5208 GB, free: 36.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001141/0.4457, allocations: 0.6333 MB / 0.5214 GB, free: 36.72 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.4457, allocations: 2.281 kB / 0.5214 GB, free: 36.72 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002475/0.446, allocations: 147.2 kB / 0.5215 GB, free: 36.68 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00186/0.4478, allocations: 399.6 kB / 0.5219 GB, free: 36.58 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0107/0.4586, allocations: 8.687 MB / 0.5304 GB, free: 30.37 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005075/0.4591, allocations: 1.003 MB / 0.5314 GB, free: 29.63 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001326/0.4605, allocations: 315.7 kB / 0.5317 GB, free: 29.54 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003431/0.4608, allocations: 306.5 kB / 0.532 GB, free: 29.3 MB / 382.1 MB Notification: Performance of SimCode: time 1.663e-06/0.4608, allocations: 4 kB / 0.532 GB, free: 29.3 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03734/0.4982, allocations: 23.7 MB / 0.5551 GB, free: 7.137 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001706/0.4984, allocations: 264.1 kB / 0.5554 GB, free: 6.785 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.487/2.986, allocations: 0 / 0.5554 GB, free: 6.785 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