Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00128/0.001281, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001385/0.001386, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.374/1.374, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2125/0.2125, allocations: 46.1 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 82.77 kB / 419 MB, free: 18.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1148, allocations: 62.44 MB / 481.5 MB, free: 4.504 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.003844/0.1186, allocations: 2.687 MB / 484.2 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002101/0.1208, allocations: 1.48 MB / 485.6 MB, free: 324 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.1209, allocations: 4 kB / 485.6 MB, free: 320 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003143/0.1212, allocations: 111.2 kB / 485.7 MB, free: 208 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003258/0.1216, allocations: 134.8 kB / 485.9 MB, free: 72 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005294/0.1221, allocations: 259.1 kB / 486.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002668/0.1224, allocations: 286 kB / 486.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.46e-05/0.1224, allocations: 32.72 kB / 486.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001106/0.1226, allocations: 91.41 kB / 486.5 MB, free: 15.41 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001695/0.1227, allocations: 123.2 kB / 486.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.357e-05/0.1228, allocations: 11.94 kB / 486.7 MB, free: 15.28 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009145/0.1237, allocations: 0.6085 MB / 487.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.881e-05/0.1238, allocations: 39.72 kB / 487.3 MB, free: 14.63 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001344/0.1239, allocations: 135 kB / 487.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006754/0.1246, allocations: 0.5565 MB / 488 MB, free: 13.94 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1246, allocations: 0 / 488 MB, free: 13.94 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1246, allocations: 0 / 488 MB, free: 13.94 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.1246, allocations: 0 / 488 MB, free: 13.94 MB / 366.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.0007931/0.1254, allocations: 0.6278 MB / 488.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.1255, allocations: 16.03 kB / 488.6 MB, free: 13.25 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.274e-05/0.1256, allocations: 44.47 kB / 488.7 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000257/0.1258, allocations: 239.7 kB / 488.9 MB, free: 12.93 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.703e-05/0.1259, allocations: 33.36 kB / 489 MB, free: 12.9 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.527e-05/0.1259, allocations: 32.12 kB / 489 MB, free: 12.87 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006605/0.1266, allocations: 0.5765 MB / 489.6 MB, free: 12.16 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.1266, allocations: 3.938 kB / 489.6 MB, free: 12.16 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.691e-05/0.1266, allocations: 16 kB / 489.6 MB, free: 12.14 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.331e-05/0.1266, allocations: 12 kB / 489.6 MB, free: 12.13 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004821/0.1271, allocations: 337 kB / 489.9 MB, free: 11.8 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002396/0.1295, allocations: 4.05 MB / 494 MB, free: 7.543 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002725/0.1298, allocations: 94.52 kB / 494.1 MB, free: 7.441 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001231/0.13, allocations: 40.89 kB / 494.1 MB, free: 7.398 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.228e-05/0.13, allocations: 8 kB / 494.1 MB, free: 7.391 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.13, allocations: 34.55 kB / 494.1 MB, free: 7.348 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.13, allocations: 0 / 494.1 MB, free: 7.348 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005019/0.1305, allocations: 165.1 kB / 494.3 MB, free: 7.18 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.804e-05/0.1306, allocations: 55.41 kB / 494.4 MB, free: 7.113 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003994/0.131, allocations: 409.7 kB / 494.8 MB, free: 6.703 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.131, allocations: 33.7 kB / 494.8 MB, free: 6.664 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001731/0.1312, allocations: 250.9 kB / 495 MB, free: 6.414 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.698e-05/0.1313, allocations: 31.64 kB / 495.1 MB, free: 6.383 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001213/0.1314, allocations: 73.92 kB / 495.1 MB, free: 6.301 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.1315, allocations: 350.7 kB / 495.5 MB, free: 5.949 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/0.1317, allocations: 52.61 kB / 495.5 MB, free: 5.898 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002542/0.132, allocations: 263.2 kB / 495.8 MB, free: 5.539 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004858/0.1324, allocations: 351.9 kB / 496.1 MB, free: 5.094 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.1325, allocations: 4 kB / 496.1 MB, free: 5.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006144/0.1331, allocations: 352.8 kB / 496.5 MB, free: 4.738 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.1331, allocations: 8 kB / 496.5 MB, free: 4.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.1331, allocations: 4 kB / 496.5 MB, free: 4.727 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.1332, allocations: 12 kB / 496.5 MB, free: 4.715 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004806/0.1336, allocations: 115.8 kB / 496.6 MB, free: 4.602 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007862/0.1344, allocations: 1.215 MB / 497.8 MB, free: 3.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000298/0.1348, allocations: 67.27 kB / 497.9 MB, free: 3.273 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.803e-05/0.1348, allocations: 23.94 kB / 497.9 MB, free: 3.25 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.0001455/0.1349, allocations: 149.9 kB / 498.1 MB, free: 3.094 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.206e-05/0.135, allocations: 39.47 kB / 498.1 MB, free: 3.055 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004479/0.1355, allocations: 176.8 kB / 498.3 MB, free: 2.871 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.1355, allocations: 0 / 498.3 MB, free: 2.871 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.1355, allocations: 0 / 498.3 MB, free: 2.871 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1355, allocations: 0 / 498.3 MB, free: 2.871 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003024/0.1358, allocations: 273.5 kB / 498.6 MB, free: 2.555 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.1358, allocations: 3.938 kB / 498.6 MB, free: 2.551 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002971/0.1361, allocations: 59.97 kB / 498.6 MB, free: 2.492 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.1361, allocations: 0 / 498.6 MB, free: 2.492 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.1362, allocations: 0 / 498.6 MB, free: 2.492 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006352/0.1368, allocations: 1.215 MB / 499.8 MB, free: 1.23 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1368, allocations: 0 / 499.8 MB, free: 1.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003491/0.1372, allocations: 243.7 kB / 0.4883 GB, free: 0.9766 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.49e-05/0.1373, allocations: 112.6 kB / 0.4885 GB, free: 0.8477 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.11e-05/0.1373, allocations: 3.938 kB / 0.4885 GB, free: 0.8438 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001653/0.1375, allocations: 11.98 kB / 0.4885 GB, free: 0.832 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.858e-05/0.1375, allocations: 7.984 kB / 0.4885 GB, free: 0.8242 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.1376, allocations: 4 kB / 0.4885 GB, free: 0.8203 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002701/0.1378, allocations: 271.2 kB / 0.4887 GB, free: 0.5586 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.1378, allocations: 3.938 kB / 0.4887 GB, free: 0.5547 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005195/0.1384, allocations: 116 kB / 0.4889 GB, free: 452 kB / 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.0003606/0.1387, allocations: 179.8 kB / 0.489 GB, free: 264 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005835/0.1393, allocations: 205.4 kB / 0.4892 GB, free: 60 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.1393, allocations: 0 / 0.4892 GB, free: 60 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002931/0.1396, allocations: 84.08 kB / 0.4893 GB, free: 15.97 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003988/0.1401, allocations: 39.48 kB / 0.4893 GB, free: 15.95 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000869/0.1409, allocations: 0.5015 MB / 0.4898 GB, free: 15.42 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003741/0.1413, allocations: 0.7677 MB / 0.4906 GB, free: 14.62 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001144/0.1414, allocations: 42.89 kB / 0.4906 GB, free: 14.58 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.798e-05/0.1415, allocations: 23.44 kB / 0.4906 GB, free: 14.56 MB / 382.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1415, allocations: 0 / 0.4906 GB, free: 14.56 MB / 382.1 MB Notification: Performance of Templates: time 0.01043/0.1519, allocations: 6.303 MB / 0.4968 GB, free: 8.305 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches