Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001515/0.001515, allocations: 106.8 kB / 21.19 MB, free: 0.6406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 213.3 kB / 24.49 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.457/1.457, allocations: 230.6 MB / 258.2 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2268/0.2268, allocations: 46.95 MB / 361.6 MB, free: 4.043 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5004,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.1.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=5004,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.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 63.84 kB / 0.4974 GB, free: 7.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3333/0.3353, allocations: 66.05 MB / 0.5619 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.003298/0.3386, allocations: 1.839 MB / 0.5637 GB, free: 2.312 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001428/0.34, allocations: 0.78 MB / 0.5644 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.118e-05/0.3401, allocations: 0 / 0.5644 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002988/0.3404, allocations: 55.67 kB / 0.5645 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003093/0.3407, allocations: 87.55 kB / 0.5646 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002995/0.341, allocations: 83.73 kB / 0.5646 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000332/0.3414, allocations: 258.7 kB / 0.5649 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.036e-05/0.3414, allocations: 12.58 kB / 0.5649 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002097/0.3416, allocations: 107.5 kB / 0.565 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001909/0.3418, allocations: 127.4 kB / 0.5651 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.549e-05/0.3418, allocations: 12 kB / 0.5651 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001896/0.342, allocations: 75.89 kB / 0.5652 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.936e-05/0.3421, allocations: 63.67 kB / 0.5653 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001042/0.3422, allocations: 83.42 kB / 0.5653 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003998/0.3426, allocations: 293 kB / 0.5656 GB, free: 304 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.3426, allocations: 7.938 kB / 0.5656 GB, free: 296 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3426, allocations: 0 / 0.5656 GB, free: 296 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.012e-05/0.3426, allocations: 3.938 kB / 0.5656 GB, free: 292 kB / 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.0009159/0.3436, allocations: 489.4 kB / 0.5661 GB, free: 15.78 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.3436, allocations: 12.03 kB / 0.5661 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.601e-05/0.3437, allocations: 32.75 kB / 0.5661 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003423/0.344, allocations: 178.2 kB / 0.5663 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.76e-05/0.344, allocations: 28.8 kB / 0.5663 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.637e-05/0.3441, allocations: 32.11 kB / 0.5664 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006779/0.3448, allocations: 368.8 kB / 0.5667 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.3448, allocations: 4 kB / 0.5667 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.866e-05/0.3448, allocations: 8 kB / 0.5667 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.214e-05/0.3449, allocations: 24.64 kB / 0.5668 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000655/0.3455, allocations: 378.3 kB / 0.5671 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001296/0.3468, allocations: 0.6916 MB / 0.5678 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005058/0.3473, allocations: 246.3 kB / 0.568 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002073/0.3475, allocations: 88.84 kB / 0.5681 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.389e-05/0.3476, allocations: 3.984 kB / 0.5681 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.234e-05/0.3476, allocations: 42.5 kB / 0.5682 GB, free: 13.59 MB / 414.1 MB Notification: Performance of pre-optimization done (n=16): time 1.532e-06/0.3476, allocations: 4 kB / 0.5682 GB, free: 13.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008537/0.3485, allocations: 324.3 kB / 0.5685 GB, free: 13.26 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.341e-05/0.3485, allocations: 51.41 kB / 0.5685 GB, free: 13.2 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001886/0.3487, allocations: 198.6 kB / 0.5687 GB, free: 13 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.647e-05/0.3487, allocations: 33.64 kB / 0.5687 GB, free: 12.96 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/0.3488, allocations: 184.3 kB / 0.5689 GB, free: 12.77 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.937e-05/0.3489, allocations: 63.5 kB / 0.569 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.349, allocations: 57.89 kB / 0.569 GB, free: 12.64 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.3492, allocations: 334.8 kB / 0.5693 GB, free: 12.31 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002249/0.3494, allocations: 96.36 kB / 0.5694 GB, free: 12.21 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002918/0.3497, allocations: 191.9 kB / 0.5696 GB, free: 11.99 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000536/0.3502, allocations: 310.7 kB / 0.5699 GB, free: 11.65 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.3502, allocations: 0 / 0.5699 GB, free: 11.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000637/0.3508, allocations: 331.9 kB / 0.5702 GB, free: 11.32 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.3509, allocations: 11.94 kB / 0.5702 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.3509, allocations: 4 kB / 0.5703 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.3509, allocations: 4 kB / 0.5703 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006304/0.3515, allocations: 127.9 kB / 0.5704 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002353/0.3539, allocations: 3.649 MB / 0.5739 GB, free: 7.387 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002006/0.3541, allocations: 31.78 kB / 0.574 GB, free: 7.355 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.949e-05/0.3541, allocations: 15.98 kB / 0.574 GB, free: 7.34 MB / 414.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.0003226/0.3544, allocations: 183.8 kB / 0.5742 GB, free: 7.152 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.852e-05/0.3545, allocations: 19.91 kB / 0.5742 GB, free: 7.133 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007358/0.3552, allocations: 322.9 kB / 0.5745 GB, free: 6.809 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3552, allocations: 0 / 0.5745 GB, free: 6.809 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.3552, allocations: 0 / 0.5745 GB, free: 6.809 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.027e-05/0.3552, allocations: 19.84 kB / 0.5745 GB, free: 6.789 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.943e-05/0.3553, allocations: 7.984 kB / 0.5745 GB, free: 6.781 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001711/0.3555, allocations: 8 kB / 0.5745 GB, free: 6.773 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.387e-05/0.3555, allocations: 19.91 kB / 0.5745 GB, free: 6.754 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001176/0.3567, allocations: 473.7 kB / 0.575 GB, free: 6.266 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00086/0.3576, allocations: 0.5401 MB / 0.5755 GB, free: 5.711 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002124/0.3578, allocations: 91.95 kB / 0.5756 GB, free: 5.621 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001233/0.3579, allocations: 135.2 kB / 0.5757 GB, free: 5.488 MB / 414.1 MB Notification: Performance of Backend: time 4.01e-07/0.3579, allocations: 0 / 0.5757 GB, free: 5.488 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0012/0.3591, allocations: 334 kB / 0.5761 GB, free: 5.152 MB / 414.1 MB Notification: Performance of SimCode: time 0.001226/0.3603, allocations: 0.9859 MB / 0.577 GB, free: 4.121 MB / 414.1 MB Notification: Performance of Templates: time 0.01009/0.3704, allocations: 4.836 MB / 0.5817 GB, free: 15.38 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.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.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_turbulent_KC/kc_turbulent_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.147455473997979]