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_turbulent_KC.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_turbulent_KC,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.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|kc.1.|kc.2.|kc.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,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.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|kc.1.|kc.2.|kc.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009575/0.0009574, allocations: 175 kB / 16.76 MB, free: 5.043 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.438/1.438, allocations: 205.4 MB / 222.9 MB, free: 8.945 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.0009585/0.0009586, allocations: 82.42 kB / 271.3 MB, free: 8.242 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.4243/0.4243, allocations: 43.55 MB / 363.1 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003571/0.0003569, allocations: 15.98 kB / 432.6 MB, free: 4.957 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1343, allocations: 58.84 MB / 491.5 MB, free: 10.02 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3539/0.4883, allocations: 90.76 MB / 0.5686 GB, free: 11.07 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002932/0.4886, allocations: 98 kB / 0.5687 GB, free: 10.98 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03366/0.5223, allocations: 11.91 MB / 0.5803 GB, free: 15.03 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.5223, allocations: 0 / 0.5803 GB, free: 15.03 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.383e-05/0.5224, allocations: 4 kB / 0.5803 GB, free: 15.02 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.000757/0.5231, allocations: 0.503 MB / 0.5808 GB, free: 14.47 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.5232, allocations: 12.03 kB / 0.5808 GB, free: 14.46 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001011/0.5233, allocations: 24.66 kB / 0.5809 GB, free: 14.44 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003136/0.5236, allocations: 247.8 kB / 0.5811 GB, free: 14.16 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.469e-05/0.5236, allocations: 16.94 kB / 0.5811 GB, free: 14.14 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.961e-05/0.5237, allocations: 28.31 kB / 0.5811 GB, free: 14.11 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005868/0.5243, allocations: 369.8 kB / 0.5815 GB, free: 13.75 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.5243, allocations: 4.125 kB / 0.5815 GB, free: 13.75 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.976e-05/0.5243, allocations: 15.94 kB / 0.5815 GB, free: 13.73 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.534e-05/0.5244, allocations: 20.64 kB / 0.5815 GB, free: 13.71 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005796/0.525, allocations: 382.3 kB / 0.5819 GB, free: 13.34 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001248/0.5262, allocations: 0.8307 MB / 0.5827 GB, free: 12.46 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004421/0.5267, allocations: 267.7 kB / 0.583 GB, free: 12.19 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001933/0.5269, allocations: 100.8 kB / 0.583 GB, free: 12.09 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.572e-05/0.5269, allocations: 4 kB / 0.5831 GB, free: 12.08 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.527, allocations: 30.56 kB / 0.5831 GB, free: 12.04 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 2.073e-06/0.527, allocations: 4 kB / 0.5831 GB, free: 12.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007489/0.5277, allocations: 347.6 kB / 0.5834 GB, free: 11.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.523e-05/0.5278, allocations: 55.41 kB / 0.5835 GB, free: 11.63 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003645/0.5282, allocations: 342.9 kB / 0.5838 GB, free: 11.29 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/0.5282, allocations: 29.7 kB / 0.5838 GB, free: 11.25 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.5283, allocations: 164 kB / 0.584 GB, free: 11.09 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.858e-05/0.5284, allocations: 59.19 kB / 0.584 GB, free: 11.03 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.241e-05/0.5284, allocations: 4 kB / 0.584 GB, free: 11.03 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.5285, allocations: 334.8 kB / 0.5844 GB, free: 10.69 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002231/0.5288, allocations: 112.4 kB / 0.5845 GB, free: 10.58 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002629/0.529, allocations: 183.9 kB / 0.5846 GB, free: 10.36 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004882/0.5295, allocations: 314.8 kB / 0.5849 GB, free: 10.01 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.5295, allocations: 3.984 kB / 0.5849 GB, free: 10.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006187/0.5302, allocations: 356.1 kB / 0.5853 GB, free: 9.656 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.5302, allocations: 4.75 kB / 0.5853 GB, free: 9.652 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.5302, allocations: 8 kB / 0.5853 GB, free: 9.645 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.15e-05/0.5302, allocations: 7.938 kB / 0.5853 GB, free: 9.637 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005452/0.5308, allocations: 127.9 kB / 0.5854 GB, free: 9.512 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002131/0.5329, allocations: 3.649 MB / 0.589 GB, free: 5.723 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002365/0.5332, allocations: 47.55 kB / 0.589 GB, free: 5.676 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.869e-05/0.5332, allocations: 20.28 kB / 0.5891 GB, free: 5.656 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,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 (28): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002098/0.5334, allocations: 170.3 kB / 0.5892 GB, free: 5.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.346e-05/0.5335, allocations: 35.58 kB / 0.5893 GB, free: 5.445 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006575/0.5342, allocations: 331.4 kB / 0.5896 GB, free: 5.113 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.5342, allocations: 4 kB / 0.5896 GB, free: 5.109 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.5342, allocations: 3.938 kB / 0.5896 GB, free: 5.105 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.5342, allocations: 0 / 0.5896 GB, free: 5.105 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003817/0.5346, allocations: 301.4 kB / 0.5899 GB, free: 4.762 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.5346, allocations: 0 / 0.5899 GB, free: 4.762 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004353/0.535, allocations: 107.9 kB / 0.59 GB, free: 4.656 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.5351, allocations: 7.938 kB / 0.59 GB, free: 4.648 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.774e-05/0.5351, allocations: 8 kB / 0.59 GB, free: 4.641 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001928/0.537, allocations: 3.649 MB / 0.5935 GB, free: 0.8516 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.537, allocations: 0 / 0.5935 GB, free: 0.8516 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005016/0.5375, allocations: 355 kB / 0.5939 GB, free: 500 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001097/0.5377, allocations: 104.9 kB / 0.594 GB, free: 376 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.248e-05/0.5377, allocations: 4 kB / 0.594 GB, free: 372 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001534/0.5379, allocations: 11.98 kB / 0.594 GB, free: 360 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.826e-05/0.538, allocations: 11.98 kB / 0.594 GB, free: 348 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.099e-05/0.538, allocations: 19.86 kB / 0.594 GB, free: 328 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002647/0.5383, allocations: 237.9 kB / 0.5943 GB, free: 88 kB / 410.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5383, allocations: 0 / 0.5943 GB, free: 88 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004464/0.5387, allocations: 87.83 kB / 0.5943 GB, free: 0 / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003479/0.5391, allocations: 156 kB / 0.5945 GB, free: 15.84 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008856/0.54, allocations: 321.8 kB / 0.5948 GB, free: 15.52 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.54, allocations: 0 / 0.5948 GB, free: 15.52 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000537/0.5405, allocations: 200.5 kB / 0.595 GB, free: 15.33 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004724/0.541, allocations: 64.72 kB / 0.595 GB, free: 15.27 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001161/0.5422, allocations: 0.6283 MB / 0.5957 GB, free: 14.62 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004254/0.5426, allocations: 0.8003 MB / 0.5964 GB, free: 13.79 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002417/0.5429, allocations: 74.89 kB / 0.5965 GB, free: 13.72 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.624e-05/0.5429, allocations: 27.38 kB / 0.5965 GB, free: 13.7 MB / 426.7 MB Notification: Performance of SimCode: time 4.21e-07/0.543, allocations: 4 kB / 0.5965 GB, free: 13.69 MB / 426.7 MB Notification: Performance of Templates: time 0.01002/0.553, allocations: 5.156 MB / 0.6016 GB, free: 8.586 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_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_turbulent_KC/kc_turbulent_KC.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches