Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.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.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|m_flow.1.|m_flow.2.|m_flow.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Nu_3.1.|Nu_3.2.|Nu_3.3.|Nu_4.1.|Nu_4.2.|Nu_4.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|m_flow.1.|m_flow.2.|m_flow.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Nu_3.1.|Nu_3.2.|Nu_3.3.|Nu_4.1.|Nu_4.2.|Nu_4.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009668/0.0009668, allocations: 183.9 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.249/1.249, allocations: 205.2 MB / 218.9 MB, free: 9.203 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00078/0.00078, allocations: 86.61 kB / 267 MB, free: 9.277 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.3226/0.3226, allocations: 43.47 MB / 358.6 MB, free: 51.53 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.963e-05/2.992e-05, allocations: 4 kB / 425.3 MB, free: 8.18 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1101, allocations: 58.84 MB / 484.2 MB, free: 13.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3548/0.4649, allocations: 99.22 MB / 0.5697 GB, free: 6.406 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002246/0.4652, allocations: 93.31 kB / 0.5698 GB, free: 6.355 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05749/0.5227, allocations: 24.2 MB / 0.5934 GB, free: 1.543 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.5227, allocations: 0 / 0.5934 GB, free: 1.543 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.049e-05/0.5227, allocations: 11.94 kB / 0.5934 GB, free: 1.531 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001082/0.5238, allocations: 0.7383 MB / 0.5942 GB, free: 0.7852 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.5239, allocations: 8.031 kB / 0.5942 GB, free: 0.7773 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001068/0.524, allocations: 55.34 kB / 0.5942 GB, free: 0.7227 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004447/0.5244, allocations: 304 kB / 0.5945 GB, free: 408 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.609e-05/0.5245, allocations: 41.5 kB / 0.5946 GB, free: 384 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.897e-05/0.5245, allocations: 60.42 kB / 0.5946 GB, free: 344 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009295/0.5255, allocations: 0.7217 MB / 0.5953 GB, free: 15.79 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.5255, allocations: 3.938 kB / 0.5953 GB, free: 15.78 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.055e-05/0.5256, allocations: 24.94 kB / 0.5954 GB, free: 15.77 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.491e-05/0.5256, allocations: 33.23 kB / 0.5954 GB, free: 15.74 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000641/0.5262, allocations: 0.4907 MB / 0.5959 GB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002386/0.5286, allocations: 1.699 MB / 0.5975 GB, free: 13.86 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003808/0.529, allocations: 269.2 kB / 0.5978 GB, free: 13.59 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001803/0.5292, allocations: 119.6 kB / 0.5979 GB, free: 13.48 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.303e-05/0.5293, allocations: 11.98 kB / 0.5979 GB, free: 13.47 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.5293, allocations: 42.14 kB / 0.5979 GB, free: 13.42 MB / 426.7 MB Notification: Performance of pre-optimization done (n=20): time 1.563e-06/0.5293, allocations: 0 / 0.5979 GB, free: 13.42 MB / 426.7 MB Notification: Performance of matching and sorting (n=20): time 0.0006147/0.5299, allocations: 326.7 kB / 0.5983 GB, free: 13.12 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.516e-05/0.53, allocations: 106.8 kB / 0.5984 GB, free: 12.99 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005755/0.5306, allocations: 0.5631 MB / 0.5989 GB, free: 12.53 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/0.5306, allocations: 28.52 kB / 0.5989 GB, free: 12.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001716/0.5308, allocations: 292.8 kB / 0.5992 GB, free: 12.29 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.755e-05/0.5309, allocations: 77.36 kB / 0.5993 GB, free: 12.22 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.427e-05/0.5309, allocations: 11 kB / 0.5993 GB, free: 12.21 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.531, allocations: 362.7 kB / 0.5996 GB, free: 11.87 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002533/0.5313, allocations: 156.6 kB / 0.5998 GB, free: 11.74 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003877/0.5317, allocations: 430.5 kB / 0.6002 GB, free: 11.23 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003363/0.532, allocations: 243.3 kB / 0.6004 GB, free: 11.03 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.68e-06/0.532, allocations: 4 kB / 0.6004 GB, free: 11.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0009024/0.533, allocations: 0.6277 MB / 0.6011 GB, free: 10.46 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.459e-05/0.533, allocations: 8 kB / 0.6011 GB, free: 10.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.012e-05/0.5331, allocations: 43.97 kB / 0.6011 GB, free: 10.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.291e-05/0.5331, allocations: 16 kB / 0.6011 GB, free: 10.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002799/0.5334, allocations: 82.58 kB / 0.6012 GB, free: 10.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.785e-05/0.5334, allocations: 15.94 kB / 0.6012 GB, free: 10.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003968/0.5338, allocations: 98.34 kB / 0.6013 GB, free: 10.21 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.446e-05/0.5339, allocations: 31.38 kB / 0.6013 GB, free: 10.18 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 24 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].target,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0001199/0.534, allocations: 153.3 kB / 0.6015 GB, free: 10.04 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/0.5341, allocations: 55.33 kB / 0.6015 GB, free: 9.984 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007608/0.5349, allocations: 454 kB / 0.602 GB, free: 9.582 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.837e-06/0.5349, allocations: 7.984 kB / 0.602 GB, free: 9.574 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.5349, allocations: 7.953 kB / 0.602 GB, free: 9.566 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.5349, allocations: 4 kB / 0.602 GB, free: 9.562 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000517/0.5354, allocations: 406.9 kB / 0.6024 GB, free: 9.168 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.88e-05/0.5355, allocations: 39.97 kB / 0.6024 GB, free: 9.129 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001525/0.5357, allocations: 31.91 kB / 0.6024 GB, free: 9.098 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.5357, allocations: 4 kB / 0.6024 GB, free: 9.094 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.348e-05/0.5357, allocations: 15.73 kB / 0.6025 GB, free: 9.082 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.5357, allocations: 0 / 0.6025 GB, free: 9.082 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.5357, allocations: 0 / 0.6025 GB, free: 9.082 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005829/0.5363, allocations: 0.5901 MB / 0.603 GB, free: 8.492 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001309/0.5365, allocations: 124.3 kB / 0.6032 GB, free: 8.355 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.186e-05/0.5365, allocations: 4 kB / 0.6032 GB, free: 8.352 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003014/0.5368, allocations: 35.41 kB / 0.6032 GB, free: 8.32 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.43e-05/0.5369, allocations: 23.91 kB / 0.6032 GB, free: 8.297 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.729e-05/0.5369, allocations: 15.56 kB / 0.6032 GB, free: 8.285 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004101/0.5374, allocations: 436.6 kB / 0.6036 GB, free: 7.949 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5374, allocations: 0 / 0.6036 GB, free: 7.949 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007063/0.5381, allocations: 210.3 kB / 0.6038 GB, free: 7.758 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0004837/0.5386, allocations: 290.9 kB / 0.6041 GB, free: 7.473 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007338/0.5393, allocations: 0.6884 MB / 0.6048 GB, free: 6.762 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.5393, allocations: 320 / 0.6048 GB, free: 6.762 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003513/0.5397, allocations: 458 kB / 0.6052 GB, free: 6.258 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004822/0.5402, allocations: 114.6 kB / 0.6053 GB, free: 6.176 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001273/0.5415, allocations: 0.751 MB / 0.6061 GB, free: 5.449 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004218/0.5419, allocations: 0.9016 MB / 0.607 GB, free: 4.535 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002848/0.5422, allocations: 128.5 kB / 0.6071 GB, free: 4.406 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.653e-05/0.5423, allocations: 31.44 kB / 0.6071 GB, free: 4.375 MB / 426.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5423, allocations: 4 kB / 0.6071 GB, free: 4.371 MB / 426.7 MB Notification: Performance of Templates: time 0.01483/0.5571, allocations: 10.24 MB / 0.6171 GB, free: 10.19 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_overall/kc_overall.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches