Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,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.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,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.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001117/0.001117, allocations: 113.2 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001273/0.001273, allocations: 211.9 kB / 19.42 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.33/1.33, allocations: 227.4 MB / 247.6 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2123/0.2123, allocations: 46.1 MB / 345 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001605/0.001605, allocations: 75.88 kB / 482 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3271/0.3287, allocations: 62.43 MB / 0.5317 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.003511/0.3323, allocations: 2.027 MB / 0.5337 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001916/0.3342, allocations: 1.156 MB / 0.5348 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000143/0.3344, allocations: 1.375 kB / 0.5348 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002713/0.3347, allocations: 57.41 kB / 0.5349 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002391/0.3349, allocations: 87.95 kB / 0.5349 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006483/0.3356, allocations: 174.4 kB / 0.5351 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004085/0.336, allocations: 325.5 kB / 0.5354 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.143e-05/0.3361, allocations: 29.52 kB / 0.5355 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002887/0.3364, allocations: 124.3 kB / 0.5356 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002494/0.3367, allocations: 140.7 kB / 0.5357 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.506e-05/0.3367, allocations: 13.33 kB / 0.5357 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004514/0.3372, allocations: 211.3 kB / 0.5359 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001196/0.3373, allocations: 74.14 kB / 0.536 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002351/0.3375, allocations: 129.7 kB / 0.5361 GB, free: 10.33 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006314/0.3382, allocations: 403.6 kB / 0.5365 GB, free: 10.08 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.3382, allocations: 0 / 0.5365 GB, free: 10.08 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3382, allocations: 0 / 0.5365 GB, free: 10.08 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.27e-05/0.3382, allocations: 0 / 0.5365 GB, free: 10.08 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001278/0.3395, allocations: 0.6333 MB / 0.5371 GB, free: 9.516 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.3396, allocations: 8 kB / 0.5371 GB, free: 9.516 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004333/0.34, allocations: 81.77 kB / 0.5372 GB, free: 9.473 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003565/0.3404, allocations: 263.2 kB / 0.5375 GB, free: 9.215 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/0.3404, allocations: 18.94 kB / 0.5375 GB, free: 9.207 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.524e-05/0.3405, allocations: 25.62 kB / 0.5375 GB, free: 9.199 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007751/0.3412, allocations: 427.8 kB / 0.5379 GB, free: 8.945 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.3413, allocations: 0 / 0.5379 GB, free: 8.945 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.111e-05/0.3413, allocations: 11.38 kB / 0.5379 GB, free: 8.938 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.843e-05/0.3413, allocations: 17.7 kB / 0.5379 GB, free: 8.934 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006806/0.342, allocations: 326.5 kB / 0.5382 GB, free: 8.789 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001574/0.3436, allocations: 1.108 MB / 0.5393 GB, free: 7.895 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000558/0.3442, allocations: 242.9 kB / 0.5396 GB, free: 7.746 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002826/0.3445, allocations: 111.1 kB / 0.5397 GB, free: 7.684 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.658e-05/0.3445, allocations: 6.906 kB / 0.5397 GB, free: 7.68 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.3446, allocations: 41.25 kB / 0.5397 GB, free: 7.633 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.713e-06/0.3446, allocations: 0 / 0.5397 GB, free: 7.633 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.001053/0.3456, allocations: 354.3 kB / 0.54 GB, free: 7.469 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.048e-05/0.3457, allocations: 105.1 kB / 0.5401 GB, free: 7.344 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000485/0.3462, allocations: 409.8 kB / 0.5405 GB, free: 7.094 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.3462, allocations: 25.7 kB / 0.5406 GB, free: 7.062 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001614/0.3464, allocations: 197.8 kB / 0.5407 GB, free: 6.879 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.566e-05/0.3465, allocations: 62.72 kB / 0.5408 GB, free: 6.824 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/0.3466, allocations: 61.39 kB / 0.5409 GB, free: 6.781 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.3467, allocations: 344.9 kB / 0.5412 GB, free: 6.445 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002969/0.347, allocations: 117.2 kB / 0.5413 GB, free: 6.398 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003612/0.3474, allocations: 236.5 kB / 0.5415 GB, free: 6.191 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006665/0.3481, allocations: 373.4 kB / 0.5419 GB, free: 5.918 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.3481, allocations: 1.188 kB / 0.5419 GB, free: 5.918 MB / 398.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008945/0.349, allocations: 400.4 kB / 0.5423 GB, free: 5.727 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.349, allocations: 5.781 kB / 0.5423 GB, free: 5.727 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.655e-05/0.3491, allocations: 22.38 kB / 0.5423 GB, free: 5.723 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.3491, allocations: 5.75 kB / 0.5423 GB, free: 5.723 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002435/0.3494, allocations: 52.52 kB / 0.5424 GB, free: 5.703 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.788e-05/0.3494, allocations: 13.78 kB / 0.5424 GB, free: 5.695 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003036/0.3497, allocations: 60.84 kB / 0.5424 GB, free: 5.656 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.523e-05/0.3497, allocations: 17.91 kB / 0.5424 GB, free: 5.652 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (27): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002142/0.35, allocations: 173 kB / 0.5426 GB, free: 5.508 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/0.3501, allocations: 29.25 kB / 0.5426 GB, free: 5.492 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006244/0.3507, allocations: 291.6 kB / 0.5429 GB, free: 5.332 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.3507, allocations: 1.375 kB / 0.5429 GB, free: 5.332 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.722e-05/0.3508, allocations: 22.55 kB / 0.5429 GB, free: 5.324 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/0.3509, allocations: 107.9 kB / 0.543 GB, free: 5.211 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.698e-05/0.3509, allocations: 10.39 kB / 0.5431 GB, free: 5.203 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002787/0.3512, allocations: 18.33 kB / 0.5431 GB, free: 5.195 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.814e-05/0.3513, allocations: 19.84 kB / 0.5431 GB, free: 5.184 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007743/0.3521, allocations: 489.8 kB / 0.5436 GB, free: 4.832 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007171/0.3528, allocations: 0.581 MB / 0.5441 GB, free: 4.371 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002776/0.3531, allocations: 111.6 kB / 0.5442 GB, free: 4.32 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003018/0.3534, allocations: 289.1 kB / 0.5445 GB, free: 4.145 MB / 398.1 MB Notification: Performance of Backend: time 7.22e-07/0.3534, allocations: 0 / 0.5445 GB, free: 4.145 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001292/0.3547, allocations: 481.2 kB / 0.545 GB, free: 3.684 MB / 398.1 MB Notification: Performance of SimCode: time 0.001279/0.356, allocations: 1.19 MB / 0.5461 GB, free: 2.41 MB / 398.1 MB Notification: Performance of Templates: time 0.01145/0.3675, allocations: 6.333 MB / 0.5523 GB, free: 12.15 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_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_turbulent.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches