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.001122/0.001122, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.001189/0.001189, allocations: 199.3 kB / 19.23 MB, free: 3.914 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.418/1.418, allocations: 222.9 MB / 242.9 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2211/0.2211, allocations: 44.17 MB / 337.3 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 65.5 kB / 409.1 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1084, allocations: 60.82 MB / 469.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.003635/0.112, allocations: 1.768 MB / 471.7 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001408/0.1135, allocations: 0.7868 MB / 472.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001027/0.1136, allocations: 4 kB / 472.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003055/0.1139, allocations: 51.73 kB / 472.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003093/0.1143, allocations: 59.66 kB / 472.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002757/0.1145, allocations: 83.7 kB / 472.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002299/0.1148, allocations: 147.3 kB / 472.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.074e-05/0.1149, allocations: 17.06 kB / 472.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001655/0.115, allocations: 59.77 kB / 472.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001584/0.1152, allocations: 79.66 kB / 473 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.447e-05/0.1152, allocations: 4 kB / 473 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003043/0.1155, allocations: 159.7 kB / 473.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.598e-05/0.1156, allocations: 39.83 kB / 473.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.26e-05/0.1157, allocations: 55.61 kB / 473.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003368/0.1161, allocations: 203.5 kB / 473.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1161, allocations: 4 kB / 473.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1161, allocations: 0 / 473.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.1161, allocations: 0 / 473.4 MB, free: 10.83 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.0007494/0.1169, allocations: 446.9 kB / 473.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.1169, allocations: 12.03 kB / 473.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.782e-05/0.117, allocations: 12.75 kB / 473.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002156/0.1172, allocations: 204.1 kB / 474.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.1172, allocations: 4.375 kB / 474.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.635e-05/0.1173, allocations: 24.12 kB / 474.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003458/0.1176, allocations: 169.5 kB / 474.3 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.1176, allocations: 0 / 474.3 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.1176, allocations: 0 / 474.3 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.021e-05/0.1177, allocations: 15.98 kB / 474.3 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003519/0.1181, allocations: 159.9 kB / 474.5 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008434/0.1189, allocations: 499.9 kB / 475 MB, free: 9.176 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003972/0.1193, allocations: 158.4 kB / 475.1 MB, free: 9.012 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001551/0.1195, allocations: 56.81 kB / 475.2 MB, free: 8.953 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.847e-05/0.1195, allocations: 0 / 475.2 MB, free: 8.953 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.1196, allocations: 46.5 kB / 475.2 MB, free: 8.898 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.072e-06/0.1196, allocations: 0 / 475.2 MB, free: 8.898 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005481/0.1201, allocations: 197.3 kB / 475.4 MB, free: 8.699 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/0.1202, allocations: 51.41 kB / 475.5 MB, free: 8.637 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001971/0.1204, allocations: 203.4 kB / 475.7 MB, free: 8.426 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.1204, allocations: 25.7 kB / 475.7 MB, free: 8.395 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.853e-05/0.1205, allocations: 116 kB / 475.8 MB, free: 8.277 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.483e-05/0.1205, allocations: 27.56 kB / 475.8 MB, free: 8.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.798e-05/0.1206, allocations: 33.64 kB / 475.9 MB, free: 8.211 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.1207, allocations: 330.8 kB / 476.2 MB, free: 7.879 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001396/0.1209, allocations: 47.95 kB / 476.2 MB, free: 7.832 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001599/0.121, allocations: 74.45 kB / 476.3 MB, free: 7.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002907/0.1213, allocations: 130.4 kB / 476.4 MB, free: 7.613 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.1213, allocations: 0 / 476.4 MB, free: 7.613 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003705/0.1217, allocations: 173.7 kB / 476.6 MB, free: 7.438 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.1218, allocations: 8.156 kB / 476.6 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.1218, allocations: 3.938 kB / 476.6 MB, free: 7.426 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.1218, allocations: 0 / 476.6 MB, free: 7.426 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002753/0.1221, allocations: 47.97 kB / 476.7 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007558/0.1228, allocations: 1.223 MB / 477.9 MB, free: 6.109 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001339/0.123, allocations: 15.97 kB / 477.9 MB, free: 6.094 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.123, allocations: 4 kB / 477.9 MB, free: 6.09 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.0001958/0.1232, allocations: 133.5 kB / 478 MB, free: 5.953 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.704e-05/0.1233, allocations: 23.75 kB / 478 MB, free: 5.93 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004295/0.1237, allocations: 182.9 kB / 478.2 MB, free: 5.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.1237, allocations: 8 kB / 478.2 MB, free: 5.742 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.1237, allocations: 0 / 478.2 MB, free: 5.742 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.1237, allocations: 3.984 kB / 478.2 MB, free: 5.738 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002488/0.124, allocations: 221.6 kB / 478.5 MB, free: 5.473 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.124, allocations: 3.938 kB / 478.5 MB, free: 5.469 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002369/0.1242, allocations: 47.91 kB / 478.5 MB, free: 5.422 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.1243, allocations: 0 / 478.5 MB, free: 5.422 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.1243, allocations: 0 / 478.5 MB, free: 5.422 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006678/0.1249, allocations: 1.23 MB / 479.7 MB, free: 4.145 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.125, allocations: 0 / 479.7 MB, free: 4.145 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003748/0.1253, allocations: 243.5 kB / 480 MB, free: 3.891 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.858e-05/0.1254, allocations: 96.86 kB / 480.1 MB, free: 3.777 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.032e-05/0.1254, allocations: 11.88 kB / 480.1 MB, free: 3.766 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/0.1256, allocations: 11.98 kB / 480.1 MB, free: 3.754 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.344e-05/0.1256, allocations: 7.984 kB / 480.1 MB, free: 3.746 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.1256, allocations: 0 / 480.1 MB, free: 3.746 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001202/0.1258, allocations: 153.2 kB / 480.2 MB, free: 3.598 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1258, allocations: 0 / 480.2 MB, free: 3.598 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003006/0.1261, allocations: 40 kB / 480.3 MB, free: 3.559 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.0002362/0.1263, allocations: 131.2 kB / 480.4 MB, free: 3.418 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000492/0.1268, allocations: 152.1 kB / 480.6 MB, free: 3.27 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1268, allocations: 0 / 480.6 MB, free: 3.27 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002786/0.1271, allocations: 92 kB / 480.7 MB, free: 3.18 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003098/0.1274, allocations: 23.98 kB / 480.7 MB, free: 3.156 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007123/0.1282, allocations: 389.1 kB / 481.1 MB, free: 2.746 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003059/0.1285, allocations: 0.7201 MB / 481.8 MB, free: 2 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.319e-05/0.1285, allocations: 19.44 kB / 481.8 MB, free: 1.98 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1286, allocations: 0 / 481.8 MB, free: 1.98 MB / 350.1 MB Notification: Performance of Templates: time 0.006114/0.1347, allocations: 3.474 MB / 485.3 MB, free: 14.52 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/jenkins1/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/jenkins1/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