Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001293/0.001294, allocations: 200.7 kB / 18.1 MB, free: 3.719 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.505/1.505, allocations: 226.5 MB / 245.4 MB, free: 8.234 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008423/0.0008425, allocations: 91.47 kB / 297.5 MB, free: 6.879 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4351/0.4351, allocations: 44.82 MB / 394.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003565/0.0003564, allocations: 8 kB / 467.9 MB, free: 12.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4914/0.4918, allocations: 62.97 MB / 0.5184 GB, free: 37.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7518/1.244, allocations: 304.2 MB / 0.8155 GB, free: 14.16 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00039/1.244, allocations: 89.38 kB / 0.8156 GB, free: 14.11 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7267/1.971, allocations: 154.9 MB / 0.9668 GB, free: 126.3 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.835e-06/1.971, allocations: 0 / 0.9668 GB, free: 126.3 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.373e-05/1.971, allocations: 24 kB / 0.9669 GB, free: 126.2 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.003469/1.975, allocations: 1.136 MB / 0.968 GB, free: 125.1 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/1.975, allocations: 11.97 kB / 0.968 GB, free: 125.1 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008371/1.975, allocations: 115.9 kB / 0.9681 GB, free: 124.9 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001576/1.977, allocations: 0.6347 MB / 0.9687 GB, free: 124.3 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002226/1.977, allocations: 252.2 kB / 0.9689 GB, free: 124 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002799/1.978, allocations: 76 kB / 0.969 GB, free: 123.9 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002325/1.98, allocations: 1.291 MB / 0.9703 GB, free: 122.5 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.636e-05/1.98, allocations: 7.938 kB / 0.9703 GB, free: 122.5 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000164/1.98, allocations: 40 kB / 0.9703 GB, free: 122.4 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.342e-05/1.98, allocations: 45.3 kB / 0.9704 GB, free: 122.4 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001579/1.982, allocations: 0.9259 MB / 0.9713 GB, free: 121.5 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006254/1.988, allocations: 6.591 MB / 0.9777 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004792/1.989, allocations: 304.3 kB / 0.978 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002409/1.989, allocations: 162.8 kB / 0.9782 GB, free: 114 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002409/1.991, allocations: 2.826 MB / 0.9809 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.456e-05/1.991, allocations: 42.73 kB / 0.981 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=28): time 1.944e-06/1.991, allocations: 0 / 0.981 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=34): time 0.002333/1.994, allocations: 1.098 MB / 0.982 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/1.994, allocations: 59.39 kB / 0.9821 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001025/1.995, allocations: 0.864 MB / 0.9829 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.418e-05/1.995, allocations: 33.7 kB / 0.983 GB, free: 108.5 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003144/1.995, allocations: 0.5744 MB / 0.9835 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.463e-05/1.995, allocations: 134.3 kB / 0.9837 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.408e-05/1.995, allocations: 28 kB / 0.9837 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001208/1.995, allocations: 394.7 kB / 0.9841 GB, free: 107.4 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003728/1.996, allocations: 246.4 kB / 0.9843 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005977/1.996, allocations: 0.9544 MB / 0.9852 GB, free: 105.8 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001117/1.998, allocations: 1.315 MB / 0.9865 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-05/1.998, allocations: 11.94 kB / 0.9865 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001755/1.999, allocations: 1.191 MB / 0.9877 GB, free: 103 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.011e-05/1.999, allocations: 17 kB / 0.9877 GB, free: 102.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.582e-05/1.999, allocations: 28 kB / 0.9877 GB, free: 102.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.898e-05/1.999, allocations: 36 kB / 0.9878 GB, free: 102.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007117/2, allocations: 279.5 kB / 0.988 GB, free: 102.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.37e-05/2, allocations: 55.78 kB / 0.9881 GB, free: 102.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000933/2.001, allocations: 63.83 kB / 0.9881 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001109/2.001, allocations: 76 kB / 0.9882 GB, free: 102.4 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.0005263/2.002, allocations: 338.1 kB / 0.9885 GB, free: 102.1 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001924/2.002, allocations: 86.97 kB / 0.9886 GB, free: 102 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008587/2.003, allocations: 481.6 kB / 0.9891 GB, free: 101.5 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-05/2.003, allocations: 8 kB / 0.9891 GB, free: 101.5 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/2.003, allocations: 0 / 0.9891 GB, free: 101.5 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/2.003, allocations: 3.984 kB / 0.9891 GB, free: 101.5 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001824/2.005, allocations: 1.225 MB / 0.9903 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/2.005, allocations: 3.938 kB / 0.9903 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002699/2.005, allocations: 75.83 kB / 0.9904 GB, free: 100.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.665e-06/2.005, allocations: 4 kB / 0.9904 GB, free: 100.1 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.416e-05/2.005, allocations: 8 kB / 0.9904 GB, free: 100.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-06/2.005, allocations: 4 kB / 0.9904 GB, free: 100.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/2.005, allocations: 4.125 kB / 0.9904 GB, free: 100.1 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008907/2.006, allocations: 0.6521 MB / 0.991 GB, free: 99.37 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004012/2.006, allocations: 223.8 kB / 0.9912 GB, free: 99.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001685/2.007, allocations: 8 kB / 0.9912 GB, free: 99.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005066/2.007, allocations: 19.98 kB / 0.9913 GB, free: 99.11 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.471e-05/2.007, allocations: 27.91 kB / 0.9913 GB, free: 99.08 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.57e-05/2.007, allocations: 23.98 kB / 0.9913 GB, free: 99.05 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007678/2.008, allocations: 0.5851 MB / 0.9919 GB, free: 98.46 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/2.008, allocations: 0 / 0.9919 GB, free: 98.46 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00152/2.01, allocations: 315.8 kB / 0.9922 GB, free: 98.15 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.001001/2.011, allocations: 423 kB / 0.9926 GB, free: 97.73 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001049/2.012, allocations: 0.6331 MB / 0.9932 GB, free: 97.11 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/2.012, allocations: 4 kB / 0.9932 GB, free: 97.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002866/2.012, allocations: 145.3 kB / 0.9933 GB, free: 96.96 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002153/2.014, allocations: 397.7 kB / 0.9937 GB, free: 96.59 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002313/2.016, allocations: 1.757 MB / 0.9954 GB, free: 94.78 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000499/2.017, allocations: 1.001 MB / 0.9964 GB, free: 93.75 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001179/2.018, allocations: 302.7 kB / 0.9967 GB, free: 93.45 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001863/2.018, allocations: 83.36 kB / 0.9968 GB, free: 93.37 MB / 0.5261 GB Notification: Performance of SimCode: time 1.643e-06/2.018, allocations: 0 / 0.9968 GB, free: 93.37 MB / 0.5261 GB Notification: Performance of Templates: time 0.02922/2.048, allocations: 16.22 MB / 1.013 GB, free: 77.27 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches