Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.000999/0.0009992, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.727/1.727, allocations: 205.3 MB / 213.7 MB, free: 1.672 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000909/0.0009091, allocations: 90.62 kB / 261.7 MB, free: 1.617 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.231/0.231, allocations: 43.5 MB / 353.2 MB, free: 272 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.72e-05/1.722e-05, allocations: 4 kB / 418.3 MB, free: 28.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1297, allocations: 58.85 MB / 477.1 MB, free: 1.641 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.873/1.003, allocations: 301.2 MB / 0.7601 GB, free: 153.2 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002566/1.003, allocations: 87.23 kB / 0.7602 GB, free: 153.1 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.2659/1.269, allocations: 150.7 MB / 0.9074 GB, free: 0.6953 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.094e-06/1.269, allocations: 0 / 0.9074 GB, free: 0.6953 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.654e-05/1.269, allocations: 20 kB / 0.9074 GB, free: 0.6758 MB / 0.4948 GB 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.2917/1.561, allocations: 1.07 MB / 0.9084 GB, free: 115.8 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.285e-05/1.561, allocations: 9.672 kB / 0.9085 GB, free: 115.8 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009954/1.562, allocations: 120 kB / 0.9086 GB, free: 115.8 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001125/1.563, allocations: 0.607 MB / 0.9092 GB, free: 115.5 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001375/1.563, allocations: 226.2 kB / 0.9094 GB, free: 115.3 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001071/1.563, allocations: 48.19 kB / 0.9094 GB, free: 115.3 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001261/1.565, allocations: 0.7966 MB / 0.9102 GB, free: 115.3 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00154/1.566, allocations: 1.145 MB / 0.9113 GB, free: 115 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.653e-05/1.566, allocations: 10.25 kB / 0.9113 GB, free: 115 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.654e-05/1.566, allocations: 10.38 kB / 0.9113 GB, free: 115 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.422e-05/1.566, allocations: 43.12 kB / 0.9114 GB, free: 115 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005447/1.572, allocations: 6.672 MB / 0.9179 GB, free: 110.3 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004472/1.572, allocations: 256.2 kB / 0.9181 GB, free: 110.2 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002218/1.572, allocations: 141.7 kB / 0.9183 GB, free: 110.2 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002214/1.575, allocations: 2.843 MB / 0.9211 GB, free: 107.5 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.217e-05/1.575, allocations: 39.56 kB / 0.9211 GB, free: 107.4 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=21): time 1.804e-06/1.575, allocations: 1.938 kB / 0.9211 GB, free: 107.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=27): time 0.001992/1.577, allocations: 0.8605 MB / 0.9219 GB, free: 107.1 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.401e-05/1.577, allocations: 60.42 kB / 0.922 GB, free: 107 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009075/1.578, allocations: 0.6546 MB / 0.9226 GB, free: 106.8 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.342e-05/1.578, allocations: 25.7 kB / 0.9227 GB, free: 106.8 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004288/1.578, allocations: 0.5979 MB / 0.9232 GB, free: 106.5 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001135/1.578, allocations: 107.8 kB / 0.9233 GB, free: 106.4 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.964e-05/1.578, allocations: 0 / 0.9233 GB, free: 106.4 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001737/1.579, allocations: 388.8 kB / 0.9237 GB, free: 106.1 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000349/1.579, allocations: 206.4 kB / 0.9239 GB, free: 106.1 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000696/1.58, allocations: 0.9192 MB / 0.9248 GB, free: 105.2 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008107/1.58, allocations: 429.4 kB / 0.9252 GB, free: 105.2 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.479e-05/1.58, allocations: 7.406 kB / 0.9252 GB, free: 105.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001825/1.582, allocations: 1.021 MB / 0.9262 GB, free: 105.1 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.595e-05/1.582, allocations: 16.45 kB / 0.9262 GB, free: 105.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.589e-05/1.582, allocations: 29.81 kB / 0.9263 GB, free: 105.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.017e-05/1.582, allocations: 40.03 kB / 0.9263 GB, free: 105.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008155/1.583, allocations: 280.2 kB / 0.9266 GB, free: 105.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.717e-05/1.583, allocations: 50.73 kB / 0.9266 GB, free: 105.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006648/1.584, allocations: 42.61 kB / 0.9267 GB, free: 105.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000108/1.584, allocations: 81.73 kB / 0.9267 GB, free: 105.1 MB / 0.4948 GB 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 () * 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.0001848/1.584, allocations: 173.9 kB / 0.9269 GB, free: 105 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/1.584, allocations: 76.19 kB / 0.927 GB, free: 105 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007563/1.585, allocations: 349 kB / 0.9273 GB, free: 104.9 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/1.585, allocations: 4.375 kB / 0.9273 GB, free: 104.9 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/1.585, allocations: 0.6562 kB / 0.9273 GB, free: 104.9 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/1.585, allocations: 2.656 kB / 0.9273 GB, free: 104.9 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001413/1.587, allocations: 0.8797 MB / 0.9282 GB, free: 104.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/1.587, allocations: 1.062 kB / 0.9282 GB, free: 104.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002655/1.587, allocations: 59.25 kB / 0.9282 GB, free: 104.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/1.587, allocations: 2.875 kB / 0.9282 GB, free: 104.6 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.953e-05/1.587, allocations: 7.828 kB / 0.9282 GB, free: 104.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/1.587, allocations: 3.938 kB / 0.9282 GB, free: 104.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/1.587, allocations: 7.703 kB / 0.9282 GB, free: 104.6 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007686/1.588, allocations: 0.5283 MB / 0.9288 GB, free: 104.4 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00024/1.588, allocations: 194.9 kB / 0.929 GB, free: 104.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.433e-05/1.588, allocations: 1.859 kB / 0.929 GB, free: 104.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003686/1.588, allocations: 15.27 kB / 0.929 GB, free: 104.3 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.267e-05/1.589, allocations: 15.02 kB / 0.929 GB, free: 104.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.707e-05/1.589, allocations: 23.38 kB / 0.929 GB, free: 104.3 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0006733/1.589, allocations: 451.3 kB / 0.9294 GB, free: 104.2 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.61e-07/1.589, allocations: 0 / 0.9294 GB, free: 104.2 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001234/1.591, allocations: 288.9 kB / 0.9297 GB, free: 104.2 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (mixingVolume1.medium.T,mixingVolume2.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 27 * 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.0008236/1.591, allocations: 439.2 kB / 0.9301 GB, free: 104.1 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0009235/1.592, allocations: 0.5367 MB / 0.9307 GB, free: 104.1 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/1.592, allocations: 4.125 kB / 0.9307 GB, free: 104.1 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001668/1.592, allocations: 112.5 kB / 0.9308 GB, free: 104.1 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001154/1.594, allocations: 247.5 kB / 0.931 GB, free: 104.1 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001726/1.595, allocations: 0.9841 MB / 0.932 GB, free: 103.8 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005758/1.596, allocations: 1.013 MB / 0.933 GB, free: 103.1 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0009266/1.597, allocations: 285.7 kB / 0.9332 GB, free: 103.1 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001341/1.597, allocations: 70.86 kB / 0.9333 GB, free: 103.1 MB / 0.4948 GB Notification: Performance of SimCode: time 3.8e-07/1.597, allocations: 0 / 0.9333 GB, free: 103.1 MB / 0.4948 GB Notification: Performance of Templates: time 0.01808/1.615, allocations: 11.67 MB / 0.9447 GB, free: 102.7 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches