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.0009402/0.0009402, allocations: 183.3 kB / 18.09 MB, free: 3.629 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.306/1.306, allocations: 223.3 MB / 242.1 MB, free: 9.938 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.0008322/0.0008321, allocations: 91.14 kB / 293.3 MB, free: 10.53 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.3163/0.3163, allocations: 44.14 MB / 388.5 MB, free: 38.5 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003777/0.0003777, allocations: 12 kB / 461.1 MB, free: 1.289 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3366/0.337, allocations: 61.88 MB / 0.5107 GB, free: 37.74 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5529/0.89, allocations: 303.3 MB / 0.8069 GB, free: 26.14 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002634/0.8903, allocations: 94.98 kB / 0.807 GB, free: 26.09 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5374/1.428, allocations: 154.8 MB / 0.9582 GB, free: 135.4 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.565e-06/1.428, allocations: 0 / 0.9582 GB, free: 135.4 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.028e-05/1.428, allocations: 22.28 kB / 0.9582 GB, free: 135.4 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.002103/1.43, allocations: 1.126 MB / 0.9593 GB, free: 134.5 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/1.43, allocations: 11.53 kB / 0.9593 GB, free: 134.5 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003966/1.43, allocations: 118.4 kB / 0.9594 GB, free: 134.5 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009313/1.431, allocations: 0.6453 MB / 0.96 GB, free: 134 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000144/1.432, allocations: 249.9 kB / 0.9603 GB, free: 133.7 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/1.432, allocations: 75.94 kB / 0.9603 GB, free: 133.7 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001647/1.433, allocations: 1.291 MB / 0.9616 GB, free: 132.8 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.235e-05/1.433, allocations: 11.69 kB / 0.9616 GB, free: 132.7 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.901e-05/1.433, allocations: 34.91 kB / 0.9616 GB, free: 132.7 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.131e-05/1.434, allocations: 42.95 kB / 0.9617 GB, free: 132.7 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001376/1.435, allocations: 0.9244 MB / 0.9626 GB, free: 132.2 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008508/1.443, allocations: 6.582 MB / 0.969 GB, free: 126.3 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000696/1.444, allocations: 303.9 kB / 0.9693 GB, free: 126.1 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003406/1.445, allocations: 160.1 kB / 0.9695 GB, free: 126.1 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003475/1.448, allocations: 2.833 MB / 0.9722 GB, free: 123 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.754e-05/1.448, allocations: 42.33 kB / 0.9723 GB, free: 122.9 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=28): time 3.076e-06/1.448, allocations: 0 / 0.9723 GB, free: 122.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=34): time 0.003273/1.451, allocations: 1.101 MB / 0.9733 GB, free: 122.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/1.451, allocations: 51.41 kB / 0.9734 GB, free: 122.1 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001513/1.453, allocations: 0.87 MB / 0.9742 GB, free: 121.6 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.905e-05/1.453, allocations: 29.7 kB / 0.9743 GB, free: 121.6 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004057/1.453, allocations: 0.5763 MB / 0.9748 GB, free: 121.1 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001127/1.454, allocations: 137.2 kB / 0.975 GB, free: 121 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.892e-05/1.454, allocations: 23.94 kB / 0.975 GB, free: 121 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001831/1.454, allocations: 394.3 kB / 0.9754 GB, free: 120.6 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006017/1.454, allocations: 245.3 kB / 0.9756 GB, free: 120.5 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001005/1.455, allocations: 0.9607 MB / 0.9765 GB, free: 119.4 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001684/1.457, allocations: 1.309 MB / 0.9778 GB, free: 118 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.821e-05/1.457, allocations: 7.75 kB / 0.9778 GB, free: 118 MB / 0.5261 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002783/1.46, allocations: 1.206 MB / 0.979 GB, free: 117.4 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.899e-05/1.46, allocations: 17.31 kB / 0.979 GB, free: 117.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.354e-05/1.46, allocations: 25.81 kB / 0.979 GB, free: 117.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.485e-05/1.46, allocations: 33.66 kB / 0.9791 GB, free: 117.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00124/1.461, allocations: 280 kB / 0.9793 GB, free: 117.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.022e-05/1.462, allocations: 56.75 kB / 0.9794 GB, free: 117.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001366/1.463, allocations: 68.45 kB / 0.9795 GB, free: 117.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00014/1.463, allocations: 71.31 kB / 0.9795 GB, free: 117.3 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.000708/1.464, allocations: 334.5 kB / 0.9798 GB, free: 117 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002152/1.464, allocations: 87.94 kB / 0.9799 GB, free: 117 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00134/1.465, allocations: 485.7 kB / 0.9804 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.811e-05/1.465, allocations: 7.359 kB / 0.9804 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.313e-06/1.465, allocations: 0 / 0.9804 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/1.465, allocations: 3.984 kB / 0.9804 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002328/1.468, allocations: 1.229 MB / 0.9816 GB, free: 115.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/1.468, allocations: 7.859 kB / 0.9816 GB, free: 115.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004443/1.468, allocations: 69.91 kB / 0.9817 GB, free: 115.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.198e-05/1.468, allocations: 7.25 kB / 0.9817 GB, free: 115.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.284e-05/1.468, allocations: 14.91 kB / 0.9817 GB, free: 115.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.683e-06/1.468, allocations: 3.938 kB / 0.9817 GB, free: 115.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/1.468, allocations: 7.922 kB / 0.9817 GB, free: 115.6 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001161/1.47, allocations: 0.6372 MB / 0.9823 GB, free: 115.2 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004396/1.47, allocations: 211.6 kB / 0.9825 GB, free: 115 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001521/1.47, allocations: 7.875 kB / 0.9825 GB, free: 115 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006983/1.471, allocations: 22.52 kB / 0.9826 GB, free: 115 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.402e-05/1.471, allocations: 28.47 kB / 0.9826 GB, free: 115 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.378e-05/1.471, allocations: 25.39 kB / 0.9826 GB, free: 115 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001019/1.472, allocations: 0.5804 MB / 0.9832 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.41e-07/1.472, allocations: 0 / 0.9832 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001963/1.474, allocations: 319.8 kB / 0.9835 GB, free: 114.2 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.0009715/1.475, allocations: 434.8 kB / 0.9839 GB, free: 113.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0015/1.477, allocations: 0.6375 MB / 0.9845 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/1.477, allocations: 0 / 0.9845 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003307/1.477, allocations: 147.3 kB / 0.9847 GB, free: 113 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003145/1.48, allocations: 382.2 kB / 0.985 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003138/1.483, allocations: 1.764 MB / 0.9867 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005676/1.484, allocations: 0.9933 MB / 0.9877 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001747/1.486, allocations: 311.2 kB / 0.988 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002291/1.486, allocations: 79.42 kB / 0.9881 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of SimCode: time 7.52e-07/1.486, allocations: 3.938 kB / 0.9881 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of Templates: time 0.03941/1.525, allocations: 16.18 MB / 1.004 GB, free: 93.46 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/jenkins1/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