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: translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mixingVolume1.medium.T|mixingVolume2.medium.T",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mixingVolume1.medium.T|mixingVolume2.medium.T",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008264/0.0008264, allocations: 95.33 kB / 17 MB, free: 6.418 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.0008331/0.0008331, allocations: 188.6 kB / 17.89 MB, free: 5.945 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.422/1.422, allocations: 223.3 MB / 241.9 MB, free: 332 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2028/0.2028, allocations: 44.25 MB / 337.3 MB, free: 2.801 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003529/0.0003529, allocations: 12.81 kB / 409.7 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1204, allocations: 61.93 MB / 471.6 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01667/0.1371, allocations: 16.59 MB / 488.2 MB, free: 13.07 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008435/0.1456, allocations: 6.642 MB / 494.8 MB, free: 6.418 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007017/0.1463, allocations: 23.81 kB / 494.9 MB, free: 6.395 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008674/0.1472, allocations: 314 kB / 495.2 MB, free: 6.086 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.00139/0.1486, allocations: 0.68 MB / 495.8 MB, free: 5.402 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002935/0.1516, allocations: 1.042 MB / 496.9 MB, free: 4.371 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003318/0.1549, allocations: 2.962 MB / 499.8 MB, free: 1.398 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008992/0.1558, allocations: 0.5595 MB / 0.4887 GB, free: 0.8242 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001649/0.1575, allocations: 0.8875 MB / 0.4895 GB, free: 15.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001135/0.1586, allocations: 0.7512 MB / 0.4903 GB, free: 15.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001312/0.1588, allocations: 48 kB / 0.4903 GB, free: 15.13 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001098/0.1599, allocations: 307.6 kB / 0.4906 GB, free: 14.83 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003323/0.1602, allocations: 327.1 kB / 0.4909 GB, free: 14.51 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002521/0.1605, allocations: 201.3 kB / 0.4911 GB, free: 14.31 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001271/0.1617, allocations: 1.076 MB / 0.4922 GB, free: 13.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.1618, allocations: 7.938 kB / 0.4922 GB, free: 13.22 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.1618, allocations: 0 / 0.4922 GB, free: 13.22 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.216e-05/0.1618, allocations: 0 / 0.4922 GB, free: 13.22 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.00229/0.1641, allocations: 1.099 MB / 0.4932 GB, free: 12.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.1641, allocations: 8.031 kB / 0.4933 GB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004648/0.1646, allocations: 118.9 kB / 0.4934 GB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009289/0.1655, allocations: 0.5745 MB / 0.4939 GB, free: 11.33 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002024/0.1658, allocations: 248.2 kB / 0.4942 GB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001253/0.1659, allocations: 79.98 kB / 0.4942 GB, free: 10.97 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001953/0.1678, allocations: 1.315 MB / 0.4955 GB, free: 9.531 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.814e-05/0.1679, allocations: 7.938 kB / 0.4955 GB, free: 9.523 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001003/0.168, allocations: 39.98 kB / 0.4956 GB, free: 9.484 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.539e-05/0.1681, allocations: 41.3 kB / 0.4956 GB, free: 9.441 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00154/0.1696, allocations: 0.9571 MB / 0.4965 GB, free: 8.484 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.007345/0.177, allocations: 7.086 MB / 0.5035 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005209/0.1775, allocations: 312.1 kB / 0.5038 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002651/0.1778, allocations: 177.3 kB / 0.5039 GB, free: 456 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2138/0.3915, allocations: 2.809 MB / 0.5067 GB, free: 48.47 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.406e-05/0.3916, allocations: 40.3 kB / 0.5067 GB, free: 48.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 2.285e-06/0.3916, allocations: 1.875 kB / 0.5067 GB, free: 48.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.002197/0.3938, allocations: 1.119 MB / 0.5078 GB, free: 48.03 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.065e-05/0.3939, allocations: 61 kB / 0.5079 GB, free: 47.97 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001136/0.395, allocations: 0.8597 MB / 0.5087 GB, free: 47.81 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.175e-05/0.3951, allocations: 34.58 kB / 0.5087 GB, free: 47.78 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004319/0.3955, allocations: 0.5716 MB / 0.5093 GB, free: 47.43 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/0.3956, allocations: 138.1 kB / 0.5094 GB, free: 47.36 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.694e-05/0.3957, allocations: 24.16 kB / 0.5095 GB, free: 47.36 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.3958, allocations: 398.2 kB / 0.5098 GB, free: 47.05 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004064/0.3962, allocations: 246.5 kB / 0.5101 GB, free: 47.04 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006696/0.3969, allocations: 0.9544 MB / 0.511 GB, free: 46.02 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006073/0.3975, allocations: 449.5 kB / 0.5114 GB, free: 45.87 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.277e-05/0.3975, allocations: 7.594 kB / 0.5114 GB, free: 45.87 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001719/0.3993, allocations: 1.197 MB / 0.5126 GB, free: 45.4 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.313e-05/0.3993, allocations: 19.83 kB / 0.5126 GB, free: 45.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.963e-05/0.3993, allocations: 25.34 kB / 0.5127 GB, free: 45.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.356e-05/0.3994, allocations: 38.56 kB / 0.5127 GB, free: 45.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007652/0.4002, allocations: 277.7 kB / 0.513 GB, free: 45.37 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-05/0.4002, allocations: 47.41 kB / 0.513 GB, free: 45.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007794/0.401, allocations: 72.62 kB / 0.5131 GB, free: 45.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/0.4011, allocations: 76.58 kB / 0.5131 GB, free: 45.32 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004129/0.4015, allocations: 335.3 kB / 0.5135 GB, free: 45.09 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/0.4017, allocations: 87.39 kB / 0.5135 GB, free: 45.05 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008727/0.4025, allocations: 482.6 kB / 0.514 GB, free: 44.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-05/0.4026, allocations: 4.812 kB / 0.514 GB, free: 44.84 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.4026, allocations: 0 / 0.514 GB, free: 44.84 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.4026, allocations: 1.781 kB / 0.514 GB, free: 44.84 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001568/0.4042, allocations: 1.24 MB / 0.5152 GB, free: 44.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.4042, allocations: 6.562 kB / 0.5152 GB, free: 44.03 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002905/0.4045, allocations: 72.66 kB / 0.5153 GB, free: 44.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/0.4045, allocations: 7.109 kB / 0.5153 GB, free: 44.02 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.528e-05/0.4045, allocations: 10 kB / 0.5153 GB, free: 44.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.311e-06/0.4045, allocations: 6.953 kB / 0.5153 GB, free: 44.01 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.4046, allocations: 6.609 kB / 0.5153 GB, free: 44.01 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008294/0.4054, allocations: 0.6428 MB / 0.516 GB, free: 43.63 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002512/0.4057, allocations: 206.6 kB / 0.5161 GB, free: 43.46 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/0.4058, allocations: 12.61 kB / 0.5162 GB, free: 43.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003864/0.4062, allocations: 19.52 kB / 0.5162 GB, free: 43.45 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.29e-05/0.4062, allocations: 26.94 kB / 0.5162 GB, free: 43.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.663e-05/0.4063, allocations: 32.97 kB / 0.5162 GB, free: 43.44 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007861/0.4071, allocations: 0.5791 MB / 0.5168 GB, free: 43.19 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4071, allocations: 3.938 kB / 0.5168 GB, free: 43.19 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001275/0.4084, allocations: 295.9 kB / 0.5171 GB, free: 43.15 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005739/0.4089, allocations: 315.6 kB / 0.5174 GB, free: 43.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001214/0.4102, allocations: 0.6314 MB / 0.518 GB, free: 42.81 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.4102, allocations: 1.125 kB / 0.518 GB, free: 42.81 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002113/0.4104, allocations: 142.4 kB / 0.5181 GB, free: 42.77 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001676/0.4121, allocations: 375.8 kB / 0.5185 GB, free: 42.67 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00217/0.4143, allocations: 1.761 MB / 0.5202 GB, free: 41.67 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000533/0.4148, allocations: 1.003 MB / 0.5212 GB, free: 40.93 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001053/0.4159, allocations: 322.1 kB / 0.5215 GB, free: 40.88 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001417/0.416, allocations: 71.98 kB / 0.5216 GB, free: 40.87 MB / 382.1 MB Notification: Performance of SimCode: time 1.012e-06/0.416, allocations: 4 kB / 0.5216 GB, free: 40.86 MB / 382.1 MB Notification: Performance of Templates: time 0.02044/0.4365, allocations: 14.59 MB / 0.5358 GB, free: 31.31 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.makefile (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 & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Vessels/TestMixingVolumes/TestMixingVolumes.csv","/var/lib/jenkins/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