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_turbulent_KC.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_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_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 173.7 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 221.5 MB / 230.7 MB, free: 7.551 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008871/0.000887, allocations: 90.81 kB / 281.6 MB, free: 5.316 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.2391/0.2391, allocations: 44.15 MB / 376.5 MB, free: 3.035 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.756e-05/1.758e-05, allocations: 4 kB / 444.6 MB, free: 15.21 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1306, allocations: 61.93 MB / 0.4947 GB, free: 1.223 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3955/0.5262, allocations: 91.07 MB / 0.5836 GB, free: 5.414 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002452/0.5264, allocations: 91.94 kB / 0.5837 GB, free: 5.324 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03365/0.5601, allocations: 12.05 MB / 0.5955 GB, free: 9.195 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.5602, allocations: 0 / 0.5955 GB, free: 9.195 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.798e-05/0.5602, allocations: 4 kB / 0.5955 GB, free: 9.191 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.000759/0.5609, allocations: 498.6 kB / 0.596 GB, free: 8.656 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.885e-05/0.561, allocations: 15.98 kB / 0.596 GB, free: 8.641 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.536e-05/0.5611, allocations: 31.62 kB / 0.596 GB, free: 8.609 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003111/0.5614, allocations: 234.6 kB / 0.5962 GB, free: 8.34 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.053e-05/0.5615, allocations: 15.94 kB / 0.5963 GB, free: 8.324 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.686e-05/0.5615, allocations: 12 kB / 0.5963 GB, free: 8.312 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004701/0.562, allocations: 313.2 kB / 0.5966 GB, free: 8.008 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005257/0.5625, allocations: 312.9 kB / 0.5969 GB, free: 7.699 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.5626, allocations: 0 / 0.5969 GB, free: 7.699 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.353e-05/0.5626, allocations: 4.938 kB / 0.5969 GB, free: 7.695 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.95e-05/0.5626, allocations: 20.77 kB / 0.5969 GB, free: 7.676 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001351/0.564, allocations: 0.7486 MB / 0.5976 GB, free: 6.887 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003341/0.5643, allocations: 230.4 kB / 0.5978 GB, free: 6.652 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001289/0.5645, allocations: 76.86 kB / 0.5979 GB, free: 6.574 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.507e-05/0.5645, allocations: 7.984 kB / 0.5979 GB, free: 6.566 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.5646, allocations: 30.56 kB / 0.5979 GB, free: 6.527 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 1.823e-06/0.5646, allocations: 4 kB / 0.598 GB, free: 6.523 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004236/0.565, allocations: 201.7 kB / 0.5981 GB, free: 6.32 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/0.565, allocations: 59.41 kB / 0.5982 GB, free: 6.25 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001766/0.5652, allocations: 169.3 kB / 0.5984 GB, free: 6.074 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.438e-05/0.5653, allocations: 25.7 kB / 0.5984 GB, free: 6.043 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.5654, allocations: 179.8 kB / 0.5986 GB, free: 5.863 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.067e-05/0.5655, allocations: 55.19 kB / 0.5986 GB, free: 5.809 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.316e-05/0.5655, allocations: 0 / 0.5986 GB, free: 5.809 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.5656, allocations: 326.8 kB / 0.5989 GB, free: 5.48 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001367/0.5658, allocations: 84.34 kB / 0.599 GB, free: 5.395 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001788/0.566, allocations: 168.2 kB / 0.5992 GB, free: 5.191 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001689/0.5661, allocations: 113.7 kB / 0.5993 GB, free: 5.082 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.5661, allocations: 0 / 0.5993 GB, free: 5.082 MB / 410.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004346/0.5666, allocations: 285.1 kB / 0.5995 GB, free: 4.797 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.5666, allocations: 4 kB / 0.5995 GB, free: 4.793 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.5666, allocations: 4 kB / 0.5995 GB, free: 4.789 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.5667, allocations: 4 kB / 0.5996 GB, free: 4.785 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005859/0.5672, allocations: 119.8 kB / 0.5997 GB, free: 4.668 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002136/0.5694, allocations: 3.669 MB / 0.6033 GB, free: 0.8594 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002197/0.5696, allocations: 23.8 kB / 0.6033 GB, free: 0.8359 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.448e-05/0.5697, allocations: 11.98 kB / 0.6033 GB, free: 0.8242 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 () * 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.000164/0.5699, allocations: 119.5 kB / 0.6034 GB, free: 0.7031 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.051e-05/0.5699, allocations: 19.8 kB / 0.6034 GB, free: 0.6836 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005613/0.5705, allocations: 289.2 kB / 0.6037 GB, free: 404 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.5705, allocations: 0 / 0.6037 GB, free: 404 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.323e-06/0.5705, allocations: 0 / 0.6037 GB, free: 404 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.5705, allocations: 0 / 0.6037 GB, free: 404 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004087/0.5709, allocations: 266 kB / 0.6039 GB, free: 100 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.571, allocations: 4 kB / 0.604 GB, free: 96 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005437/0.5715, allocations: 99.95 kB / 0.604 GB, free: 15.99 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-06/0.5715, allocations: 0 / 0.604 GB, free: 15.99 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.359e-05/0.5716, allocations: 11.94 kB / 0.6041 GB, free: 15.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002073/0.5736, allocations: 3.661 MB / 0.6076 GB, free: 12.18 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.5737, allocations: 0 / 0.6076 GB, free: 12.18 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003405/0.574, allocations: 299.6 kB / 0.6079 GB, free: 11.88 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.581e-05/0.5741, allocations: 100.8 kB / 0.608 GB, free: 11.76 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.096e-05/0.5741, allocations: 8.172 kB / 0.608 GB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001426/0.5743, allocations: 4 kB / 0.608 GB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.827e-05/0.5743, allocations: 15.97 kB / 0.608 GB, free: 11.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/0.5743, allocations: 4 kB / 0.608 GB, free: 11.73 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001022/0.5744, allocations: 132.3 kB / 0.6082 GB, free: 11.6 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5745, allocations: 0 / 0.6082 GB, free: 11.6 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004392/0.5749, allocations: 87.67 kB / 0.6083 GB, free: 11.51 MB / 426.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 () * 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.0002939/0.5752, allocations: 144.4 kB / 0.6084 GB, free: 11.36 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000732/0.5759, allocations: 256.3 kB / 0.6086 GB, free: 11.11 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.576, allocations: 4 kB / 0.6086 GB, free: 11.11 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004316/0.5764, allocations: 153.3 kB / 0.6088 GB, free: 10.96 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002234/0.5766, allocations: 23.92 kB / 0.6088 GB, free: 10.94 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000664/0.5773, allocations: 354.1 kB / 0.6091 GB, free: 10.57 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003868/0.5777, allocations: 0.7945 MB / 0.6099 GB, free: 9.746 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001701/0.5779, allocations: 61.78 kB / 0.61 GB, free: 9.688 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.458e-05/0.5779, allocations: 19.42 kB / 0.61 GB, free: 9.668 MB / 426.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5779, allocations: 0 / 0.61 GB, free: 9.668 MB / 426.7 MB Notification: Performance of Templates: time 0.006559/0.5845, allocations: 3.168 MB / 0.6131 GB, free: 6.539 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_turbulent_KC/kc_turbulent_KC.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches