Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001154/0.001154, allocations: 102.7 kB / 16.27 MB, free: 6.344 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.001266/0.001266, allocations: 193.2 kB / 17.2 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.457/1.457, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.226/0.226, allocations: 43.53 MB / 313.9 MB, free: 0.5391 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 70.61 kB / 382.8 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1213, allocations: 57.78 MB / 440.5 MB, free: 6.902 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall): time 0.003288/0.1247, allocations: 2.2 MB / 442.7 MB, free: 4.68 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002374/0.1271, allocations: 2.092 MB / 444.8 MB, free: 2.578 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001395/0.1272, allocations: 0 / 444.8 MB, free: 2.578 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003475/0.1276, allocations: 75.52 kB / 444.9 MB, free: 2.504 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002427/0.1279, allocations: 107.2 kB / 445 MB, free: 2.398 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001159/0.1291, allocations: 406.4 kB / 445.4 MB, free: 2 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005036/0.1296, allocations: 0.5055 MB / 445.9 MB, free: 1.492 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.1297, allocations: 61 kB / 446 MB, free: 1.43 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000238/0.1299, allocations: 187 kB / 446.2 MB, free: 1.246 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002049/0.1301, allocations: 206.9 kB / 446.4 MB, free: 1.043 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.132e-05/0.1302, allocations: 16 kB / 446.4 MB, free: 1.027 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008884/0.1311, allocations: 0.6395 MB / 447 MB, free: 396 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.1312, allocations: 99.47 kB / 447.1 MB, free: 296 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001635/0.1314, allocations: 194.6 kB / 447.3 MB, free: 100 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001029/0.1324, allocations: 0.7825 MB / 448.1 MB, free: 15.31 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.1324, allocations: 0 / 448.1 MB, free: 15.31 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1324, allocations: 0 / 448.1 MB, free: 15.31 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.997e-06/0.1325, allocations: 0 / 448.1 MB, free: 15.31 MB / 334.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.001353/0.1338, allocations: 0.8071 MB / 448.9 MB, free: 14.46 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.1339, allocations: 19.88 kB / 448.9 MB, free: 14.44 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001111/0.134, allocations: 52.28 kB / 449 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003735/0.1344, allocations: 299.5 kB / 449.2 MB, free: 14.05 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.193e-05/0.1344, allocations: 37.38 kB / 449.3 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.785e-05/0.1345, allocations: 64.05 kB / 449.3 MB, free: 13.96 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001112/0.1356, allocations: 0.6923 MB / 450 MB, free: 13.25 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.1356, allocations: 0 / 450 MB, free: 13.25 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.335e-05/0.1357, allocations: 20 kB / 450.1 MB, free: 13.23 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-05/0.1357, allocations: 24.98 kB / 450.1 MB, free: 13.21 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000943/0.1367, allocations: 0.4959 MB / 450.6 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002189/0.1389, allocations: 1.504 MB / 452.1 MB, free: 11.15 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006138/0.1395, allocations: 319.1 kB / 452.4 MB, free: 10.81 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003579/0.1399, allocations: 154.4 kB / 452.5 MB, free: 10.65 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.85e-05/0.14, allocations: 16.12 kB / 452.6 MB, free: 10.64 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.14, allocations: 34.5 kB / 452.6 MB, free: 10.59 MB / 334.1 MB Notification: Performance of pre-optimization done (n=23): time 1.984e-06/0.14, allocations: 0 / 452.6 MB, free: 10.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=23): time 0.001358/0.1414, allocations: 0.5164 MB / 453.1 MB, free: 10.07 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.428e-05/0.1414, allocations: 106.8 kB / 453.2 MB, free: 9.941 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006799/0.1421, allocations: 0.5642 MB / 453.8 MB, free: 9.367 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.84e-05/0.1422, allocations: 25.7 kB / 453.8 MB, free: 9.336 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001877/0.1424, allocations: 236.4 kB / 454 MB, free: 9.098 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.537e-05/0.1425, allocations: 78.89 kB / 454.1 MB, free: 9.02 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001343/0.1426, allocations: 81.59 kB / 454.2 MB, free: 8.934 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.1428, allocations: 354.8 kB / 454.5 MB, free: 8.578 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003644/0.1431, allocations: 151.8 kB / 454.7 MB, free: 8.43 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004231/0.1436, allocations: 256.6 kB / 454.9 MB, free: 8.133 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000801/0.1444, allocations: 429.4 kB / 455.4 MB, free: 7.668 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.1444, allocations: 4 kB / 455.4 MB, free: 7.664 MB / 334.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009862/0.1454, allocations: 484.8 kB / 455.8 MB, free: 7.184 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.672e-05/0.1454, allocations: 11.88 kB / 455.8 MB, free: 7.172 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-05/0.1455, allocations: 43.98 kB / 455.9 MB, free: 7.129 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.262e-05/0.1455, allocations: 4 kB / 455.9 MB, free: 7.125 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002342/0.1458, allocations: 43.89 kB / 455.9 MB, free: 7.082 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.334e-05/0.1458, allocations: 4 kB / 455.9 MB, free: 7.078 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003484/0.1462, allocations: 63.36 kB / 456 MB, free: 7.016 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.477e-05/0.1462, allocations: 28.05 kB / 456 MB, free: 6.988 MB / 334.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.0002901/0.1465, allocations: 217.5 kB / 456.2 MB, free: 6.766 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001299/0.1467, allocations: 55.36 kB / 456.3 MB, free: 6.711 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009147/0.1476, allocations: 457.4 kB / 456.7 MB, free: 6.258 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.202e-05/0.1476, allocations: 8 kB / 456.7 MB, free: 6.25 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.1476, allocations: 0 / 456.7 MB, free: 6.25 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.1476, allocations: 7.938 kB / 456.8 MB, free: 6.242 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006807/0.1483, allocations: 405.2 kB / 457.2 MB, free: 5.797 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.648e-05/0.1484, allocations: 39.98 kB / 457.2 MB, free: 5.758 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001526/0.1486, allocations: 23.97 kB / 457.2 MB, free: 5.734 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.7e-06/0.1486, allocations: 4 kB / 457.2 MB, free: 5.73 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.691e-05/0.1486, allocations: 12 kB / 457.2 MB, free: 5.719 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.1486, allocations: 3.938 kB / 457.2 MB, free: 5.715 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.1486, allocations: 0 / 457.2 MB, free: 5.715 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009486/0.1496, allocations: 0.6291 MB / 457.9 MB, free: 5.07 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001187/0.1497, allocations: 128.5 kB / 458 MB, free: 4.926 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.613e-05/0.1498, allocations: 8 kB / 458 MB, free: 4.918 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002911/0.1501, allocations: 19.98 kB / 458 MB, free: 4.898 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.1502, allocations: 27.91 kB / 458 MB, free: 4.871 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.783e-05/0.1502, allocations: 16 kB / 458.1 MB, free: 4.855 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004266/0.1507, allocations: 414.7 kB / 458.5 MB, free: 4.453 MB / 334.1 MB Notification: Performance of sort global known variables: time 5.81e-07/0.1507, allocations: 7.938 kB / 458.5 MB, free: 4.445 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006944/0.1514, allocations: 163.8 kB / 458.6 MB, free: 4.285 MB / 334.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.0004493/0.1518, allocations: 227.1 kB / 458.9 MB, free: 4.051 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001236/0.1531, allocations: 0.6921 MB / 459.5 MB, free: 3.285 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.92e-06/0.1531, allocations: 3.938 kB / 459.5 MB, free: 3.281 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007042/0.1538, allocations: 492.2 kB / 460 MB, free: 2.727 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007737/0.1546, allocations: 102 kB / 460.1 MB, free: 2.629 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00175/0.1563, allocations: 0.9362 MB / 461.1 MB, free: 1.656 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005088/0.1569, allocations: 0.8779 MB / 461.9 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002092/0.1571, allocations: 83.33 kB / 462 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.521e-05/0.1572, allocations: 31.42 kB / 462.1 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of SimCode: time 7.81e-07/0.1572, allocations: 0 / 462.1 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of Templates: time 0.01582/0.173, allocations: 8.982 MB / 471 MB, free: 7.699 MB / 350.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapOverall/kc_evenGapOverall.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches