Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.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_4.0.0_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_4.0.0_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.000955/0.0009551, 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.001003/0.001003, 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.329/1.329, allocations: 222.9 MB / 243 MB, free: 15.16 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.2204/0.2204, allocations: 44.19 MB / 337.4 MB, free: 2.707 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 67.41 kB / 409.9 MB, free: 26.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1188, allocations: 60.83 MB / 470.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.00385/0.1226, allocations: 2.675 MB / 473.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002121/0.1248, allocations: 1.421 MB / 474.8 MB, free: 9.512 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001243/0.1249, allocations: 0 / 474.8 MB, free: 9.512 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003554/0.1253, allocations: 111.2 kB / 474.9 MB, free: 9.402 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003721/0.1257, allocations: 130.8 kB / 475.1 MB, free: 9.273 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005436/0.1263, allocations: 259.1 kB / 475.3 MB, free: 9.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002931/0.1266, allocations: 274.2 kB / 475.6 MB, free: 8.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.132e-05/0.1267, allocations: 28.72 kB / 475.6 MB, free: 8.719 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001018/0.1268, allocations: 99.28 kB / 475.7 MB, free: 8.621 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001744/0.127, allocations: 119.2 kB / 475.8 MB, free: 8.504 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.363e-05/0.127, allocations: 8 kB / 475.8 MB, free: 8.496 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008403/0.1278, allocations: 0.589 MB / 476.4 MB, free: 7.906 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.436e-05/0.1279, allocations: 47.64 kB / 476.5 MB, free: 7.859 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001285/0.1281, allocations: 131 kB / 476.6 MB, free: 7.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000642/0.1287, allocations: 0.5409 MB / 477.1 MB, free: 7.188 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1287, allocations: 0 / 477.1 MB, free: 7.188 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1287, allocations: 3.938 kB / 477.1 MB, free: 7.184 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.1287, allocations: 0 / 477.1 MB, free: 7.184 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0007208/0.1295, allocations: 0.6201 MB / 477.8 MB, free: 6.516 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.1295, allocations: 8.031 kB / 477.8 MB, free: 6.508 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.503e-05/0.1296, allocations: 40.47 kB / 477.8 MB, free: 6.469 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002498/0.1298, allocations: 260.2 kB / 478.1 MB, free: 6.176 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/0.1299, allocations: 21.38 kB / 478.1 MB, free: 6.156 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.83e-05/0.1299, allocations: 40.12 kB / 478.1 MB, free: 6.117 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006413/0.1305, allocations: 0.5736 MB / 478.7 MB, free: 5.414 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.1306, allocations: 7.938 kB / 478.7 MB, free: 5.406 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.947e-05/0.1306, allocations: 12 kB / 478.7 MB, free: 5.395 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.2e-05/0.1306, allocations: 12 kB / 478.7 MB, free: 5.383 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004885/0.1311, allocations: 341 kB / 479.1 MB, free: 5.051 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002474/0.1336, allocations: 4.047 MB / 483.1 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002453/0.1339, allocations: 90.48 kB / 483.2 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001193/0.134, allocations: 44.95 kB / 483.2 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.517e-05/0.134, allocations: 3.938 kB / 483.2 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/0.1341, allocations: 30.56 kB / 483.3 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.1341, allocations: 4 kB / 483.3 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004754/0.1345, allocations: 165.2 kB / 483.4 MB, free: 452 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.549e-05/0.1346, allocations: 55.34 kB / 483.5 MB, free: 384 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003858/0.135, allocations: 413.8 kB / 483.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.135, allocations: 29.69 kB / 483.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001554/0.1352, allocations: 251 kB / 484.2 MB, free: 15.67 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.465e-05/0.1352, allocations: 31.55 kB / 484.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.1353, allocations: 69.94 kB / 484.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.1354, allocations: 350.7 kB / 484.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/0.1356, allocations: 60.61 kB / 484.7 MB, free: 15.16 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002658/0.1359, allocations: 258.4 kB / 484.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004467/0.1363, allocations: 355.8 kB / 485.3 MB, free: 14.35 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.1363, allocations: 4 kB / 485.3 MB, free: 14.35 MB / 366.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005832/0.1369, allocations: 344.6 kB / 485.6 MB, free: 14 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.137, allocations: 8 kB / 485.6 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.137, allocations: 11.98 kB / 485.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.133e-05/0.137, allocations: 8.781 kB / 485.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004562/0.1375, allocations: 107.8 kB / 485.7 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006991/0.1382, allocations: 1.215 MB / 487 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002797/0.1385, allocations: 71.27 kB / 487 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.412e-05/0.1385, allocations: 16 kB / 487 MB, free: 12.52 MB / 366.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.0001459/0.1387, allocations: 153.8 kB / 487.2 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.723e-05/0.1387, allocations: 43.45 kB / 487.2 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003988/0.1391, allocations: 173.3 kB / 487.4 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.1392, allocations: 3.938 kB / 487.4 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.1392, allocations: 0 / 487.4 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.1392, allocations: 3.938 kB / 487.4 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002863/0.1395, allocations: 273.5 kB / 487.7 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.1395, allocations: 7.922 kB / 487.7 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002677/0.1398, allocations: 47.98 kB / 487.7 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.1398, allocations: 0 / 487.7 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.766e-05/0.1398, allocations: 11.98 kB / 487.7 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007031/0.1405, allocations: 1.203 MB / 488.9 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.1405, allocations: 0 / 488.9 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000375/0.1409, allocations: 243.2 kB / 489.2 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.297e-05/0.141, allocations: 104.6 kB / 489.3 MB, free: 10.13 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.489e-05/0.1411, allocations: 11.92 kB / 489.3 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001674/0.1412, allocations: 8 kB / 489.3 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.082e-05/0.1413, allocations: 15.97 kB / 489.3 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/0.1413, allocations: 0 / 489.3 MB, free: 10.09 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002508/0.1416, allocations: 279.1 kB / 489.6 MB, free: 9.824 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1416, allocations: 4 kB / 489.6 MB, free: 9.82 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004786/0.142, allocations: 104 kB / 489.7 MB, free: 9.719 MB / 366.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.0003445/0.1424, allocations: 175.8 kB / 489.9 MB, free: 9.535 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005346/0.1429, allocations: 201.6 kB / 490.1 MB, free: 9.34 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.143, allocations: 4 kB / 490.1 MB, free: 9.336 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002619/0.1432, allocations: 79.94 kB / 490.2 MB, free: 9.258 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003708/0.1436, allocations: 47.09 kB / 490.2 MB, free: 9.219 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007851/0.1444, allocations: 0.4937 MB / 490.7 MB, free: 8.703 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003518/0.1448, allocations: 0.7678 MB / 491.5 MB, free: 7.906 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001045/0.1449, allocations: 38.89 kB / 491.5 MB, free: 7.867 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.827e-05/0.1449, allocations: 23.44 kB / 491.5 MB, free: 7.844 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1449, allocations: 0 / 491.5 MB, free: 7.844 MB / 366.1 MB Notification: Performance of Templates: time 0.0104/0.1554, allocations: 6.16 MB / 497.7 MB, free: 1.734 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_roundTube_KC/kc_roundTube_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches