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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 177.5 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.255/1.255, allocations: 223.2 MB / 241 MB, free: 10.12 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008045/0.0008045, allocations: 103.6 kB / 292.2 MB, free: 10.67 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3091/0.3091, allocations: 44.21 MB / 387.5 MB, free: 38.54 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003341/0.0003343, allocations: 12 kB / 459.9 MB, free: 1.5 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3257, allocations: 61.9 MB / 0.5096 GB, free: 37.69 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5445/0.8702, allocations: 303.2 MB / 0.8057 GB, free: 26.13 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001934/0.8705, allocations: 86.83 kB / 0.8058 GB, free: 26.08 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5715/1.442, allocations: 155.8 MB / 0.958 GB, free: 134.9 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.735e-06/1.442, allocations: 0 / 0.958 GB, free: 134.9 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.318e-05/1.442, allocations: 22.81 kB / 0.958 GB, free: 134.9 MB / 0.5261 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.002437/1.445, allocations: 1.143 MB / 0.9591 GB, free: 134 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/1.445, allocations: 6.75 kB / 0.9591 GB, free: 134 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004746/1.445, allocations: 119.3 kB / 0.9592 GB, free: 134 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001124/1.446, allocations: 0.6147 MB / 0.9598 GB, free: 133.5 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001499/1.446, allocations: 250 kB / 0.96 GB, free: 133.3 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001227/1.447, allocations: 82.03 kB / 0.9601 GB, free: 133.3 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001651/1.448, allocations: 1.285 MB / 0.9614 GB, free: 132.3 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.784e-05/1.448, allocations: 11.88 kB / 0.9614 GB, free: 132.3 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001/1.448, allocations: 35.78 kB / 0.9614 GB, free: 132.3 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-05/1.448, allocations: 36.78 kB / 0.9615 GB, free: 132.3 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001285/1.45, allocations: 0.9313 MB / 0.9624 GB, free: 131.8 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005187/1.455, allocations: 6.585 MB / 0.9688 GB, free: 125.8 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000443/1.455, allocations: 298.1 kB / 0.9691 GB, free: 125.7 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002124/1.458, allocations: 2.834 MB / 0.9719 GB, free: 122.6 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/1.458, allocations: 41.86 kB / 0.9719 GB, free: 122.6 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=28): time 1.823e-06/1.458, allocations: 0 / 0.9719 GB, free: 122.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=34): time 0.001981/1.46, allocations: 1.103 MB / 0.973 GB, free: 121.8 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.858e-05/1.46, allocations: 59.12 kB / 0.973 GB, free: 121.8 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008299/1.46, allocations: 0.7643 MB / 0.9738 GB, free: 121.3 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.583e-05/1.46, allocations: 37.05 kB / 0.9738 GB, free: 121.3 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.00031/1.461, allocations: 0.5677 MB / 0.9744 GB, free: 120.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.019e-05/1.461, allocations: 141.2 kB / 0.9745 GB, free: 120.7 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-05/1.461, allocations: 25.97 kB / 0.9745 GB, free: 120.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001038/1.461, allocations: 392.4 kB / 0.9749 GB, free: 120.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003193/1.461, allocations: 239.8 kB / 0.9751 GB, free: 120.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006017/1.462, allocations: 0.962 MB / 0.9761 GB, free: 119 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005001/1.462, allocations: 431.5 kB / 0.9765 GB, free: 118.8 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.017e-06/1.463, allocations: 11.17 kB / 0.9765 GB, free: 118.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001443/1.464, allocations: 1.196 MB / 0.9777 GB, free: 118.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.707e-05/1.464, allocations: 18.72 kB / 0.9777 GB, free: 118.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.194e-05/1.464, allocations: 27.78 kB / 0.9777 GB, free: 118.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.627e-05/1.464, allocations: 39.97 kB / 0.9777 GB, free: 118.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007029/1.465, allocations: 273.9 kB / 0.978 GB, free: 118.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.241e-05/1.465, allocations: 57.31 kB / 0.9781 GB, free: 118.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007095/1.466, allocations: 69.95 kB / 0.9781 GB, free: 118.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.078e-05/1.466, allocations: 75.41 kB / 0.9782 GB, free: 118.1 MB / 0.5261 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 () * 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.0004143/1.466, allocations: 338.1 kB / 0.9785 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001239/1.466, allocations: 89.61 kB / 0.9786 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00074/1.467, allocations: 474.7 kB / 0.9791 GB, free: 117.5 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.788e-06/1.467, allocations: 3.562 kB / 0.9791 GB, free: 117.5 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/1.467, allocations: 0 / 0.9791 GB, free: 117.5 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/1.467, allocations: 3.984 kB / 0.9791 GB, free: 117.5 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001394/1.468, allocations: 1.241 MB / 0.9803 GB, free: 116.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/1.468, allocations: 3.719 kB / 0.9803 GB, free: 116.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003031/1.469, allocations: 68.77 kB / 0.9803 GB, free: 116.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/1.469, allocations: 0 / 0.9803 GB, free: 116.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.3e-05/1.469, allocations: 14.91 kB / 0.9804 GB, free: 116.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/1.469, allocations: 3.125 kB / 0.9804 GB, free: 116.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/1.469, allocations: 0 / 0.9804 GB, free: 116.4 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007138/1.469, allocations: 0.7161 MB / 0.9811 GB, free: 115.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002908/1.47, allocations: 217.1 kB / 0.9813 GB, free: 115.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.576e-05/1.47, allocations: 8 kB / 0.9813 GB, free: 115.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004103/1.47, allocations: 23.92 kB / 0.9813 GB, free: 115.7 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.382e-05/1.47, allocations: 31.98 kB / 0.9813 GB, free: 115.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.593e-05/1.47, allocations: 23.98 kB / 0.9813 GB, free: 115.6 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005637/1.471, allocations: 0.5772 MB / 0.9819 GB, free: 115 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.41e-07/1.471, allocations: 0 / 0.9819 GB, free: 115 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001145/1.472, allocations: 319.8 kB / 0.9822 GB, free: 114.7 MB / 0.5261 GB 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.0007337/1.473, allocations: 432.1 kB / 0.9826 GB, free: 114.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008531/1.474, allocations: 0.6336 MB / 0.9832 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/1.474, allocations: 0.8125 kB / 0.9832 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001893/1.474, allocations: 154.6 kB / 0.9834 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00142/1.475, allocations: 373.3 kB / 0.9838 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001984/1.477, allocations: 1.741 MB / 0.9855 GB, free: 111.4 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003808/1.478, allocations: 1.017 MB / 0.9864 GB, free: 110.3 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0008998/1.479, allocations: 310.5 kB / 0.9867 GB, free: 110 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001227/1.479, allocations: 75.36 kB / 0.9868 GB, free: 110 MB / 0.5261 GB Notification: Performance of SimCode: time 5.81e-07/1.479, allocations: 0 / 0.9868 GB, free: 110 MB / 0.5261 GB Notification: Performance of Templates: time 0.02305/1.502, allocations: 15.93 MB / 1.002 GB, free: 94.23 MB / 0.5261 GB 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","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches