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.001699/0.001699, allocations: 112.3 kB / 17.33 MB, free: 5.672 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.00195/0.00195, allocations: 193.3 kB / 18.25 MB, free: 4.977 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.388/1.388, allocations: 222.9 MB / 241.9 MB, free: 15.44 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.202/0.202, allocations: 44.18 MB / 336.2 MB, free: 2.949 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 68.25 kB / 407.9 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1128, allocations: 60.83 MB / 468.7 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.004101/0.1169, allocations: 2.701 MB / 471.4 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002171/0.1191, allocations: 1.453 MB / 472.9 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001206/0.1193, allocations: 0 / 472.9 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003566/0.1196, allocations: 95.41 kB / 473 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003706/0.12, allocations: 115 kB / 473.1 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005384/0.1206, allocations: 223.4 kB / 473.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003358/0.1209, allocations: 274.1 kB / 473.6 MB, free: 9.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.147e-05/0.121, allocations: 28.72 kB / 473.6 MB, free: 9.809 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/0.1212, allocations: 103.3 kB / 473.7 MB, free: 9.707 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002019/0.1214, allocations: 123.2 kB / 473.8 MB, free: 9.586 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.698e-05/0.1214, allocations: 8 kB / 473.8 MB, free: 9.578 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008822/0.1223, allocations: 0.5812 MB / 474.4 MB, free: 8.996 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001072/0.1224, allocations: 47.59 kB / 474.5 MB, free: 8.949 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001455/0.1226, allocations: 135 kB / 474.6 MB, free: 8.816 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006992/0.1233, allocations: 0.5292 MB / 475.1 MB, free: 8.285 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.1233, allocations: 0 / 475.1 MB, free: 8.285 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.604e-06/0.1233, allocations: 4 kB / 475.1 MB, free: 8.281 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.316e-06/0.1233, allocations: 0 / 475.1 MB, free: 8.281 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.0008507/0.1242, allocations: 0.6201 MB / 475.8 MB, free: 7.613 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.1242, allocations: 8.031 kB / 475.8 MB, free: 7.605 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.934e-05/0.1243, allocations: 40.47 kB / 475.8 MB, free: 7.566 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002785/0.1246, allocations: 243.7 kB / 476 MB, free: 7.289 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.215e-05/0.1246, allocations: 29.38 kB / 476.1 MB, free: 7.262 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.006e-05/0.1247, allocations: 40.12 kB / 476.1 MB, free: 7.223 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007624/0.1255, allocations: 0.5764 MB / 476.7 MB, free: 6.512 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.1255, allocations: 3.938 kB / 476.7 MB, free: 6.508 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.121e-05/0.1255, allocations: 20 kB / 476.7 MB, free: 6.488 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.436e-05/0.1255, allocations: 16 kB / 476.7 MB, free: 6.473 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00049/0.126, allocations: 325.1 kB / 477 MB, free: 6.156 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002795/0.1288, allocations: 4.054 MB / 481.1 MB, free: 1.898 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002683/0.1291, allocations: 98.47 kB / 481.2 MB, free: 1.793 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000123/0.1293, allocations: 36.97 kB / 481.2 MB, free: 1.754 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.261e-05/0.1293, allocations: 0 / 481.2 MB, free: 1.754 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.1293, allocations: 42.48 kB / 481.3 MB, free: 1.703 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.1293, allocations: 0 / 481.3 MB, free: 1.703 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005307/0.1299, allocations: 169.5 kB / 481.4 MB, free: 1.531 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.1299, allocations: 51.41 kB / 481.5 MB, free: 1.469 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003817/0.1303, allocations: 413.7 kB / 481.9 MB, free: 1.059 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.1303, allocations: 25.7 kB / 481.9 MB, free: 1.027 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001662/0.1305, allocations: 254.9 kB / 482.2 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.427e-05/0.1306, allocations: 27.64 kB / 482.2 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.854e-05/0.1306, allocations: 69.92 kB / 482.3 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.1308, allocations: 354.7 kB / 482.6 MB, free: 324 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001595/0.131, allocations: 56.62 kB / 482.7 MB, free: 268 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002957/0.1313, allocations: 258.4 kB / 482.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000453/0.1317, allocations: 355.9 kB / 483.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.1317, allocations: 4 kB / 483.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005925/0.1323, allocations: 345.3 kB / 483.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.1324, allocations: 8 kB / 483.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.1324, allocations: 16.03 kB / 483.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.1324, allocations: 11.94 kB / 483.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004677/0.1329, allocations: 111.9 kB / 483.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007186/0.1336, allocations: 1.219 MB / 485 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002818/0.1339, allocations: 67.47 kB / 485 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.823e-05/0.1339, allocations: 20 kB / 485.1 MB, free: 13.61 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.0001656/0.1341, allocations: 149.6 kB / 485.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.226e-05/0.1342, allocations: 39.47 kB / 485.2 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004367/0.1346, allocations: 176.9 kB / 485.4 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.1346, allocations: 0 / 485.4 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.1346, allocations: 0 / 485.4 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.1347, allocations: 0 / 485.4 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002979/0.135, allocations: 277.5 kB / 485.7 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.135, allocations: 3.938 kB / 485.7 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002767/0.1353, allocations: 55.97 kB / 485.7 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.1353, allocations: 3.938 kB / 485.7 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.1353, allocations: 4 kB / 485.7 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006641/0.136, allocations: 1.203 MB / 487 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.136, allocations: 4.188 kB / 487 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003501/0.1363, allocations: 235 kB / 487.2 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.507e-05/0.1364, allocations: 108.6 kB / 487.3 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.38e-05/0.1365, allocations: 3.938 kB / 487.3 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001637/0.1366, allocations: 4 kB / 487.3 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.223e-05/0.1367, allocations: 11.98 kB / 487.3 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.768e-06/0.1367, allocations: 8 kB / 487.3 MB, free: 11.2 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000245/0.137, allocations: 271.1 kB / 487.6 MB, free: 10.93 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.137, allocations: 0 / 487.6 MB, free: 10.93 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000549/0.1375, allocations: 112 kB / 487.7 MB, free: 10.82 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.0003991/0.1379, allocations: 167.7 kB / 487.9 MB, free: 10.65 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005435/0.1385, allocations: 217.2 kB / 488.1 MB, free: 10.44 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.1385, allocations: 4 kB / 488.1 MB, free: 10.43 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002629/0.1388, allocations: 75.95 kB / 488.1 MB, free: 10.36 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004493/0.1392, allocations: 48 kB / 488.2 MB, free: 10.32 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000938/0.1402, allocations: 0.5955 MB / 488.8 MB, free: 9.699 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003369/0.1405, allocations: 0.7678 MB / 489.6 MB, free: 8.906 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001339/0.1407, allocations: 38.95 kB / 489.6 MB, free: 8.867 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.644e-05/0.1407, allocations: 23.44 kB / 489.6 MB, free: 8.844 MB / 366.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1407, allocations: 3.938 kB / 489.6 MB, free: 8.84 MB / 366.1 MB Notification: Performance of Templates: time 0.01071/0.1514, allocations: 6.08 MB / 495.7 MB, free: 2.809 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 -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/jenkins/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/jenkins/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