Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.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_evenGapOverall,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|m_flow.1.|m_flow.2.|m_flow.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.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|mflow_test|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|m_flow.1.|m_flow.2.|m_flow.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.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|mflow_test|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009106/0.0009107, allocations: 98.53 kB / 18.01 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009654/0.0009655, allocations: 206.5 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.407/1.407, allocations: 227.7 MB / 247.5 MB, free: 9.488 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1943/0.1943, allocations: 46.19 MB / 345.9 MB, free: 11.15 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002735/0.0002737, allocations: 8 kB / 420.2 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1164, allocations: 63.56 MB / 483.8 MB, free: 4.109 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall): time 0.0027/0.1191, allocations: 1.93 MB / 485.7 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003463/0.1226, allocations: 2.134 MB / 487.8 MB, free: 20 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002088/0.1229, allocations: 0 / 487.8 MB, free: 20 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003537/0.1232, allocations: 59.72 kB / 487.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003362/0.1236, allocations: 95.42 kB / 488 MB, free: 15.87 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001329/0.1249, allocations: 390.7 kB / 488.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007557/0.1257, allocations: 0.6108 MB / 489 MB, free: 14.87 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.1258, allocations: 61.05 kB / 489 MB, free: 14.81 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003929/0.1262, allocations: 175 kB / 489.2 MB, free: 14.64 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003601/0.1266, allocations: 210.9 kB / 489.4 MB, free: 14.43 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.524e-05/0.1267, allocations: 12 kB / 489.4 MB, free: 14.42 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00113/0.1278, allocations: 0.659 MB / 490.1 MB, free: 13.76 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001365/0.128, allocations: 107.5 kB / 490.2 MB, free: 13.65 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002587/0.1282, allocations: 212.4 kB / 490.4 MB, free: 13.44 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007118/0.129, allocations: 0.5378 MB / 490.9 MB, free: 12.9 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.129, allocations: 0 / 490.9 MB, free: 12.9 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.129, allocations: 0 / 490.9 MB, free: 12.9 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.53e-05/0.129, allocations: 0 / 490.9 MB, free: 12.9 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.001318/0.1303, allocations: 0.7331 MB / 491.7 MB, free: 12.12 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.1304, allocations: 12.86 kB / 491.7 MB, free: 12.11 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004775/0.1309, allocations: 96.25 kB / 491.8 MB, free: 12.01 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004538/0.1313, allocations: 320.2 kB / 492.1 MB, free: 11.66 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.658e-05/0.1314, allocations: 37.38 kB / 492.1 MB, free: 11.62 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.721e-05/0.1315, allocations: 52.12 kB / 492.2 MB, free: 11.57 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001175/0.1327, allocations: 0.704 MB / 492.9 MB, free: 10.85 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.1327, allocations: 0 / 492.9 MB, free: 10.85 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.804e-05/0.1327, allocations: 27.92 kB / 492.9 MB, free: 10.82 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.824e-05/0.1328, allocations: 21 kB / 492.9 MB, free: 10.8 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001003/0.1338, allocations: 0.5194 MB / 493.4 MB, free: 10.28 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002158/0.136, allocations: 1.5 MB / 494.9 MB, free: 8.723 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005847/0.1366, allocations: 331.6 kB / 495.3 MB, free: 8.371 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003554/0.1369, allocations: 170.4 kB / 495.4 MB, free: 8.195 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.364e-05/0.137, allocations: 12.11 kB / 495.4 MB, free: 8.184 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.137, allocations: 38.56 kB / 495.5 MB, free: 8.137 MB / 366.1 MB Notification: Performance of pre-optimization done (n=23): time 2.064e-06/0.137, allocations: 3.938 kB / 495.5 MB, free: 8.133 MB / 366.1 MB Notification: Performance of matching and sorting (n=23): time 0.001296/0.1383, allocations: 0.5438 MB / 496 MB, free: 7.582 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.689e-05/0.1384, allocations: 114.9 kB / 496.1 MB, free: 7.445 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006151/0.139, allocations: 0.5681 MB / 496.7 MB, free: 6.867 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.144e-05/0.1391, allocations: 29.7 kB / 496.7 MB, free: 6.832 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001687/0.1392, allocations: 240.1 kB / 497 MB, free: 6.594 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.412e-05/0.1393, allocations: 66.92 kB / 497 MB, free: 6.527 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.663e-05/0.1394, allocations: 41.69 kB / 497.1 MB, free: 6.48 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.1395, allocations: 358.8 kB / 497.4 MB, free: 6.121 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003681/0.1399, allocations: 159.8 kB / 497.6 MB, free: 5.965 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004238/0.1403, allocations: 269.5 kB / 497.8 MB, free: 5.656 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008185/0.1412, allocations: 455.4 kB / 498.3 MB, free: 5.168 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.1412, allocations: 0 / 498.3 MB, free: 5.168 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001009/0.1422, allocations: 0.5029 MB / 498.8 MB, free: 4.66 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.845e-05/0.1422, allocations: 12.38 kB / 498.8 MB, free: 4.648 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.067e-05/0.1423, allocations: 51.92 kB / 498.8 MB, free: 4.598 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/0.1423, allocations: 4 kB / 498.9 MB, free: 4.594 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002095/0.1426, allocations: 43.95 kB / 498.9 MB, free: 4.551 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.1426, allocations: 7.938 kB / 498.9 MB, free: 4.543 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003067/0.1429, allocations: 67.42 kB / 499 MB, free: 4.477 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.306e-05/0.1429, allocations: 19.98 kB / 499 MB, free: 4.457 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (30): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002469/0.1432, allocations: 225.6 kB / 499.2 MB, free: 4.227 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001137/0.1433, allocations: 47.38 kB / 499.3 MB, free: 4.18 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009176/0.1442, allocations: 473.4 kB / 499.7 MB, free: 3.707 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.1443, allocations: 4 kB / 499.7 MB, free: 3.703 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.1443, allocations: 0 / 499.7 MB, free: 3.703 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.1443, allocations: 7.938 kB / 499.7 MB, free: 3.695 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005891/0.1449, allocations: 409.2 kB / 0.4884 GB, free: 3.246 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.044e-05/0.1449, allocations: 39.98 kB / 0.4884 GB, free: 3.207 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001585/0.1451, allocations: 39.91 kB / 0.4885 GB, free: 3.168 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.1451, allocations: 3.938 kB / 0.4885 GB, free: 3.164 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.783e-05/0.1452, allocations: 12 kB / 0.4885 GB, free: 3.152 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.1452, allocations: 4 kB / 0.4885 GB, free: 3.148 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1452, allocations: 0 / 0.4885 GB, free: 3.148 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009312/0.1461, allocations: 0.6534 MB / 0.4891 GB, free: 2.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001274/0.1462, allocations: 120.5 kB / 0.4893 GB, free: 2.344 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.871e-05/0.1463, allocations: 11.94 kB / 0.4893 GB, free: 2.332 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003018/0.1466, allocations: 35.97 kB / 0.4893 GB, free: 2.297 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.207e-05/0.1467, allocations: 27.92 kB / 0.4893 GB, free: 2.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.637e-05/0.1468, allocations: 12 kB / 0.4893 GB, free: 2.258 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004554/0.1472, allocations: 410.8 kB / 0.4897 GB, free: 1.859 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1472, allocations: 4 kB / 0.4897 GB, free: 1.855 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006671/0.1479, allocations: 175.8 kB / 0.4899 GB, free: 1.684 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005146/0.1484, allocations: 231 kB / 0.4901 GB, free: 1.449 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00106/0.1495, allocations: 0.6882 MB / 0.4908 GB, free: 0.6875 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1495, allocations: 0 / 0.4908 GB, free: 0.6875 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005556/0.1501, allocations: 0.4964 MB / 0.4913 GB, free: 120 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000715/0.1508, allocations: 85.84 kB / 0.4914 GB, free: 36 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001712/0.1525, allocations: 1.103 MB / 0.4924 GB, free: 14.89 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000458/0.153, allocations: 0.8743 MB / 0.4933 GB, free: 13.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.37e-05/0.1531, allocations: 27.44 kB / 0.4933 GB, free: 13.96 MB / 382.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1531, allocations: 0 / 0.4933 GB, free: 13.96 MB / 382.1 MB Notification: Performance of Templates: time 0.01427/0.1674, allocations: 8.884 MB / 0.502 GB, free: 5.105 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapOverall/kc_evenGapOverall.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches