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_evenGapOverall.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_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_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 108.2 kB / 18.39 MB, free: 4.762 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.001043/0.001043, allocations: 182.9 kB / 19.32 MB, free: 3.832 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.323/1.323, allocations: 222.9 MB / 243 MB, free: 15.07 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.204/0.204, allocations: 44.18 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 68.62 kB / 409.9 MB, free: 26.49 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1111, allocations: 60.83 MB / 470.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall): time 0.003951/0.1151, allocations: 2.211 MB / 472.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003135/0.1182, allocations: 2.036 MB / 475 MB, free: 9.336 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001816/0.1184, allocations: 4 kB / 475 MB, free: 9.332 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003343/0.1188, allocations: 67.58 kB / 475 MB, free: 9.266 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002839/0.1191, allocations: 103.3 kB / 475.1 MB, free: 9.164 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001303/0.1204, allocations: 422.3 kB / 475.6 MB, free: 8.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005947/0.121, allocations: 0.5131 MB / 476.1 MB, free: 8.234 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.1211, allocations: 57.06 kB / 476.1 MB, free: 8.172 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002459/0.1214, allocations: 175.1 kB / 476.3 MB, free: 8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002555/0.1216, allocations: 206.9 kB / 476.5 MB, free: 7.797 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.125e-05/0.1217, allocations: 16 kB / 476.5 MB, free: 7.781 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009718/0.1227, allocations: 0.6434 MB / 477.2 MB, free: 7.137 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001145/0.1228, allocations: 95.53 kB / 477.2 MB, free: 7.043 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002127/0.123, allocations: 206.5 kB / 477.5 MB, free: 6.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001174/0.1242, allocations: 0.7787 MB / 478.2 MB, free: 6.059 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1242, allocations: 0 / 478.2 MB, free: 6.059 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1242, allocations: 0 / 478.2 MB, free: 6.059 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.714e-05/0.1242, allocations: 0 / 478.2 MB, free: 6.059 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.00148/0.1257, allocations: 0.8071 MB / 479 MB, free: 5.203 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.1258, allocations: 8.031 kB / 479 MB, free: 5.195 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.928e-05/0.1259, allocations: 52.28 kB / 479.1 MB, free: 5.145 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004131/0.1263, allocations: 307.4 kB / 479.4 MB, free: 4.805 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.687e-05/0.1263, allocations: 41.36 kB / 479.4 MB, free: 4.766 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.718e-05/0.1264, allocations: 52.12 kB / 479.5 MB, free: 4.715 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001045/0.1275, allocations: 0.6962 MB / 480.2 MB, free: 4 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.1275, allocations: 4 kB / 480.2 MB, free: 3.996 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.058e-05/0.1275, allocations: 20 kB / 480.2 MB, free: 3.977 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-05/0.1276, allocations: 21 kB / 480.2 MB, free: 3.957 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008906/0.1285, allocations: 0.4959 MB / 480.7 MB, free: 3.461 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002155/0.1307, allocations: 1.492 MB / 482.2 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005769/0.1312, allocations: 329 kB / 482.5 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003285/0.1316, allocations: 150.4 kB / 482.7 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.058e-05/0.1317, allocations: 20.11 kB / 482.7 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.1317, allocations: 34.56 kB / 482.7 MB, free: 1.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.673e-06/0.1317, allocations: 0 / 482.7 MB, free: 1.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.001247/0.133, allocations: 0.5125 MB / 483.2 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.079e-05/0.133, allocations: 110.8 kB / 483.4 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005785/0.1336, allocations: 0.5643 MB / 483.9 MB, free: 116 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.015e-05/0.1336, allocations: 29.7 kB / 484 MB, free: 80 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001852/0.1338, allocations: 232.3 kB / 484.2 MB, free: 15.85 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.46e-05/0.1339, allocations: 78.84 kB / 484.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001345/0.134, allocations: 81.59 kB / 484.3 MB, free: 15.68 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.1342, allocations: 358.8 kB / 484.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003431/0.1345, allocations: 155.8 kB / 484.8 MB, free: 15.17 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004002/0.1349, allocations: 248.7 kB / 485.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000763/0.1357, allocations: 429.8 kB / 485.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.1357, allocations: 0 / 485.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009458/0.1367, allocations: 482.6 kB / 486 MB, free: 13.94 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.1367, allocations: 10.28 kB / 486 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-05/0.1368, allocations: 43.98 kB / 486 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.1368, allocations: 4.438 kB / 486 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001999/0.137, allocations: 43.91 kB / 486.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.137, allocations: 7.938 kB / 486.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002761/0.1373, allocations: 67.34 kB / 486.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.855e-05/0.1374, allocations: 20 kB / 486.2 MB, free: 13.75 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.0002181/0.1376, allocations: 217.6 kB / 486.4 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000113/0.1377, allocations: 51.28 kB / 486.4 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008906/0.1386, allocations: 457.5 kB / 486.9 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.1386, allocations: 7.984 kB / 486.9 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.1386, allocations: 0 / 486.9 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.1387, allocations: 7.938 kB / 486.9 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005907/0.1393, allocations: 401.3 kB / 487.3 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.599e-05/0.1393, allocations: 39.98 kB / 487.3 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001528/0.1395, allocations: 27.91 kB / 487.3 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.1395, allocations: 4 kB / 487.4 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.866e-05/0.1395, allocations: 23.92 kB / 487.4 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.1396, allocations: 3.938 kB / 487.4 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1396, allocations: 0 / 487.4 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008877/0.1405, allocations: 0.6242 MB / 488 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001412/0.1406, allocations: 132.4 kB / 488.1 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.646e-05/0.1407, allocations: 7.984 kB / 488.1 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002988/0.141, allocations: 15.98 kB / 488.2 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.26e-05/0.1411, allocations: 31.84 kB / 488.2 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.09e-05/0.1411, allocations: 16 kB / 488.2 MB, free: 11.61 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004243/0.1415, allocations: 410.8 kB / 488.6 MB, free: 11.21 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.1416, allocations: 8 kB / 488.6 MB, free: 11.2 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006341/0.1422, allocations: 163.9 kB / 488.8 MB, free: 11.04 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.0004584/0.1427, allocations: 231 kB / 489 MB, free: 10.8 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009694/0.1436, allocations: 0.672 MB / 489.7 MB, free: 10.06 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1437, allocations: 0 / 489.7 MB, free: 10.06 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005092/0.1442, allocations: 488 kB / 490.1 MB, free: 9.512 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006822/0.1449, allocations: 106.6 kB / 490.2 MB, free: 9.41 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001478/0.1464, allocations: 0.9285 MB / 491.2 MB, free: 8.449 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004516/0.1468, allocations: 0.8857 MB / 492.1 MB, free: 7.535 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000195/0.147, allocations: 75.34 kB / 492.1 MB, free: 7.461 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.143e-05/0.1471, allocations: 31.44 kB / 492.2 MB, free: 7.43 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1471, allocations: 4 kB / 492.2 MB, free: 7.426 MB / 366.1 MB Notification: Performance of Templates: time 0.01527/0.1624, allocations: 8.973 MB / 0.4894 GB, free: 14.54 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches