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.001043/0.001043, allocations: 179.9 kB / 16.77 MB, free: 5.047 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.417/1.417, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0007116/0.0007119, allocations: 89.5 kB / 271.3 MB, free: 8.254 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.3806/0.3806, allocations: 43.56 MB / 363.1 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003917/0.0003917, allocations: 15.98 kB / 432.7 MB, free: 5.184 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1314, allocations: 58.84 MB / 491.5 MB, free: 10.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3793/0.5108, allocations: 99.39 MB / 0.577 GB, free: 2.574 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003206/0.5112, allocations: 99.94 kB / 0.5771 GB, free: 2.477 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06305/0.5743, allocations: 24.18 MB / 0.6007 GB, free: 10.16 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.5743, allocations: 0 / 0.6007 GB, free: 10.16 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.451e-05/0.5743, allocations: 4 kB / 0.6007 GB, free: 10.15 MB / 426.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.001212/0.5756, allocations: 0.7535 MB / 0.6015 GB, free: 9.352 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.5756, allocations: 12.03 kB / 0.6015 GB, free: 9.34 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.965e-05/0.5757, allocations: 56.28 kB / 0.6015 GB, free: 9.285 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003769/0.5761, allocations: 319.4 kB / 0.6019 GB, free: 8.934 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.766e-05/0.5761, allocations: 37.69 kB / 0.6019 GB, free: 8.895 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.283e-05/0.5762, allocations: 56.38 kB / 0.6019 GB, free: 8.84 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001138/0.5774, allocations: 0.7819 MB / 0.6027 GB, free: 8.039 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.5774, allocations: 192 / 0.6027 GB, free: 8.039 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.604e-05/0.5774, allocations: 23.94 kB / 0.6027 GB, free: 8.016 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.818e-05/0.5775, allocations: 29.3 kB / 0.6028 GB, free: 7.988 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009381/0.5784, allocations: 0.5788 MB / 0.6033 GB, free: 7.41 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002137/0.5806, allocations: 1.664 MB / 0.6049 GB, free: 5.684 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005607/0.5812, allocations: 319.5 kB / 0.6053 GB, free: 5.344 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003253/0.5815, allocations: 166.5 kB / 0.6054 GB, free: 5.172 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.203e-05/0.5815, allocations: 19.91 kB / 0.6054 GB, free: 5.152 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.5816, allocations: 34.81 kB / 0.6055 GB, free: 5.109 MB / 426.7 MB Notification: Performance of pre-optimization done (n=20): time 1.633e-06/0.5816, allocations: 0 / 0.6055 GB, free: 5.109 MB / 426.7 MB Notification: Performance of matching and sorting (n=20): time 0.001203/0.5828, allocations: 0.5322 MB / 0.606 GB, free: 4.57 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.143e-05/0.5829, allocations: 110.7 kB / 0.6061 GB, free: 4.438 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006875/0.5836, allocations: 0.6313 MB / 0.6067 GB, free: 3.801 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.968e-05/0.5836, allocations: 29.7 kB / 0.6067 GB, free: 3.766 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001881/0.5838, allocations: 287.5 kB / 0.607 GB, free: 3.48 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.684e-05/0.5839, allocations: 78.98 kB / 0.6071 GB, free: 3.402 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.192e-05/0.5839, allocations: 4 kB / 0.6071 GB, free: 3.398 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001705/0.5841, allocations: 370.7 kB / 0.6074 GB, free: 3.027 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003953/0.5845, allocations: 204.9 kB / 0.6076 GB, free: 2.828 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005465/0.585, allocations: 469.4 kB / 0.6081 GB, free: 2.246 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009826/0.586, allocations: 0.696 MB / 0.6088 GB, free: 1.422 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.586, allocations: 0 / 0.6088 GB, free: 1.422 MB / 426.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001291/0.5873, allocations: 0.7157 MB / 0.6095 GB, free: 0.6992 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.836e-05/0.5874, allocations: 10.66 kB / 0.6095 GB, free: 0.6914 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.36e-05/0.5875, allocations: 51.98 kB / 0.6095 GB, free: 0.6406 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.985e-05/0.5875, allocations: 12 kB / 0.6095 GB, free: 0.6289 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003168/0.5878, allocations: 79.81 kB / 0.6096 GB, free: 0.5508 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.243e-05/0.5879, allocations: 19.88 kB / 0.6096 GB, free: 0.5312 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004734/0.5884, allocations: 95.28 kB / 0.6097 GB, free: 448 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-05/0.5884, allocations: 32 kB / 0.6097 GB, free: 416 kB / 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 () * Number of clocked 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.0003556/0.5888, allocations: 257.5 kB / 0.61 GB, free: 148 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001087/0.5889, allocations: 47.34 kB / 0.61 GB, free: 100 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009668/0.5899, allocations: 481.5 kB / 0.6105 GB, free: 15.62 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.104e-05/0.5899, allocations: 8 kB / 0.6105 GB, free: 15.61 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.5899, allocations: 3.938 kB / 0.6105 GB, free: 15.61 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.5899, allocations: 4 kB / 0.6105 GB, free: 15.6 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006174/0.5906, allocations: 409.2 kB / 0.6109 GB, free: 15.15 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.408e-05/0.5906, allocations: 39.98 kB / 0.6109 GB, free: 15.11 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001607/0.5908, allocations: 31.97 kB / 0.611 GB, free: 15.08 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.5908, allocations: 3.938 kB / 0.611 GB, free: 15.08 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.762e-05/0.5908, allocations: 12 kB / 0.611 GB, free: 15.07 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.5909, allocations: 12 kB / 0.611 GB, free: 15.05 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.5909, allocations: 3.938 kB / 0.611 GB, free: 15.05 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008614/0.5917, allocations: 0.6345 MB / 0.6116 GB, free: 14.4 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001322/0.5919, allocations: 136.4 kB / 0.6118 GB, free: 14.25 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.157e-05/0.592, allocations: 8 kB / 0.6118 GB, free: 14.24 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002902/0.5922, allocations: 19.98 kB / 0.6118 GB, free: 14.22 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.553e-05/0.5923, allocations: 31.91 kB / 0.6118 GB, free: 14.19 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.674e-05/0.5924, allocations: 12 kB / 0.6118 GB, free: 14.18 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000484/0.5929, allocations: 442.7 kB / 0.6122 GB, free: 13.75 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5929, allocations: 0 / 0.6122 GB, free: 13.75 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0008533/0.5937, allocations: 203.9 kB / 0.6124 GB, free: 13.55 MB / 442.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 () * Number of clocked 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.0004857/0.5942, allocations: 286.8 kB / 0.6127 GB, free: 13.27 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001119/0.5954, allocations: 0.7755 MB / 0.6135 GB, free: 12.42 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.5954, allocations: 0 / 0.6135 GB, free: 12.42 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005055/0.5959, allocations: 492.3 kB / 0.6139 GB, free: 11.86 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007661/0.5967, allocations: 124.7 kB / 0.6141 GB, free: 11.75 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001671/0.5983, allocations: 1.096 MB / 0.6151 GB, free: 10.62 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000444/0.5988, allocations: 0.8973 MB / 0.616 GB, free: 9.695 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003163/0.5991, allocations: 136.4 kB / 0.6161 GB, free: 9.562 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.886e-05/0.5992, allocations: 31.44 kB / 0.6162 GB, free: 9.531 MB / 442.7 MB Notification: Performance of SimCode: time 2.91e-07/0.5992, allocations: 3.938 kB / 0.6162 GB, free: 9.527 MB / 442.7 MB Notification: Performance of Templates: time 0.01581/0.615, allocations: 10.42 MB / 0.6263 GB, free: 15.15 MB / 458.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/jenkins1/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