Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_3.2.3_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=5000,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_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00107/0.00107, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.215/1.215, allocations: 205.1 MB / 222.5 MB, free: 8.48 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009625/0.0009625, allocations: 98.28 kB / 269.9 MB, free: 8.438 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3072/0.3072, allocations: 43.49 MB / 360.7 MB, free: 51.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009561/0.0009562, allocations: 52.11 kB / 429.3 MB, free: 6.371 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09695/0.09792, allocations: 57.76 MB / 487 MB, free: 12.53 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.002775/0.1007, allocations: 1.835 MB / 488.9 MB, free: 10.68 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001141/0.1019, allocations: 0.8266 MB / 489.7 MB, free: 9.844 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.939e-05/0.102, allocations: 4 kB / 489.7 MB, free: 9.84 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002256/0.1022, allocations: 43.8 kB / 489.7 MB, free: 9.797 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002014/0.1024, allocations: 63.72 kB / 489.8 MB, free: 9.734 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001938/0.1026, allocations: 75.72 kB / 489.9 MB, free: 9.66 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002245/0.1029, allocations: 243.2 kB / 490.1 MB, free: 9.422 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.322e-05/0.1029, allocations: 17.11 kB / 490.1 MB, free: 9.402 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001064/0.103, allocations: 59.66 kB / 490.2 MB, free: 9.344 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001203/0.1031, allocations: 83.66 kB / 490.3 MB, free: 9.262 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.825e-05/0.1032, allocations: 4 kB / 490.3 MB, free: 9.258 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002343/0.1034, allocations: 147.8 kB / 490.4 MB, free: 9.113 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.346e-05/0.1035, allocations: 35.89 kB / 490.5 MB, free: 9.078 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.536e-05/0.1036, allocations: 55.55 kB / 490.5 MB, free: 9.023 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003163/0.1039, allocations: 203.5 kB / 490.7 MB, free: 8.824 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.1039, allocations: 4 kB / 490.7 MB, free: 8.82 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1039, allocations: 0 / 490.7 MB, free: 8.82 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.1039, allocations: 0 / 490.7 MB, free: 8.82 MB / 378.7 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.0007966/0.1047, allocations: 458.4 kB / 491.2 MB, free: 8.328 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.1048, allocations: 8.031 kB / 491.2 MB, free: 8.32 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.653e-05/0.1048, allocations: 16.75 kB / 491.2 MB, free: 8.305 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002543/0.1051, allocations: 204 kB / 491.4 MB, free: 8.066 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.1051, allocations: 4.375 kB / 491.4 MB, free: 8.062 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.308e-05/0.1052, allocations: 12.12 kB / 491.4 MB, free: 8.051 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003541/0.1055, allocations: 173.5 kB / 491.6 MB, free: 7.875 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.1055, allocations: 0 / 491.6 MB, free: 7.875 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.1056, allocations: 4 kB / 491.6 MB, free: 7.871 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.123e-05/0.1056, allocations: 11.98 kB / 491.6 MB, free: 7.859 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000358/0.106, allocations: 167.9 kB / 491.7 MB, free: 7.695 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007511/0.1067, allocations: 0.4921 MB / 492.2 MB, free: 7.152 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003616/0.1071, allocations: 150.5 kB / 492.4 MB, free: 6.996 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001394/0.1072, allocations: 52.81 kB / 492.4 MB, free: 6.941 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.752e-05/0.1073, allocations: 7.938 kB / 492.4 MB, free: 6.934 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.1073, allocations: 38.56 kB / 492.5 MB, free: 6.887 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.1073, allocations: 0 / 492.5 MB, free: 6.887 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004893/0.1078, allocations: 193.4 kB / 492.7 MB, free: 6.691 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.061e-05/0.1078, allocations: 55.41 kB / 492.7 MB, free: 6.625 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001737/0.108, allocations: 199.4 kB / 492.9 MB, free: 6.422 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.108, allocations: 29.7 kB / 492.9 MB, free: 6.387 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.252e-05/0.1081, allocations: 112 kB / 493.1 MB, free: 6.273 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.025e-05/0.1082, allocations: 31.62 kB / 493.1 MB, free: 6.242 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.202e-05/0.1082, allocations: 33.7 kB / 493.1 MB, free: 6.203 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.1083, allocations: 331.1 kB / 493.4 MB, free: 5.871 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001369/0.1085, allocations: 43.95 kB / 493.5 MB, free: 5.828 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001392/0.1086, allocations: 74.45 kB / 493.6 MB, free: 5.746 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002709/0.1089, allocations: 138.3 kB / 493.7 MB, free: 5.602 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1089, allocations: 0 / 493.7 MB, free: 5.602 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003254/0.1092, allocations: 169.3 kB / 493.9 MB, free: 5.43 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.1093, allocations: 8.062 kB / 493.9 MB, free: 5.422 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.1093, allocations: 4 kB / 493.9 MB, free: 5.418 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.1093, allocations: 0 / 493.9 MB, free: 5.418 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002503/0.1095, allocations: 43.97 kB / 493.9 MB, free: 5.375 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006356/0.1102, allocations: 1.231 MB / 495.1 MB, free: 4.098 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001071/0.1103, allocations: 15.84 kB / 495.2 MB, free: 4.082 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.1103, allocations: 4 kB / 495.2 MB, free: 4.078 MB / 378.7 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.0001507/0.1105, allocations: 129.8 kB / 495.3 MB, free: 3.941 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.806e-05/0.1105, allocations: 19.75 kB / 495.3 MB, free: 3.922 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003975/0.1109, allocations: 187 kB / 495.5 MB, free: 3.73 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1109, allocations: 4 kB / 495.5 MB, free: 3.727 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.111, allocations: 3.984 kB / 495.5 MB, free: 3.723 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.111, allocations: 0 / 495.5 MB, free: 3.723 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002186/0.1112, allocations: 217.5 kB / 495.7 MB, free: 3.461 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.1112, allocations: 3.938 kB / 495.7 MB, free: 3.457 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000211/0.1114, allocations: 47.97 kB / 495.8 MB, free: 3.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.1114, allocations: 4 kB / 495.8 MB, free: 3.406 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.1114, allocations: 0 / 495.8 MB, free: 3.406 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005395/0.112, allocations: 1.226 MB / 497 MB, free: 2.133 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.112, allocations: 0 / 497 MB, free: 2.133 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006558/0.1127, allocations: 0.88 MB / 497.9 MB, free: 1.195 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.115e-05/0.1127, allocations: 93.05 kB / 498 MB, free: 1.086 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.3e-05/0.1127, allocations: 4 kB / 498 MB, free: 1.082 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.1129, allocations: 11.92 kB / 498 MB, free: 1.07 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.683e-05/0.1129, allocations: 7.984 kB / 498 MB, free: 1.062 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.1129, allocations: 4 kB / 498 MB, free: 1.059 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001122/0.1131, allocations: 153.2 kB / 498.1 MB, free: 0.9102 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1131, allocations: 11.88 kB / 498.2 MB, free: 0.8984 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003604/0.1134, allocations: 40 kB / 498.2 MB, free: 0.8594 MB / 378.7 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.000187/0.1136, allocations: 135 kB / 498.3 MB, free: 0.7188 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004541/0.1141, allocations: 143.8 kB / 498.5 MB, free: 0.5781 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1141, allocations: 0 / 498.5 MB, free: 0.5781 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002657/0.1144, allocations: 91.86 kB / 498.6 MB, free: 500 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002751/0.1147, allocations: 31.91 kB / 498.6 MB, free: 468 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006304/0.1153, allocations: 0.5038 MB / 499.1 MB, free: 15.92 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002478/0.1156, allocations: 0.7356 MB / 499.8 MB, free: 15.16 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.968e-05/0.1157, allocations: 33.05 kB / 499.9 MB, free: 15.12 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.593e-05/0.1157, allocations: 15.44 kB / 499.9 MB, free: 15.11 MB / 394.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1157, allocations: 0 / 499.9 MB, free: 15.11 MB / 394.7 MB Notification: Performance of Templates: time 0.004707/0.1204, allocations: 2.483 MB / 0.4906 GB, free: 12.64 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapTurbulent_KC/kc_evenGapTurbulent_KC.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches