Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.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=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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 93.88 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001584/0.001584, allocations: 171.8 kB / 18.25 MB, free: 5.527 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 223.3 MB / 242.3 MB, free: 224 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.205/0.205, allocations: 44.25 MB / 337.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003117/0.0003117, allocations: 12 kB / 410.4 MB, free: 27.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1107, allocations: 61.92 MB / 472.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.002488/0.1132, allocations: 1.489 MB / 473.8 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001409/0.1147, allocations: 0.7713 MB / 474.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.203e-05/0.1147, allocations: 0 / 474.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002367/0.115, allocations: 35.81 kB / 474.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002792/0.1153, allocations: 83.64 kB / 474.6 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002115/0.1155, allocations: 62.81 kB / 474.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002535/0.1158, allocations: 247.2 kB / 475 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.592e-05/0.1158, allocations: 13.11 kB / 475 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001302/0.116, allocations: 55.7 kB / 475 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001544/0.1161, allocations: 79.67 kB / 475.1 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.1162, allocations: 4 kB / 475.1 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00027/0.1164, allocations: 163.7 kB / 475.3 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.823e-05/0.1165, allocations: 35.89 kB / 475.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.229e-05/0.1166, allocations: 81.27 kB / 475.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003138/0.1169, allocations: 199.6 kB / 475.6 MB, free: 10.01 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.117, allocations: 3.938 kB / 475.6 MB, free: 10.01 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.117, allocations: 0 / 475.6 MB, free: 10.01 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.117, allocations: 0 / 475.6 MB, free: 10.01 MB / 350.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.0007275/0.1177, allocations: 429.2 kB / 476 MB, free: 9.543 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.1178, allocations: 12.03 kB / 476 MB, free: 9.531 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.696e-05/0.1178, allocations: 16.75 kB / 476 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002572/0.1181, allocations: 196.2 kB / 476.2 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/0.1181, allocations: 8.375 kB / 476.2 MB, free: 9.277 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.735e-05/0.1181, allocations: 12.12 kB / 476.2 MB, free: 9.266 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003959/0.1185, allocations: 173.5 kB / 476.4 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.1186, allocations: 0 / 476.4 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.701e-05/0.1186, allocations: 4 kB / 476.4 MB, free: 9.086 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.118e-05/0.1186, allocations: 15.98 kB / 476.4 MB, free: 9.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003892/0.119, allocations: 179.8 kB / 476.6 MB, free: 8.895 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000785/0.1198, allocations: 499.9 kB / 477.1 MB, free: 8.355 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004205/0.1202, allocations: 158.5 kB / 477.2 MB, free: 8.191 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001586/0.1204, allocations: 64.81 kB / 477.3 MB, free: 8.125 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.117e-05/0.1205, allocations: 0 / 477.3 MB, free: 8.125 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.253e-05/0.1205, allocations: 42.48 kB / 477.3 MB, free: 8.074 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.483e-06/0.1205, allocations: 0 / 477.3 MB, free: 8.074 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006272/0.1211, allocations: 217.2 kB / 477.6 MB, free: 7.855 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.625e-05/0.1212, allocations: 59.41 kB / 477.6 MB, free: 7.785 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002132/0.1214, allocations: 199.5 kB / 477.8 MB, free: 7.574 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.846e-05/0.1215, allocations: 25.7 kB / 477.8 MB, free: 7.543 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.684e-05/0.1215, allocations: 108 kB / 477.9 MB, free: 7.434 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.041e-05/0.1216, allocations: 35.61 kB / 478 MB, free: 7.398 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.816e-05/0.1216, allocations: 17.72 kB / 478 MB, free: 7.375 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.1218, allocations: 330.8 kB / 478.3 MB, free: 7.043 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001601/0.122, allocations: 63.88 kB / 478.4 MB, free: 6.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001508/0.1221, allocations: 70.53 kB / 478.4 MB, free: 6.902 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003219/0.1225, allocations: 142.4 kB / 478.6 MB, free: 6.754 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1225, allocations: 0 / 478.6 MB, free: 6.754 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003967/0.1229, allocations: 185.3 kB / 478.8 MB, free: 6.566 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.1229, allocations: 4 kB / 478.8 MB, free: 6.562 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.1229, allocations: 0 / 478.8 MB, free: 6.562 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.1229, allocations: 4 kB / 478.8 MB, free: 6.559 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002775/0.1232, allocations: 52.03 kB / 478.8 MB, free: 6.508 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008961/0.1241, allocations: 1.219 MB / 480 MB, free: 5.242 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000121/0.1243, allocations: 20.05 kB / 480.1 MB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.795e-05/0.1243, allocations: 15.98 kB / 480.1 MB, free: 5.207 MB / 350.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.0001928/0.1245, allocations: 129.8 kB / 480.2 MB, free: 5.07 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.943e-05/0.1245, allocations: 12.31 kB / 480.2 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004878/0.125, allocations: 198.8 kB / 480.4 MB, free: 4.863 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.125, allocations: 4 kB / 480.4 MB, free: 4.859 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.1251, allocations: 0 / 480.4 MB, free: 4.859 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.207e-06/0.1251, allocations: 0 / 480.4 MB, free: 4.859 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002651/0.1253, allocations: 217.5 kB / 480.6 MB, free: 4.598 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.1253, allocations: 3.938 kB / 480.6 MB, free: 4.594 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002267/0.1256, allocations: 55.91 kB / 480.7 MB, free: 4.539 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.1256, allocations: 0 / 480.7 MB, free: 4.539 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.1256, allocations: 0 / 480.7 MB, free: 4.539 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007697/0.1264, allocations: 1.23 MB / 481.9 MB, free: 3.262 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1264, allocations: 96 / 481.9 MB, free: 3.262 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004193/0.1268, allocations: 259.5 kB / 482.2 MB, free: 2.992 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.493e-05/0.1269, allocations: 100.8 kB / 482.3 MB, free: 2.875 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.182e-05/0.1269, allocations: 3.938 kB / 482.3 MB, free: 2.871 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/0.1271, allocations: 15.88 kB / 482.3 MB, free: 2.855 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.408e-05/0.1271, allocations: 15.98 kB / 482.3 MB, free: 2.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.1271, allocations: 0 / 482.3 MB, free: 2.84 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001346/0.1273, allocations: 149.2 kB / 482.5 MB, free: 2.695 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1273, allocations: 0 / 482.5 MB, free: 2.695 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003159/0.1276, allocations: 44 kB / 482.5 MB, free: 2.652 MB / 350.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.0002501/0.1279, allocations: 127.7 kB / 482.6 MB, free: 2.516 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004756/0.1284, allocations: 155.9 kB / 482.8 MB, free: 2.363 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1284, allocations: 4 kB / 482.8 MB, free: 2.359 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000274/0.1287, allocations: 91.88 kB / 482.9 MB, free: 2.27 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003202/0.129, allocations: 23.98 kB / 482.9 MB, free: 2.246 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000693/0.1297, allocations: 420.3 kB / 483.3 MB, free: 1.812 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003585/0.1301, allocations: 0.7278 MB / 484 MB, free: 1.059 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001095/0.1302, allocations: 41.03 kB / 484.1 MB, free: 1.016 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.731e-05/0.1302, allocations: 11.44 kB / 484.1 MB, free: 1.008 MB / 350.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1302, allocations: 0 / 484.1 MB, free: 1.008 MB / 350.1 MB Notification: Performance of Templates: time 0.006329/0.1366, allocations: 2.398 MB / 486.5 MB, free: 14.65 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapTurbulent_KC/kc_evenGapTurbulent_KC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches