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.001288/0.001288, allocations: 109.4 kB / 17.21 MB, free: 6.27 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.001202/0.001202, allocations: 194 kB / 18.12 MB, free: 5.363 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.39/1.39, allocations: 222.9 MB / 241.8 MB, free: 15.56 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.2449/0.2449, allocations: 44.16 MB / 336.1 MB, free: 3.02 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 68.42 kB / 407.7 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1161, allocations: 60.83 MB / 468.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.00394/0.1201, allocations: 1.828 MB / 470.4 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001562/0.1217, allocations: 0.7868 MB / 471.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00011/0.1219, allocations: 0 / 471.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003252/0.1222, allocations: 39.8 kB / 471.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003418/0.1226, allocations: 67.72 kB / 471.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003396/0.1229, allocations: 67.8 kB / 471.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003868/0.1233, allocations: 239.2 kB / 471.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.831e-05/0.1234, allocations: 17.09 kB / 471.6 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001936/0.1236, allocations: 55.72 kB / 471.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002056/0.1238, allocations: 83.66 kB / 471.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.735e-05/0.1239, allocations: 4 kB / 471.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003164/0.1242, allocations: 159.8 kB / 471.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.587e-05/0.1243, allocations: 39.83 kB / 471.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.785e-05/0.1244, allocations: 51.61 kB / 472 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003327/0.1247, allocations: 203.5 kB / 472.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1247, allocations: 0 / 472.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1247, allocations: 0 / 472.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.1247, allocations: 3.938 kB / 472.2 MB, free: 11.17 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.0007772/0.1255, allocations: 442.9 kB / 472.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.1256, allocations: 8.031 kB / 472.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.763e-05/0.1256, allocations: 20.75 kB / 472.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002487/0.1259, allocations: 200.1 kB / 472.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.1259, allocations: 8.375 kB / 472.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.239e-05/0.126, allocations: 8.125 kB / 472.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00038/0.1263, allocations: 169.5 kB / 473 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.1264, allocations: 4 kB / 473 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.031e-05/0.1264, allocations: 8 kB / 473 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.843e-05/0.1264, allocations: 11.98 kB / 473 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003838/0.1268, allocations: 167.8 kB / 473.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008177/0.1276, allocations: 491.9 kB / 473.7 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005451/0.1282, allocations: 154.5 kB / 473.8 MB, free: 9.359 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001636/0.1284, allocations: 52.81 kB / 473.9 MB, free: 9.305 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.137e-05/0.1284, allocations: 7.938 kB / 473.9 MB, free: 9.297 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.965e-05/0.1285, allocations: 38.55 kB / 473.9 MB, free: 9.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.462e-06/0.1285, allocations: 3.938 kB / 473.9 MB, free: 9.246 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.000638/0.1291, allocations: 205.3 kB / 474.1 MB, free: 9.039 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/0.1292, allocations: 51.41 kB / 474.2 MB, free: 8.977 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002277/0.1294, allocations: 199.5 kB / 474.4 MB, free: 8.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/0.1295, allocations: 25.7 kB / 474.4 MB, free: 8.738 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.7e-05/0.1295, allocations: 112 kB / 474.5 MB, free: 8.625 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.655e-05/0.1296, allocations: 31.55 kB / 474.5 MB, free: 8.594 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.936e-05/0.1297, allocations: 33.72 kB / 474.6 MB, free: 8.555 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.1298, allocations: 326.8 kB / 474.9 MB, free: 8.227 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001405/0.13, allocations: 51.94 kB / 474.9 MB, free: 8.176 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001523/0.1302, allocations: 74.45 kB / 475 MB, free: 8.094 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002877/0.1304, allocations: 134.7 kB / 475.1 MB, free: 7.953 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.1305, allocations: 0 / 475.1 MB, free: 7.953 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003777/0.1308, allocations: 169.3 kB / 475.3 MB, free: 7.781 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.1309, allocations: 4 kB / 475.3 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.1309, allocations: 3.984 kB / 475.3 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.1309, allocations: 4 kB / 475.3 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002753/0.1312, allocations: 44.05 kB / 475.4 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007949/0.132, allocations: 1.219 MB / 476.6 MB, free: 6.461 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001239/0.1321, allocations: 15.95 kB / 476.6 MB, free: 6.445 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.936e-05/0.1322, allocations: 12.19 kB / 476.6 MB, free: 6.434 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.0002598/0.1324, allocations: 129.5 kB / 476.7 MB, free: 6.301 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.631e-05/0.1325, allocations: 23.73 kB / 476.8 MB, free: 6.277 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004513/0.1329, allocations: 186.9 kB / 476.9 MB, free: 6.094 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.698e-06/0.133, allocations: 0 / 476.9 MB, free: 6.094 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.133, allocations: 0 / 476.9 MB, free: 6.094 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.133, allocations: 0 / 476.9 MB, free: 6.094 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002617/0.1332, allocations: 229.6 kB / 477.2 MB, free: 5.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.1333, allocations: 11.81 kB / 477.2 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002311/0.1335, allocations: 43.98 kB / 477.2 MB, free: 5.766 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.612e-06/0.1335, allocations: 3.984 kB / 477.2 MB, free: 5.762 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.717e-05/0.1335, allocations: 4 kB / 477.2 MB, free: 5.758 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007121/0.1343, allocations: 1.223 MB / 478.5 MB, free: 4.488 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.1343, allocations: 0 / 478.5 MB, free: 4.488 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00038/0.1347, allocations: 247.3 kB / 478.7 MB, free: 4.23 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.867e-05/0.1347, allocations: 96.84 kB / 478.8 MB, free: 4.117 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.923e-05/0.1348, allocations: 3.938 kB / 478.8 MB, free: 4.113 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/0.1349, allocations: 12.08 kB / 478.8 MB, free: 4.102 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.314e-05/0.135, allocations: 8 kB / 478.8 MB, free: 4.094 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/0.135, allocations: 4 kB / 478.8 MB, free: 4.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001254/0.1351, allocations: 149.2 kB / 479 MB, free: 3.945 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1351, allocations: 192 / 479 MB, free: 3.945 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003058/0.1354, allocations: 40 kB / 479 MB, free: 3.906 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.0002483/0.1357, allocations: 135.7 kB / 479.1 MB, free: 3.762 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004814/0.1362, allocations: 143.8 kB / 479.3 MB, free: 3.621 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1362, allocations: 0 / 479.3 MB, free: 3.621 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002813/0.1365, allocations: 91.98 kB / 479.4 MB, free: 3.531 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003228/0.1368, allocations: 28.92 kB / 479.4 MB, free: 3.508 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007113/0.1375, allocations: 389.7 kB / 479.8 MB, free: 3.105 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000318/0.1379, allocations: 0.7279 MB / 480.5 MB, free: 2.352 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001121/0.138, allocations: 37.03 kB / 480.5 MB, free: 2.312 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.928e-05/0.138, allocations: 19.44 kB / 480.6 MB, free: 2.297 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.138, allocations: 0 / 480.6 MB, free: 2.297 MB / 350.1 MB Notification: Performance of Templates: time 0.006705/0.1447, allocations: 2.424 MB / 483 MB, free: 15.91 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