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.00112/0.00112, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.316/1.316, allocations: 227.2 MB / 245 MB, free: 5.777 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009467/0.0009465, allocations: 103.3 kB / 297.3 MB, free: 5.965 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3396/0.3396, allocations: 45.23 MB / 394.7 MB, free: 31.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002788/0.0002785, allocations: 8 kB / 468.4 MB, free: 7.723 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3574/0.3577, allocations: 63.25 MB / 0.5192 GB, free: 37.66 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6265/0.9844, allocations: 304.3 MB / 0.8164 GB, free: 11.07 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002192/0.9846, allocations: 87.14 kB / 0.8164 GB, free: 11.02 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6064/1.591, allocations: 156 MB / 0.9687 GB, free: 121 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.084e-06/1.591, allocations: 0 / 0.9687 GB, free: 121 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.336e-05/1.591, allocations: 27.94 kB / 0.9688 GB, free: 121 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.002021/1.593, allocations: 1.124 MB / 0.9699 GB, free: 119.8 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/1.593, allocations: 12.03 kB / 0.9699 GB, free: 119.8 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003963/1.594, allocations: 126.8 kB / 0.97 GB, free: 119.6 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001028/1.595, allocations: 0.6173 MB / 0.9706 GB, free: 119 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001401/1.595, allocations: 248.2 kB / 0.9708 GB, free: 118.7 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/1.595, allocations: 83.98 kB / 0.9709 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001525/1.596, allocations: 1.275 MB / 0.9722 GB, free: 117.2 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.604e-05/1.596, allocations: 3.938 kB / 0.9722 GB, free: 117.2 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.762e-05/1.597, allocations: 40 kB / 0.9722 GB, free: 117.2 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.067e-05/1.597, allocations: 45.3 kB / 0.9722 GB, free: 117.1 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001191/1.598, allocations: 0.9337 MB / 0.9732 GB, free: 116.2 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00477/1.603, allocations: 6.589 MB / 0.9796 GB, free: 109.2 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004094/1.603, allocations: 308.1 kB / 0.9799 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001893/1.605, allocations: 2.83 MB / 0.9826 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/1.605, allocations: 42.8 kB / 0.9827 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=28): time 1.413e-06/1.605, allocations: 3.938 kB / 0.9827 GB, free: 105.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=34): time 0.00189/1.607, allocations: 1.094 MB / 0.9838 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.589e-05/1.607, allocations: 55.62 kB / 0.9838 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007/1.608, allocations: 0.7734 MB / 0.9846 GB, free: 103.6 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.506e-05/1.608, allocations: 37.64 kB / 0.9846 GB, free: 103.5 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002637/1.608, allocations: 0.5705 MB / 0.9852 GB, free: 102.9 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.592e-05/1.608, allocations: 138.2 kB / 0.9853 GB, free: 102.8 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.259e-05/1.608, allocations: 24 kB / 0.9853 GB, free: 102.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001163/1.608, allocations: 394.7 kB / 0.9857 GB, free: 102.4 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000314/1.609, allocations: 242.5 kB / 0.9859 GB, free: 102.1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005667/1.609, allocations: 0.9543 MB / 0.9869 GB, free: 100.8 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004882/1.61, allocations: 443.8 kB / 0.9873 GB, free: 100.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-06/1.61, allocations: 8 kB / 0.9873 GB, free: 100.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001392/1.611, allocations: 1.197 MB / 0.9885 GB, free: 99.18 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/1.611, allocations: 16 kB / 0.9885 GB, free: 99.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.143e-05/1.611, allocations: 28 kB / 0.9885 GB, free: 99.14 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.48e-05/1.611, allocations: 36 kB / 0.9885 GB, free: 99.11 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006795/1.612, allocations: 283.4 kB / 0.9888 GB, free: 98.83 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.994e-05/1.612, allocations: 47.86 kB / 0.9888 GB, free: 98.78 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006079/1.612, allocations: 68.14 kB / 0.9889 GB, free: 98.71 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.681e-05/1.613, allocations: 83.94 kB / 0.989 GB, free: 98.63 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.0003129/1.613, allocations: 327.7 kB / 0.9893 GB, free: 98.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/1.613, allocations: 90.95 kB / 0.9894 GB, free: 98.21 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00071/1.614, allocations: 485.2 kB / 0.9899 GB, free: 97.73 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/1.614, allocations: 4 kB / 0.9899 GB, free: 97.73 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/1.614, allocations: 0 / 0.9899 GB, free: 97.73 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/1.614, allocations: 11.98 kB / 0.9899 GB, free: 97.71 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001342/1.615, allocations: 1.22 MB / 0.9911 GB, free: 96.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/1.615, allocations: 8.188 kB / 0.9911 GB, free: 96.38 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000262/1.615, allocations: 67.91 kB / 0.9911 GB, free: 96.31 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.714e-06/1.615, allocations: 7.953 kB / 0.9911 GB, free: 96.3 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.471e-05/1.615, allocations: 15.98 kB / 0.9912 GB, free: 96.29 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/1.615, allocations: 4 kB / 0.9912 GB, free: 96.28 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.113e-06/1.615, allocations: 0 / 0.9912 GB, free: 96.28 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007467/1.616, allocations: 0.7084 MB / 0.9918 GB, free: 95.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000258/1.616, allocations: 207.9 kB / 0.992 GB, free: 95.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.755e-05/1.617, allocations: 15.94 kB / 0.9921 GB, free: 95.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004166/1.617, allocations: 19.94 kB / 0.9921 GB, free: 95.24 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.852e-05/1.617, allocations: 23.97 kB / 0.9921 GB, free: 95.22 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.663e-05/1.617, allocations: 27.97 kB / 0.9921 GB, free: 95.19 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005798/1.618, allocations: 0.589 MB / 0.9927 GB, free: 94.59 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.31e-07/1.618, allocations: 0 / 0.9927 GB, free: 94.59 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00113/1.619, allocations: 319.8 kB / 0.993 GB, free: 94.28 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.0007064/1.62, allocations: 421.8 kB / 0.9934 GB, free: 93.86 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007771/1.62, allocations: 0.6367 MB / 0.994 GB, free: 93.23 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/1.62, allocations: 0 / 0.994 GB, free: 93.23 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001868/1.62, allocations: 141.4 kB / 0.9942 GB, free: 93.09 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001485/1.622, allocations: 380 kB / 0.9945 GB, free: 92.73 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00184/1.624, allocations: 1.746 MB / 0.9962 GB, free: 90.94 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003685/1.624, allocations: 1.017 MB / 0.9972 GB, free: 89.89 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.000855/1.625, allocations: 312 kB / 0.9975 GB, free: 89.59 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001215/1.625, allocations: 75.42 kB / 0.9976 GB, free: 89.51 MB / 0.5261 GB Notification: Performance of SimCode: time 3.3e-07/1.625, allocations: 4 kB / 0.9976 GB, free: 89.51 MB / 0.5261 GB Notification: Performance of Templates: time 0.02391/1.649, allocations: 15.97 MB / 1.013 GB, free: 73.66 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/jenkins/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