Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dimlesslength|abscissa.1.|abscissa.2.|abscissa.3.|length|Pr.1.|Pr.2.|Pr.3.|Re.1.|Re.2.|Re.3.|velocity.1.|velocity.2.|velocity.3.|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Nu_3.1.|Nu_3.2.|Nu_3.3.|Nu_4.1.|Nu_4.2.|Nu_4.3.|m_flow.1.|m_flow.2.|m_flow.3.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dimlesslength|abscissa.1.|abscissa.2.|abscissa.3.|length|Pr.1.|Pr.2.|Pr.3.|Re.1.|Re.2.|Re.3.|velocity.1.|velocity.2.|velocity.3.|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Nu_3.1.|Nu_3.2.|Nu_3.3.|Nu_4.1.|Nu_4.2.|Nu_4.3.|m_flow.1.|m_flow.2.|m_flow.3.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008583/0.0008582, allocations: 98.72 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009392/0.0009392, allocations: 207.2 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.357/1.357, allocations: 227.2 MB / 245.9 MB, free: 11.91 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1967/0.1967, allocations: 45.9 MB / 344 MB, free: 12.36 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003747/0.0003747, allocations: 4 kB / 417.9 MB, free: 20.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1125, allocations: 63.46 MB / 481.4 MB, free: 5.438 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar): time 0.00182/0.1144, allocations: 1.559 MB / 483 MB, free: 3.859 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001409/0.1158, allocations: 1.029 MB / 484 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.84e-05/0.1159, allocations: 0 / 484 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002563/0.1162, allocations: 55.72 kB / 484 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002028/0.1164, allocations: 71.78 kB / 484.1 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003546/0.1168, allocations: 139.6 kB / 484.3 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003198/0.1171, allocations: 323.3 kB / 484.6 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.895e-05/0.1172, allocations: 49.03 kB / 484.6 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.1173, allocations: 139.3 kB / 484.8 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001676/0.1175, allocations: 155.3 kB / 484.9 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.777e-05/0.1175, allocations: 8 kB / 484.9 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003819/0.1179, allocations: 275.6 kB / 485.2 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.322e-05/0.118, allocations: 87.7 kB / 485.3 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.867e-05/0.1181, allocations: 89.45 kB / 485.4 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003786/0.1185, allocations: 367.3 kB / 485.7 MB, free: 1.098 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.1185, allocations: 0 / 485.7 MB, free: 1.098 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1185, allocations: 0 / 485.7 MB, free: 1.098 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.1185, allocations: 0 / 485.7 MB, free: 1.098 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.0007964/0.1193, allocations: 0.632 MB / 486.3 MB, free: 424 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.1193, allocations: 12.03 kB / 486.4 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.99e-05/0.1194, allocations: 51.34 kB / 486.4 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003694/0.1198, allocations: 294.4 kB / 486.7 MB, free: 24 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.408e-05/0.1199, allocations: 33.36 kB / 486.7 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.883e-05/0.1199, allocations: 51.98 kB / 486.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008191/0.1208, allocations: 0.6232 MB / 487.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.1208, allocations: 4 kB / 487.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.046e-05/0.1208, allocations: 20 kB / 487.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.35e-05/0.1209, allocations: 33.3 kB / 487.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006954/0.1216, allocations: 0.5008 MB / 488 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002185/0.1238, allocations: 1.43 MB / 489.4 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007938/0.1246, allocations: 462.1 kB / 489.8 MB, free: 12.81 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.421e-05/0.1246, allocations: 11.98 kB / 489.9 MB, free: 12.8 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/0.1247, allocations: 30.56 kB / 489.9 MB, free: 12.76 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 2.535e-06/0.1247, allocations: 3.938 kB / 489.9 MB, free: 12.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.0008275/0.1255, allocations: 0.5016 MB / 490.4 MB, free: 12.25 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.287e-05/0.1255, allocations: 55.41 kB / 490.4 MB, free: 12.18 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005283/0.1261, allocations: 0.5446 MB / 491 MB, free: 11.63 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/0.1261, allocations: 25.7 kB / 491 MB, free: 11.6 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001441/0.1263, allocations: 236 kB / 491.2 MB, free: 11.36 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.476e-05/0.1263, allocations: 82.81 kB / 491.3 MB, free: 11.28 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.527e-05/0.1264, allocations: 12 kB / 491.3 MB, free: 11.27 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.1265, allocations: 354.7 kB / 491.7 MB, free: 10.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002364/0.1267, allocations: 156.2 kB / 491.8 MB, free: 10.76 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002915/0.127, allocations: 249.8 kB / 492.1 MB, free: 10.47 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002892/0.1273, allocations: 193.2 kB / 492.3 MB, free: 10.29 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1273, allocations: 0 / 492.3 MB, free: 10.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007275/0.1281, allocations: 0.5001 MB / 492.8 MB, free: 9.781 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.1281, allocations: 8 kB / 492.8 MB, free: 9.773 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.212e-05/0.1282, allocations: 43.95 kB / 492.8 MB, free: 9.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.1282, allocations: 7.953 kB / 492.8 MB, free: 9.723 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001998/0.1284, allocations: 35.92 kB / 492.9 MB, free: 9.688 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.1284, allocations: 4 kB / 492.9 MB, free: 9.684 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002424/0.1287, allocations: 63.3 kB / 492.9 MB, free: 9.621 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.547e-05/0.1287, allocations: 16 kB / 492.9 MB, free: 9.605 MB / 366.1 MB Warning: Assuming fixed start value for the following 1 variables: dimlesslength:VARIABLE(start = 0.01 unit = "m" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,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 (41): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002633/0.129, allocations: 221.7 kB / 493.2 MB, free: 9.379 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.092e-05/0.129, allocations: 43.44 kB / 493.2 MB, free: 9.336 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008932/0.1299, allocations: 0.5479 MB / 493.7 MB, free: 8.781 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.215e-06/0.13, allocations: 8 kB / 493.8 MB, free: 8.773 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.13, allocations: 3.953 kB / 493.8 MB, free: 8.77 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.13, allocations: 0 / 493.8 MB, free: 8.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005408/0.1305, allocations: 429.2 kB / 494.2 MB, free: 8.301 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.775e-05/0.1306, allocations: 35.97 kB / 494.2 MB, free: 8.266 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001602/0.1308, allocations: 35.92 kB / 494.2 MB, free: 8.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.1308, allocations: 0 / 494.2 MB, free: 8.23 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.181e-05/0.1308, allocations: 15.98 kB / 494.3 MB, free: 8.215 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.1308, allocations: 0 / 494.3 MB, free: 8.215 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.1308, allocations: 0 / 494.3 MB, free: 8.215 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009418/0.1318, allocations: 0.6984 MB / 495 MB, free: 7.5 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001182/0.1319, allocations: 136.5 kB / 495.1 MB, free: 7.348 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.897e-05/0.132, allocations: 11.98 kB / 495.1 MB, free: 7.336 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001879/0.1322, allocations: 8 kB / 495.1 MB, free: 7.328 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.53e-05/0.1322, allocations: 23.97 kB / 495.1 MB, free: 7.305 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.905e-05/0.1323, allocations: 12 kB / 495.2 MB, free: 7.293 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004037/0.1327, allocations: 411 kB / 495.6 MB, free: 6.891 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.1327, allocations: 0 / 495.6 MB, free: 6.891 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000477/0.1332, allocations: 147.9 kB / 495.7 MB, free: 6.746 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (dimlesslength) * 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 (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002734/0.1335, allocations: 156 kB / 495.8 MB, free: 6.586 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007332/0.1342, allocations: 0.6728 MB / 496.5 MB, free: 5.84 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1342, allocations: 0 / 496.5 MB, free: 5.84 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004103/0.1346, allocations: 496.7 kB / 497 MB, free: 5.281 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003898/0.135, allocations: 81.42 kB / 497.1 MB, free: 5.203 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001714/0.1368, allocations: 1.12 MB / 498.2 MB, free: 4.051 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000405/0.1372, allocations: 0.9016 MB / 499.1 MB, free: 3.121 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002408/0.1374, allocations: 112.2 kB / 499.2 MB, free: 3.012 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.649e-05/0.1375, allocations: 31.44 kB / 499.2 MB, free: 2.98 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1375, allocations: 0 / 499.2 MB, free: 2.98 MB / 366.1 MB Notification: Performance of Templates: time 0.01074/0.1483, allocations: 7.308 MB / 0.4947 GB, free: 11.75 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapLaminar/kc_evenGapLaminar.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches