Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_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.001354/0.001354, allocations: 103.6 kB / 21.19 MB, free: 0.6523 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.001699/0.001699, allocations: 211.6 kB / 24.48 MB, free: 3.957 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.505/1.505, allocations: 230.6 MB / 258.3 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.2251/0.2251, allocations: 46.96 MB / 361.6 MB, free: 4.039 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.Channel.kc_evenGapTurbulent_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|velocity.1.|velocity.2.|cp.1.|cp.2.|eta.1.|eta.2.|lambda.1.|lambda.2.|rho.1.|rho.2.|Nu.1.|Nu.2.|m_flow.1.|m_flow.2.|kc_OUT_1.1.|kc_OUT_1.2.|Re.1.|Re.2.|input_Nu.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|velocity.1.|velocity.2.|cp.1.|cp.2.|eta.1.|eta.2.|lambda.1.|lambda.2.|rho.1.|rho.2.|Nu.1.|Nu.2.|m_flow.1.|m_flow.2.|kc_OUT_1.1.|kc_OUT_1.2.|Re.1.|Re.2.|input_Nu.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00235/0.00235, allocations: 59.91 kB / 0.4974 GB, free: 7.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3017/0.304, allocations: 66.04 MB / 0.5618 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.003121/0.3072, allocations: 1.754 MB / 0.5636 GB, free: 2.398 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001402/0.3086, allocations: 0.78 MB / 0.5643 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.023e-05/0.3086, allocations: 0 / 0.5643 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000245/0.3089, allocations: 47.75 kB / 0.5644 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002752/0.3092, allocations: 71.64 kB / 0.5644 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000267/0.3094, allocations: 83.72 kB / 0.5645 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000207/0.3096, allocations: 147.3 kB / 0.5647 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.805e-05/0.3097, allocations: 9.062 kB / 0.5647 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001745/0.3098, allocations: 71.69 kB / 0.5647 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001423/0.31, allocations: 79.66 kB / 0.5648 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.004e-05/0.31, allocations: 7.938 kB / 0.5648 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001709/0.3102, allocations: 63.89 kB / 0.5649 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.575e-05/0.3102, allocations: 35.91 kB / 0.5649 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.102e-05/0.3103, allocations: 43.67 kB / 0.5649 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000293/0.3106, allocations: 189.6 kB / 0.5651 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.3106, allocations: 0 / 0.5651 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.3106, allocations: 0 / 0.5651 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.3106, allocations: 3.938 kB / 0.5651 GB, free: 0.7812 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0006696/0.3113, allocations: 369.6 kB / 0.5655 GB, free: 400 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.3113, allocations: 8.031 kB / 0.5655 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.225e-05/0.3114, allocations: 20.83 kB / 0.5655 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00021/0.3116, allocations: 142.3 kB / 0.5656 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.3116, allocations: 8.375 kB / 0.5657 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.658e-05/0.3116, allocations: 20.11 kB / 0.5657 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003659/0.312, allocations: 169.6 kB / 0.5658 GB, free: 0 / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.312, allocations: 0 / 0.5658 GB, free: 0 / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.197e-05/0.312, allocations: 4.078 kB / 0.5658 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.171e-05/0.3121, allocations: 15.98 kB / 0.5659 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003691/0.3124, allocations: 163.8 kB / 0.566 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007609/0.3132, allocations: 399.9 kB / 0.5664 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003041/0.3135, allocations: 142.4 kB / 0.5665 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001516/0.3136, allocations: 56.84 kB / 0.5666 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.705e-05/0.3137, allocations: 4 kB / 0.5666 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.3137, allocations: 34.5 kB / 0.5666 GB, free: 15.14 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.302e-06/0.3137, allocations: 3.938 kB / 0.5666 GB, free: 15.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005662/0.3143, allocations: 193.4 kB / 0.5668 GB, free: 14.95 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.714e-05/0.3143, allocations: 59.41 kB / 0.5669 GB, free: 14.88 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/0.3145, allocations: 144.9 kB / 0.567 GB, free: 14.72 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.21e-05/0.3145, allocations: 25.7 kB / 0.567 GB, free: 14.69 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.831e-05/0.3146, allocations: 124 kB / 0.5671 GB, free: 14.57 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.276e-05/0.3146, allocations: 31.7 kB / 0.5672 GB, free: 14.54 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.253e-05/0.3147, allocations: 33.7 kB / 0.5672 GB, free: 14.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.3148, allocations: 318.8 kB / 0.5675 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.315, allocations: 47.95 kB / 0.5676 GB, free: 14.13 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001676/0.3151, allocations: 70.52 kB / 0.5676 GB, free: 14.05 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003017/0.3154, allocations: 138.4 kB / 0.5678 GB, free: 13.91 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.3154, allocations: 3.938 kB / 0.5678 GB, free: 13.9 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003748/0.3158, allocations: 157.4 kB / 0.5679 GB, free: 13.74 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.3158, allocations: 8 kB / 0.5679 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.3158, allocations: 0 / 0.5679 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.3159, allocations: 4.062 kB / 0.5679 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003062/0.3162, allocations: 52.44 kB / 0.568 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008554/0.317, allocations: 1.223 MB / 0.5692 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000112/0.3171, allocations: 8.016 kB / 0.5692 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/0.3171, allocations: 4 kB / 0.5692 GB, free: 12.4 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001976/0.3173, allocations: 133.8 kB / 0.5693 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.244e-05/0.3174, allocations: 23.97 kB / 0.5693 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000449/0.3178, allocations: 182.2 kB / 0.5695 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.3178, allocations: 0 / 0.5695 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3178, allocations: 0 / 0.5695 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.3178, allocations: 0 / 0.5695 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002215/0.3181, allocations: 157.3 kB / 0.5697 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.3181, allocations: 96 / 0.5697 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002287/0.3183, allocations: 51.86 kB / 0.5697 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.3183, allocations: 0 / 0.5697 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.904e-05/0.3183, allocations: 11.92 kB / 0.5697 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000765/0.3191, allocations: 1.215 MB / 0.5709 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.3191, allocations: 3.938 kB / 0.5709 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004005/0.3195, allocations: 243.4 kB / 0.5711 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.723e-05/0.3195, allocations: 19.83 kB / 0.5712 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.197e-05/0.3195, allocations: 0 / 0.5712 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/0.3197, allocations: 12.11 kB / 0.5712 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-05/0.3197, allocations: 19.92 kB / 0.5712 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.396e-06/0.3197, allocations: 0 / 0.5712 GB, free: 10.23 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.769e-05/0.3198, allocations: 111.2 kB / 0.5713 GB, free: 10.12 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3198, allocations: 0 / 0.5713 GB, free: 10.12 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003162/0.3201, allocations: 43.88 kB / 0.5713 GB, free: 10.08 MB / 414.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002239/0.3203, allocations: 132.8 kB / 0.5715 GB, free: 9.941 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005088/0.3209, allocations: 143.8 kB / 0.5716 GB, free: 9.801 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3209, allocations: 0 / 0.5716 GB, free: 9.801 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000297/0.3212, allocations: 87.88 kB / 0.5717 GB, free: 9.715 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002856/0.3214, allocations: 20.58 kB / 0.5717 GB, free: 9.695 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006954/0.3221, allocations: 377.7 kB / 0.5721 GB, free: 9.293 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001124/0.3222, allocations: 113.8 kB / 0.5722 GB, free: 9.164 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.833e-05/0.3223, allocations: 11.44 kB / 0.5722 GB, free: 9.152 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3223, allocations: 0 / 0.5722 GB, free: 9.152 MB / 414.1 MB Notification: Performance of Templates: time 0.005836/0.3281, allocations: 3.33 MB / 0.5754 GB, free: 5.832 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapTurbulent_KC/kc_evenGapTurbulent_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_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: 8.246386124752462]