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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 106.5 kB / 18.45 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 187.2 kB / 19.39 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 222.9 MB / 243.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2088/0.2088, allocations: 44.19 MB / 337.4 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 63.91 kB / 471.2 MB, free: 13.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.3384, allocations: 60.82 MB / 0.5196 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.002934/0.3414, allocations: 1.88 MB / 0.5214 GB, free: 2.324 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001351/0.3427, allocations: 0.801 MB / 0.5222 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.125e-05/0.3428, allocations: 1.469 kB / 0.5222 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002829/0.3431, allocations: 54.53 kB / 0.5223 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002967/0.3435, allocations: 88.62 kB / 0.5224 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002523/0.3437, allocations: 74.52 kB / 0.5224 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002752/0.344, allocations: 262.2 kB / 0.5227 GB, free: 1.547 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.93e-05/0.3441, allocations: 27.38 kB / 0.5227 GB, free: 1.535 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001475/0.3442, allocations: 99.92 kB / 0.5228 GB, free: 1.492 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000173/0.3444, allocations: 115.7 kB / 0.5229 GB, free: 1.445 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.694e-05/0.3444, allocations: 10.89 kB / 0.5229 GB, free: 1.441 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002455/0.3447, allocations: 119.5 kB / 0.523 GB, free: 1.402 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.123e-05/0.3448, allocations: 62.11 kB / 0.5231 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.516e-05/0.3449, allocations: 105.8 kB / 0.5232 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003946/0.3453, allocations: 305.5 kB / 0.5235 GB, free: 1.195 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.3453, allocations: 0 / 0.5235 GB, free: 1.195 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3453, allocations: 1.531 kB / 0.5235 GB, free: 1.195 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.11e-05/0.3453, allocations: 0 / 0.5235 GB, free: 1.195 MB / 382.1 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.0007364/0.3461, allocations: 0.548 MB / 0.524 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.3461, allocations: 9.109 kB / 0.524 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.744e-05/0.3462, allocations: 30.05 kB / 0.5241 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002219/0.3464, allocations: 241.4 kB / 0.5243 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/0.3464, allocations: 23.05 kB / 0.5243 GB, free: 480 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.651e-05/0.3465, allocations: 23.78 kB / 0.5243 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005947/0.3471, allocations: 381.2 kB / 0.5247 GB, free: 328 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.3471, allocations: 0 / 0.5247 GB, free: 328 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.549e-05/0.3471, allocations: 9.875 kB / 0.5247 GB, free: 320 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-05/0.3472, allocations: 28.89 kB / 0.5247 GB, free: 316 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005891/0.3478, allocations: 370.5 kB / 0.5251 GB, free: 228 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001344/0.3491, allocations: 0.8407 MB / 0.5259 GB, free: 15.75 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005115/0.3496, allocations: 261 kB / 0.5262 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002054/0.3499, allocations: 98.8 kB / 0.5262 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.248e-05/0.3499, allocations: 14.77 kB / 0.5263 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.35, allocations: 31.88 kB / 0.5263 GB, free: 15.6 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.523e-06/0.35, allocations: 0 / 0.5263 GB, free: 15.6 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007619/0.3507, allocations: 330.6 kB / 0.5266 GB, free: 15.45 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.994e-05/0.3508, allocations: 60.72 kB / 0.5267 GB, free: 15.38 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003322/0.3511, allocations: 338.9 kB / 0.527 GB, free: 15.16 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.434e-05/0.3511, allocations: 31.02 kB / 0.527 GB, free: 15.13 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/0.3513, allocations: 171.1 kB / 0.5272 GB, free: 14.97 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.825e-05/0.3513, allocations: 61.89 kB / 0.5272 GB, free: 14.92 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.3514, allocations: 54.69 kB / 0.5273 GB, free: 14.88 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.3516, allocations: 339.1 kB / 0.5276 GB, free: 14.55 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002157/0.3518, allocations: 103.7 kB / 0.5277 GB, free: 14.5 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002938/0.3521, allocations: 184 kB / 0.5279 GB, free: 14.35 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005314/0.3526, allocations: 306.3 kB / 0.5282 GB, free: 14.14 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.3526, allocations: 1.188 kB / 0.5282 GB, free: 14.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006445/0.3533, allocations: 351.1 kB / 0.5285 GB, free: 13.97 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.3533, allocations: 5.125 kB / 0.5285 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.3533, allocations: 7.531 kB / 0.5285 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.3534, allocations: 4.625 kB / 0.5285 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005853/0.3539, allocations: 123.8 kB / 0.5287 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001998/0.356, allocations: 3.646 MB / 0.5322 GB, free: 10.3 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002537/0.3562, allocations: 40.92 kB / 0.5323 GB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.85e-05/0.3563, allocations: 19.59 kB / 0.5323 GB, free: 10.26 MB / 398.1 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 (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002442/0.3565, allocations: 181.7 kB / 0.5324 GB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.018e-05/0.3566, allocations: 31.61 kB / 0.5325 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006935/0.3573, allocations: 319.6 kB / 0.5328 GB, free: 9.914 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.3573, allocations: 5.078 kB / 0.5328 GB, free: 9.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3573, allocations: 4 kB / 0.5328 GB, free: 9.906 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.753e-05/0.3574, allocations: 102.6 kB / 0.5329 GB, free: 9.797 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.554e-05/0.3574, allocations: 1.094 kB / 0.5329 GB, free: 9.797 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001749/0.3576, allocations: 16.3 kB / 0.5329 GB, free: 9.785 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.28e-05/0.3577, allocations: 10.55 kB / 0.5329 GB, free: 9.781 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001071/0.3588, allocations: 483.6 kB / 0.5334 GB, free: 9.488 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007801/0.3596, allocations: 0.5548 MB / 0.5339 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002059/0.3598, allocations: 98.86 kB / 0.534 GB, free: 9.074 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002408/0.36, allocations: 246.4 kB / 0.5342 GB, free: 8.918 MB / 398.1 MB Notification: Performance of Backend: time 7.31e-07/0.36, allocations: 0 / 0.5342 GB, free: 8.918 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001202/0.3612, allocations: 339.6 kB / 0.5346 GB, free: 8.754 MB / 398.1 MB Notification: Performance of SimCode: time 0.001213/0.3625, allocations: 1.045 MB / 0.5356 GB, free: 7.906 MB / 398.1 MB Notification: Performance of Templates: time 0.01144/0.3739, allocations: 5.747 MB / 0.5412 GB, free: 5.133 MB / 398.1 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/jenkins1/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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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