Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_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 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.HeatExchanger.kc_roundTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Nu|m_flow.1.|m_flow.2.|m_flow.3.|m_flow.4.|kc_1|kc_4|Re_1|Re_4|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Nu|m_flow.1.|m_flow.2.|m_flow.3.|m_flow.4.|kc_1|kc_4|Re_1|Re_4|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 112.7 kB / 17.04 MB, free: 5.801 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.001767/0.001767, allocations: 195 kB / 17.98 MB, free: 5.016 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.588/1.588, allocations: 205.1 MB / 223.8 MB, free: 12.26 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.2225/0.2225, allocations: 43.53 MB / 314.7 MB, free: 488 kB / 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.001477/0.001477, allocations: 67.06 kB / 384.2 MB, free: 56.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1176, allocations: 57.79 MB / 442 MB, free: 6.129 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.003685/0.1213, allocations: 2.666 MB / 444.7 MB, free: 3.441 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001816/0.1232, allocations: 1.465 MB / 446.1 MB, free: 1.969 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001142/0.1233, allocations: 0 / 446.1 MB, free: 1.969 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003294/0.1236, allocations: 123.2 kB / 446.2 MB, free: 1.848 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00033/0.124, allocations: 130.9 kB / 446.4 MB, free: 1.719 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004584/0.1244, allocations: 259.1 kB / 446.6 MB, free: 1.465 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000226/0.1247, allocations: 278.1 kB / 446.9 MB, free: 1.191 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.18e-05/0.1248, allocations: 24.73 kB / 446.9 MB, free: 1.168 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.936e-05/0.1248, allocations: 99.28 kB / 447 MB, free: 1.07 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001457/0.125, allocations: 127.2 kB / 447.1 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.166e-05/0.125, allocations: 8 kB / 447.2 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006844/0.1257, allocations: 0.5812 MB / 447.7 MB, free: 364 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.231e-05/0.1258, allocations: 47.59 kB / 447.8 MB, free: 316 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000102/0.1259, allocations: 135 kB / 447.9 MB, free: 180 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006222/0.1265, allocations: 0.5409 MB / 448.5 MB, free: 15.63 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.1266, allocations: 0 / 448.5 MB, free: 15.63 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.1266, allocations: 0 / 448.5 MB, free: 15.63 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.485e-05/0.1266, allocations: 0 / 448.5 MB, free: 15.63 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0008026/0.1274, allocations: 0.62 MB / 449.1 MB, free: 14.96 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.1274, allocations: 11.89 kB / 449.1 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.581e-05/0.1275, allocations: 40.47 kB / 449.1 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002768/0.1278, allocations: 255.4 kB / 449.4 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.462e-05/0.1278, allocations: 29.38 kB / 449.4 MB, free: 14.6 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.501e-05/0.1279, allocations: 40.12 kB / 449.4 MB, free: 14.56 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000685/0.1286, allocations: 0.5801 MB / 450 MB, free: 13.85 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/0.1286, allocations: 7.938 kB / 450 MB, free: 13.84 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.057e-05/0.1286, allocations: 16 kB / 450 MB, free: 13.82 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.581e-05/0.1287, allocations: 12 kB / 450.1 MB, free: 13.81 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004958/0.1292, allocations: 333.1 kB / 450.4 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002387/0.1316, allocations: 4.047 MB / 454.4 MB, free: 9.234 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002469/0.1318, allocations: 86.53 kB / 454.5 MB, free: 9.141 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.1319, allocations: 36.95 kB / 454.5 MB, free: 9.102 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.286e-05/0.132, allocations: 7.922 kB / 454.6 MB, free: 9.094 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/0.132, allocations: 38.56 kB / 454.6 MB, free: 9.047 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/0.132, allocations: 0 / 454.6 MB, free: 9.047 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004826/0.1325, allocations: 165.1 kB / 454.8 MB, free: 8.879 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/0.1326, allocations: 55.41 kB / 454.8 MB, free: 8.812 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003643/0.1329, allocations: 405.8 kB / 455.2 MB, free: 8.41 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.133, allocations: 29.7 kB / 455.2 MB, free: 8.375 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001468/0.1331, allocations: 247 kB / 455.5 MB, free: 8.129 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.061e-05/0.1332, allocations: 35.64 kB / 455.5 MB, free: 8.094 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.059e-05/0.1332, allocations: 69.92 kB / 455.6 MB, free: 8.016 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.1334, allocations: 350.7 kB / 455.9 MB, free: 7.664 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001551/0.1335, allocations: 56.61 kB / 456 MB, free: 7.609 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002698/0.1338, allocations: 266.3 kB / 456.2 MB, free: 7.25 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004452/0.1343, allocations: 360.1 kB / 456.6 MB, free: 6.797 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.1343, allocations: 0 / 456.6 MB, free: 6.797 MB / 334.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005966/0.1349, allocations: 353.1 kB / 456.9 MB, free: 6.445 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.1349, allocations: 11.94 kB / 456.9 MB, free: 6.434 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.1349, allocations: 8 kB / 457 MB, free: 6.426 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.285e-05/0.135, allocations: 8 kB / 457 MB, free: 6.418 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005049/0.1355, allocations: 107.9 kB / 457.1 MB, free: 6.312 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008833/0.1364, allocations: 1.227 MB / 458.3 MB, free: 5.039 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002825/0.1367, allocations: 59.38 kB / 458.4 MB, free: 4.98 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.459e-05/0.1367, allocations: 23.98 kB / 458.4 MB, free: 4.957 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 5 (m_flow_IN_con_4.N,m_flow_IN_con_4.geometry,m_flow_IN_con_1.geometry,m_flow_IN_con_3.geometry,m_flow_IN_con_2.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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.0001755/0.1369, allocations: 149.6 kB / 458.5 MB, free: 4.801 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.006e-05/0.137, allocations: 43.41 kB / 458.6 MB, free: 4.758 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004216/0.1374, allocations: 169.2 kB / 458.7 MB, free: 4.582 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.1374, allocations: 3.938 kB / 458.7 MB, free: 4.578 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.1374, allocations: 4 kB / 458.7 MB, free: 4.574 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1374, allocations: 0 / 458.7 MB, free: 4.574 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002822/0.1377, allocations: 277.5 kB / 459 MB, free: 4.254 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.1377, allocations: 3.938 kB / 459 MB, free: 4.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002835/0.138, allocations: 59.91 kB / 459.1 MB, free: 4.191 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.138, allocations: 0 / 459.1 MB, free: 4.191 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.138, allocations: 4 kB / 459.1 MB, free: 4.188 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006005/0.1387, allocations: 1.207 MB / 460.3 MB, free: 2.934 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1387, allocations: 0 / 460.3 MB, free: 2.934 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003252/0.139, allocations: 231 kB / 460.5 MB, free: 2.691 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.833e-05/0.1391, allocations: 108.7 kB / 460.6 MB, free: 2.566 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.187e-05/0.1391, allocations: 12.09 kB / 460.6 MB, free: 2.555 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00016/0.1393, allocations: 3.984 kB / 460.6 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.743e-05/0.1394, allocations: 4 kB / 460.6 MB, free: 2.547 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.1394, allocations: 8 kB / 460.6 MB, free: 2.539 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002434/0.1396, allocations: 271.1 kB / 460.9 MB, free: 2.273 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1396, allocations: 7.938 kB / 460.9 MB, free: 2.266 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004946/0.1401, allocations: 119.8 kB / 461 MB, free: 2.148 MB / 334.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 (7): * Single equations (assignments): 5 * 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.0003605/0.1405, allocations: 169.2 kB / 461.2 MB, free: 1.973 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005471/0.1411, allocations: 207.9 kB / 461.4 MB, free: 1.77 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1411, allocations: 1.688 kB / 461.4 MB, free: 1.77 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002593/0.1413, allocations: 75.89 kB / 461.5 MB, free: 1.695 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004035/0.1417, allocations: 42.5 kB / 461.5 MB, free: 1.656 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000847/0.1426, allocations: 497.6 kB / 462 MB, free: 1.145 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004995/0.1431, allocations: 0.7755 MB / 462.8 MB, free: 352 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001045/0.1432, allocations: 34.95 kB / 462.8 MB, free: 316 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.097e-05/0.1433, allocations: 27.42 kB / 462.8 MB, free: 288 kB / 334.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1433, allocations: 0 / 462.8 MB, free: 288 kB / 334.1 MB Notification: Performance of Templates: time 0.01088/0.1542, allocations: 6.161 MB / 469 MB, free: 10.16 MB / 350.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_roundTube_KC/kc_roundTube_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches