Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.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.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_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001/0.001, allocations: 185.1 kB / 17.06 MB, free: 5.074 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.264/1.264, allocations: 223.2 MB / 241 MB, free: 10.15 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.0009021/0.000902, allocations: 97.67 kB / 292.2 MB, free: 10.7 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.3415/0.3415, allocations: 44.21 MB / 387.5 MB, free: 38.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003322/0.0003322, allocations: 12 kB / 459.9 MB, free: 1.508 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3386/0.339, allocations: 61.89 MB / 0.5096 GB, free: 37.86 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.126/0.465, allocations: 100.4 MB / 0.6076 GB, free: 10.69 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003121/0.4654, allocations: 111.7 kB / 0.6077 GB, free: 10.59 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0629/0.5283, allocations: 24.65 MB / 0.6318 GB, free: 1.734 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.5283, allocations: 0 / 0.6318 GB, free: 1.734 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.594e-05/0.5283, allocations: 4 kB / 0.6318 GB, free: 1.73 MB / 442.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.001283/0.5296, allocations: 0.7644 MB / 0.6326 GB, free: 0.9141 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.5297, allocations: 8.031 kB / 0.6326 GB, free: 0.9062 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.367e-05/0.5298, allocations: 51.34 kB / 0.6326 GB, free: 0.8555 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000435/0.5302, allocations: 322.7 kB / 0.6329 GB, free: 0.5 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.913e-05/0.5303, allocations: 45.31 kB / 0.633 GB, free: 468 kB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.019e-05/0.5304, allocations: 48 kB / 0.633 GB, free: 420 kB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00117/0.5315, allocations: 0.7736 MB / 0.6338 GB, free: 15.62 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.5316, allocations: 0 / 0.6338 GB, free: 15.62 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.74e-05/0.5316, allocations: 20 kB / 0.6338 GB, free: 15.6 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.995e-05/0.5317, allocations: 25.31 kB / 0.6338 GB, free: 15.57 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009566/0.5326, allocations: 0.5788 MB / 0.6344 GB, free: 14.99 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002358/0.535, allocations: 1.7 MB / 0.636 GB, free: 13.23 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005588/0.5356, allocations: 311.6 kB / 0.6363 GB, free: 12.89 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.835e-05/0.5356, allocations: 19.92 kB / 0.6364 GB, free: 12.88 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.5357, allocations: 30.56 kB / 0.6364 GB, free: 12.84 MB / 458.7 MB Notification: Performance of pre-optimization done (n=20): time 1.643e-06/0.5357, allocations: 0 / 0.6364 GB, free: 12.84 MB / 458.7 MB Notification: Performance of matching and sorting (n=20): time 0.00135/0.537, allocations: 0.7726 MB / 0.6371 GB, free: 12 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.38e-05/0.5371, allocations: 106.9 kB / 0.6372 GB, free: 11.87 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006414/0.5377, allocations: 0.576 MB / 0.6378 GB, free: 11.29 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.003e-05/0.5378, allocations: 25.7 kB / 0.6378 GB, free: 11.25 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002179/0.538, allocations: 287.4 kB / 0.6381 GB, free: 10.97 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.039e-05/0.5381, allocations: 75.08 kB / 0.6382 GB, free: 10.89 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.39e-05/0.5381, allocations: 8 kB / 0.6382 GB, free: 10.89 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.5383, allocations: 366.7 kB / 0.6385 GB, free: 10.52 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004002/0.5387, allocations: 200.9 kB / 0.6387 GB, free: 10.32 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005387/0.5392, allocations: 473.4 kB / 0.6392 GB, free: 9.73 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004682/0.5397, allocations: 275.6 kB / 0.6394 GB, free: 9.461 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/0.5397, allocations: 4 kB / 0.6394 GB, free: 9.457 MB / 458.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001214/0.5409, allocations: 0.7128 MB / 0.6401 GB, free: 8.738 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/0.541, allocations: 8 kB / 0.6401 GB, free: 8.73 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.742e-05/0.5411, allocations: 47.97 kB / 0.6402 GB, free: 8.684 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.528e-05/0.5411, allocations: 12 kB / 0.6402 GB, free: 8.672 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002905/0.5414, allocations: 88.19 kB / 0.6403 GB, free: 8.586 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.1e-05/0.5414, allocations: 19.88 kB / 0.6403 GB, free: 8.566 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004273/0.5419, allocations: 87.25 kB / 0.6404 GB, free: 8.48 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.852e-05/0.5419, allocations: 31.98 kB / 0.6404 GB, free: 8.449 MB / 458.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.0003082/0.5423, allocations: 270.7 kB / 0.6407 GB, free: 8.176 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/0.5424, allocations: 51.44 kB / 0.6407 GB, free: 8.125 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009428/0.5433, allocations: 491.5 kB / 0.6412 GB, free: 7.641 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.5433, allocations: 4 kB / 0.6412 GB, free: 7.637 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/0.5434, allocations: 4 kB / 0.6412 GB, free: 7.633 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.5434, allocations: 0 / 0.6412 GB, free: 7.633 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005865/0.544, allocations: 409.2 kB / 0.6416 GB, free: 7.184 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.494e-05/0.544, allocations: 47.97 kB / 0.6416 GB, free: 7.137 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001517/0.5442, allocations: 27.97 kB / 0.6417 GB, free: 7.109 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.5442, allocations: 4 kB / 0.6417 GB, free: 7.105 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.096e-05/0.5442, allocations: 15.92 kB / 0.6417 GB, free: 7.09 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.5442, allocations: 0 / 0.6417 GB, free: 7.09 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.5443, allocations: 4 kB / 0.6417 GB, free: 7.086 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009164/0.5452, allocations: 0.6556 MB / 0.6423 GB, free: 6.402 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001497/0.5453, allocations: 140.3 kB / 0.6425 GB, free: 6.246 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.516e-05/0.5454, allocations: 4 kB / 0.6425 GB, free: 6.242 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000307/0.5457, allocations: 27.98 kB / 0.6425 GB, free: 6.215 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.659e-05/0.5458, allocations: 23.97 kB / 0.6425 GB, free: 6.191 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.187e-05/0.5459, allocations: 15.98 kB / 0.6425 GB, free: 6.176 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0004873/0.5464, allocations: 442.7 kB / 0.643 GB, free: 5.746 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5464, allocations: 0 / 0.643 GB, free: 5.746 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0009227/0.5473, allocations: 203.8 kB / 0.6431 GB, free: 5.547 MB / 458.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.0005281/0.5478, allocations: 290.3 kB / 0.6434 GB, free: 5.258 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001085/0.5489, allocations: 0.7677 MB / 0.6442 GB, free: 4.418 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.5489, allocations: 4 kB / 0.6442 GB, free: 4.414 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005465/0.5495, allocations: 488.2 kB / 0.6446 GB, free: 3.863 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005574/0.5501, allocations: 118.3 kB / 0.6448 GB, free: 3.746 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001672/0.5517, allocations: 1.094 MB / 0.6458 GB, free: 2.621 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004469/0.5522, allocations: 0.9013 MB / 0.6467 GB, free: 1.691 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003044/0.5525, allocations: 140.4 kB / 0.6468 GB, free: 1.551 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.223e-05/0.5526, allocations: 31.44 kB / 0.6469 GB, free: 1.52 MB / 458.7 MB Notification: Performance of SimCode: time 6.21e-07/0.5526, allocations: 0 / 0.6469 GB, free: 1.52 MB / 458.7 MB Notification: Performance of Templates: time 0.01528/0.5679, allocations: 9.982 MB / 0.6566 GB, free: 7.66 MB / 474.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_overall/kc_overall.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches