Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.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_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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001281/0.001281, allocations: 118.9 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.001447/0.001447, allocations: 210.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.37/1.37, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2346/0.2346, allocations: 46.09 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 79.88 kB / 482 MB, free: 4.027 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3233/0.3247, allocations: 62.43 MB / 0.5317 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.002709/0.3275, allocations: 1.891 MB / 0.5335 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001235/0.3287, allocations: 0.8493 MB / 0.5344 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.509e-05/0.3288, allocations: 1.406 kB / 0.5344 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002227/0.329, allocations: 49.02 kB / 0.5344 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002549/0.3293, allocations: 85.72 kB / 0.5345 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002675/0.3296, allocations: 81.38 kB / 0.5346 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002854/0.3298, allocations: 264.4 kB / 0.5348 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.551e-05/0.3299, allocations: 30.3 kB / 0.5348 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001935/0.3301, allocations: 107.2 kB / 0.535 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001795/0.3303, allocations: 115.6 kB / 0.5351 GB, free: 11 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.519e-05/0.3303, allocations: 6.875 kB / 0.5351 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002283/0.3306, allocations: 121.6 kB / 0.5352 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.913e-05/0.3307, allocations: 68.3 kB / 0.5352 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.297e-05/0.3308, allocations: 104.4 kB / 0.5353 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003579/0.3311, allocations: 308.8 kB / 0.5356 GB, free: 10.64 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.3311, allocations: 0 / 0.5356 GB, free: 10.64 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3312, allocations: 0 / 0.5356 GB, free: 10.64 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.3312, allocations: 1.125 kB / 0.5356 GB, free: 10.64 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.000788/0.332, allocations: 0.5494 MB / 0.5362 GB, free: 10.12 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.332, allocations: 9.344 kB / 0.5362 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.526e-05/0.3321, allocations: 29.88 kB / 0.5362 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002349/0.3323, allocations: 242.6 kB / 0.5364 GB, free: 9.867 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.09e-05/0.3323, allocations: 18.73 kB / 0.5365 GB, free: 9.859 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.354e-05/0.3324, allocations: 27.38 kB / 0.5365 GB, free: 9.848 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005787/0.333, allocations: 376.1 kB / 0.5369 GB, free: 9.637 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.333, allocations: 3.984 kB / 0.5369 GB, free: 9.633 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.081e-05/0.333, allocations: 10.09 kB / 0.5369 GB, free: 9.625 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.491e-05/0.3331, allocations: 28.77 kB / 0.5369 GB, free: 9.617 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006063/0.3337, allocations: 379.4 kB / 0.5373 GB, free: 9.445 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001208/0.3349, allocations: 0.8365 MB / 0.5381 GB, free: 8.828 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004503/0.3354, allocations: 258.5 kB / 0.5383 GB, free: 8.715 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001985/0.3356, allocations: 93.83 kB / 0.5384 GB, free: 8.672 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.024e-05/0.3356, allocations: 11.62 kB / 0.5384 GB, free: 8.664 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.3357, allocations: 39.62 kB / 0.5385 GB, free: 8.617 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.633e-06/0.3357, allocations: 0 / 0.5385 GB, free: 8.617 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007334/0.3364, allocations: 332.8 kB / 0.5388 GB, free: 8.465 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.687e-05/0.3364, allocations: 52.75 kB / 0.5388 GB, free: 8.402 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003358/0.3368, allocations: 342.9 kB / 0.5392 GB, free: 8.191 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.175e-05/0.3368, allocations: 26.7 kB / 0.5392 GB, free: 8.16 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001322/0.337, allocations: 170.1 kB / 0.5393 GB, free: 8 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.759e-05/0.337, allocations: 60 kB / 0.5394 GB, free: 7.949 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.681e-05/0.3371, allocations: 58.06 kB / 0.5395 GB, free: 7.906 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.3372, allocations: 340.2 kB / 0.5398 GB, free: 7.574 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002066/0.3374, allocations: 101.5 kB / 0.5399 GB, free: 7.531 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002923/0.3377, allocations: 193 kB / 0.5401 GB, free: 7.371 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004851/0.3382, allocations: 307.6 kB / 0.5403 GB, free: 7.16 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.3382, allocations: 1.344 kB / 0.5404 GB, free: 7.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006109/0.3389, allocations: 349.8 kB / 0.5407 GB, free: 6.984 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.3389, allocations: 7.094 kB / 0.5407 GB, free: 6.984 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.3389, allocations: 6.469 kB / 0.5407 GB, free: 6.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.3389, allocations: 4.531 kB / 0.5407 GB, free: 6.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005868/0.3395, allocations: 123.7 kB / 0.5408 GB, free: 6.945 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001811/0.3413, allocations: 3.647 MB / 0.5444 GB, free: 3.312 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002208/0.3416, allocations: 40.98 kB / 0.5444 GB, free: 3.285 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.953e-05/0.3416, allocations: 18.3 kB / 0.5444 GB, free: 3.277 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.0002195/0.3418, allocations: 181 kB / 0.5446 GB, free: 3.125 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.699e-05/0.3419, allocations: 32.11 kB / 0.5446 GB, free: 3.105 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006579/0.3426, allocations: 322.3 kB / 0.5449 GB, free: 2.934 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.3426, allocations: 3.984 kB / 0.545 GB, free: 2.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3426, allocations: 1.156 kB / 0.545 GB, free: 2.93 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.982e-05/0.3427, allocations: 98.05 kB / 0.545 GB, free: 2.824 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.616e-05/0.3427, allocations: 8.938 kB / 0.5451 GB, free: 2.816 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001843/0.3429, allocations: 16.77 kB / 0.5451 GB, free: 2.805 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.552e-05/0.343, allocations: 15.05 kB / 0.5451 GB, free: 2.797 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001072/0.344, allocations: 479.5 kB / 0.5455 GB, free: 2.504 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007414/0.3448, allocations: 0.5523 MB / 0.5461 GB, free: 2.137 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002066/0.345, allocations: 103.5 kB / 0.5462 GB, free: 2.09 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002617/0.3453, allocations: 242.2 kB / 0.5464 GB, free: 1.938 MB / 398.1 MB Notification: Performance of Backend: time 9.51e-07/0.3453, allocations: 1.281 kB / 0.5464 GB, free: 1.938 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001153/0.3464, allocations: 340.2 kB / 0.5467 GB, free: 1.746 MB / 398.1 MB Notification: Performance of SimCode: time 0.001084/0.3475, allocations: 1.051 MB / 0.5478 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of Templates: time 0.01006/0.3576, allocations: 5.932 MB / 0.5536 GB, free: 10.79 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches