Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001318/0.001318, allocations: 179.5 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.498/1.498, allocations: 205.4 MB / 222.5 MB, free: 9.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008433/0.0008434, allocations: 100.8 kB / 270.9 MB, free: 8.352 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3832/0.3832, allocations: 43.56 MB / 362.7 MB, free: 52.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004065/0.0004065, allocations: 12 kB / 431.4 MB, free: 6.137 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1326, allocations: 58.85 MB / 490.2 MB, free: 11.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.2504/0.383, allocations: 16.61 MB / 0.495 GB, free: 34.95 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.008438/0.3915, allocations: 6.642 MB / 0.5015 GB, free: 34.41 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006711/0.3922, allocations: 22.81 kB / 0.5015 GB, free: 34.4 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007956/0.393, allocations: 309.6 kB / 0.5018 GB, free: 34.3 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.001357/0.3944, allocations: 0.6765 MB / 0.5024 GB, free: 34.11 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003037/0.3975, allocations: 1.046 MB / 0.5035 GB, free: 33.62 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002905/0.4004, allocations: 2.973 MB / 0.5064 GB, free: 32.55 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007181/0.4011, allocations: 0.5486 MB / 0.5069 GB, free: 32.38 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001301/0.4024, allocations: 0.8906 MB / 0.5078 GB, free: 32.05 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008469/0.4033, allocations: 0.748 MB / 0.5085 GB, free: 31.79 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001242/0.4034, allocations: 46.25 kB / 0.5085 GB, free: 31.79 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001143/0.4045, allocations: 305.1 kB / 0.5088 GB, free: 31.72 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000346/0.4049, allocations: 329 kB / 0.5091 GB, free: 31.61 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002489/0.4052, allocations: 201.9 kB / 0.5093 GB, free: 31.51 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001177/0.4063, allocations: 1.078 MB / 0.5104 GB, free: 31.27 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.4064, allocations: 1.25 kB / 0.5104 GB, free: 31.27 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.4064, allocations: 0 / 0.5104 GB, free: 31.27 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.206e-05/0.4064, allocations: 0 / 0.5104 GB, free: 31.27 MB / 378.7 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.001934/0.4083, allocations: 1.106 MB / 0.5115 GB, free: 30.55 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.4084, allocations: 9.531 kB / 0.5115 GB, free: 30.55 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004306/0.4088, allocations: 117.3 kB / 0.5116 GB, free: 30.51 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007917/0.4096, allocations: 0.5804 MB / 0.5122 GB, free: 30.13 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001539/0.4098, allocations: 245.5 kB / 0.5124 GB, free: 29.91 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/0.4099, allocations: 79.44 kB / 0.5125 GB, free: 29.88 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001703/0.4116, allocations: 1.297 MB / 0.5137 GB, free: 29.15 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.14e-05/0.4117, allocations: 12.02 kB / 0.5137 GB, free: 29.14 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000104/0.4118, allocations: 37.66 kB / 0.5138 GB, free: 29.12 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.932e-05/0.4118, allocations: 44.14 kB / 0.5138 GB, free: 29.11 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001313/0.4132, allocations: 0.962 MB / 0.5148 GB, free: 28.79 MB / 378.7 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.004835/0.418, allocations: 7.079 MB / 0.5217 GB, free: 22.83 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004355/0.4184, allocations: 315.6 kB / 0.522 GB, free: 22.71 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002146/0.4187, allocations: 169.4 kB / 0.5221 GB, free: 22.64 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001745/0.4204, allocations: 2.834 MB / 0.5249 GB, free: 19.7 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.4205, allocations: 38.08 kB / 0.5249 GB, free: 19.65 MB / 378.7 MB Notification: Performance of pre-optimization done (n=28): time 1.824e-06/0.4205, allocations: 0 / 0.5249 GB, free: 19.65 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.001856/0.4223, allocations: 1.107 MB / 0.526 GB, free: 19.02 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.672e-05/0.4224, allocations: 54.72 kB / 0.5261 GB, free: 18.95 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007823/0.4232, allocations: 0.8631 MB / 0.5269 GB, free: 18.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.558e-05/0.4232, allocations: 32.95 kB / 0.527 GB, free: 18.55 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002631/0.4235, allocations: 0.5765 MB / 0.5275 GB, free: 18.08 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.088e-05/0.4236, allocations: 133.8 kB / 0.5276 GB, free: 17.98 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.633e-05/0.4236, allocations: 30.25 kB / 0.5277 GB, free: 17.96 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.4237, allocations: 396.8 kB / 0.528 GB, free: 17.61 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003249/0.424, allocations: 239.5 kB / 0.5283 GB, free: 17.54 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005773/0.4246, allocations: 0.9594 MB / 0.5292 GB, free: 16.47 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005002/0.4251, allocations: 444.2 kB / 0.5296 GB, free: 16.29 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.486e-06/0.4251, allocations: 13.84 kB / 0.5297 GB, free: 16.28 MB / 378.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001448/0.4266, allocations: 1.196 MB / 0.5308 GB, free: 15.8 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/0.4266, allocations: 19.55 kB / 0.5308 GB, free: 15.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.187e-05/0.4267, allocations: 27.38 kB / 0.5309 GB, free: 15.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.51e-05/0.4267, allocations: 36.97 kB / 0.5309 GB, free: 15.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007028/0.4274, allocations: 277.3 kB / 0.5312 GB, free: 15.76 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.263e-05/0.4275, allocations: 51.67 kB / 0.5312 GB, free: 15.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006564/0.4281, allocations: 81.09 kB / 0.5313 GB, free: 15.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.869e-05/0.4282, allocations: 70.41 kB / 0.5314 GB, free: 15.7 MB / 378.7 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.0003382/0.4285, allocations: 335 kB / 0.5317 GB, free: 15.48 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/0.4287, allocations: 87.69 kB / 0.5318 GB, free: 15.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007239/0.4294, allocations: 487.1 kB / 0.5322 GB, free: 15.21 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/0.4294, allocations: 2.938 kB / 0.5322 GB, free: 15.21 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.4294, allocations: 0 / 0.5322 GB, free: 15.21 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.4294, allocations: 7.516 kB / 0.5322 GB, free: 15.2 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001345/0.4308, allocations: 1.235 MB / 0.5334 GB, free: 14.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.4308, allocations: 0 / 0.5334 GB, free: 14.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002698/0.4311, allocations: 74.98 kB / 0.5335 GB, free: 14.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.4311, allocations: 2.969 kB / 0.5335 GB, free: 14.38 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.062e-05/0.4311, allocations: 10.16 kB / 0.5335 GB, free: 14.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.4311, allocations: 3.094 kB / 0.5335 GB, free: 14.38 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.4311, allocations: 3.062 kB / 0.5335 GB, free: 14.38 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007478/0.4319, allocations: 0.6464 MB / 0.5342 GB, free: 13.98 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002281/0.4321, allocations: 208.3 kB / 0.5344 GB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.114e-05/0.4322, allocations: 9.875 kB / 0.5344 GB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004025/0.4326, allocations: 29 kB / 0.5344 GB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.169e-05/0.4327, allocations: 27.09 kB / 0.5344 GB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.33e-05/0.4327, allocations: 22.94 kB / 0.5344 GB, free: 13.79 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006125/0.4333, allocations: 0.5793 MB / 0.535 GB, free: 13.55 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4333, allocations: 3.938 kB / 0.535 GB, free: 13.54 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001085/0.4344, allocations: 299.8 kB / 0.5353 GB, free: 13.49 MB / 378.7 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.0005686/0.435, allocations: 316.1 kB / 0.5356 GB, free: 13.32 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009856/0.436, allocations: 0.6437 MB / 0.5362 GB, free: 13.1 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.436, allocations: 1.938 kB / 0.5362 GB, free: 13.1 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002069/0.4362, allocations: 142.8 kB / 0.5364 GB, free: 13.06 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001751/0.438, allocations: 384.6 kB / 0.5367 GB, free: 12.95 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002439/0.4404, allocations: 1.799 MB / 0.5385 GB, free: 11.89 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006336/0.4411, allocations: 1 MB / 0.5395 GB, free: 11.15 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000186/0.4413, allocations: 83.36 kB / 0.5395 GB, free: 11.14 MB / 378.7 MB Notification: Performance of SimCode: time 4.91e-07/0.4413, allocations: 0 / 0.5395 GB, free: 11.14 MB / 378.7 MB Notification: Performance of Templates: time 0.02799/0.4693, allocations: 14.43 MB / 0.5536 GB, free: 6.078 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Vessels/TestMixingVolumes/TestMixingVolumes.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches