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_flatTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.2.|Nu.1.|Nu.2.|input_Re.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.2.|Nu.1.|Nu.2.|input_Re.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001125/0.001125, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.24/1.24, allocations: 205.1 MB / 222.5 MB, free: 8.473 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000933/0.000933, allocations: 97.41 kB / 269.9 MB, free: 8.441 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2971/0.2971, allocations: 43.5 MB / 360.7 MB, free: 51.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001072/0.001072, allocations: 51.92 kB / 429.3 MB, free: 6.375 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09641/0.0975, allocations: 57.77 MB / 487 MB, free: 12.53 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.00342/0.101, allocations: 2.163 MB / 489.2 MB, free: 10.34 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001926/0.1029, allocations: 1.442 MB / 490.6 MB, free: 8.895 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001049/0.103, allocations: 3.938 kB / 490.6 MB, free: 8.891 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002978/0.1033, allocations: 79.5 kB / 490.7 MB, free: 8.812 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001606/0.1035, allocations: 63.48 kB / 490.8 MB, free: 8.75 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004894/0.104, allocations: 171.4 kB / 490.9 MB, free: 8.582 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001863/0.1042, allocations: 163 kB / 491.1 MB, free: 8.422 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.866e-05/0.1043, allocations: 32.2 kB / 491.1 MB, free: 8.391 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/0.1044, allocations: 55.66 kB / 491.2 MB, free: 8.336 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.263e-05/0.1045, allocations: 59.55 kB / 491.2 MB, free: 8.277 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.1045, allocations: 4 kB / 491.3 MB, free: 8.273 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005969/0.1051, allocations: 427.3 kB / 491.7 MB, free: 7.855 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.004e-05/0.1052, allocations: 23.86 kB / 491.7 MB, free: 7.832 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.93e-05/0.1053, allocations: 75.42 kB / 491.8 MB, free: 7.758 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005366/0.1058, allocations: 418.5 kB / 492.2 MB, free: 7.348 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1058, allocations: 4 kB / 492.2 MB, free: 7.344 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.1058, allocations: 0 / 492.2 MB, free: 7.344 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.1058, allocations: 4 kB / 492.2 MB, free: 7.34 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0006388/0.1065, allocations: 0.4908 MB / 492.7 MB, free: 6.801 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.1065, allocations: 12.03 kB / 492.7 MB, free: 6.789 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.227e-05/0.1066, allocations: 20.66 kB / 492.7 MB, free: 6.77 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001848/0.1068, allocations: 220.3 kB / 492.9 MB, free: 6.516 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.1068, allocations: 12.38 kB / 492.9 MB, free: 6.504 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.099e-05/0.1068, allocations: 16.12 kB / 492.9 MB, free: 6.488 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003448/0.1072, allocations: 210.7 kB / 493.2 MB, free: 6.273 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/0.1072, allocations: 0 / 493.2 MB, free: 6.273 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.1072, allocations: 4 kB / 493.2 MB, free: 6.27 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.1072, allocations: 7.984 kB / 493.2 MB, free: 6.262 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002795/0.1075, allocations: 148.2 kB / 493.3 MB, free: 6.117 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007936/0.1083, allocations: 0.5753 MB / 493.9 MB, free: 5.488 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001954/0.1085, allocations: 62.48 kB / 493.9 MB, free: 5.418 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/0.1086, allocations: 28.95 kB / 494 MB, free: 5.387 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.084e-05/0.1087, allocations: 3.984 kB / 494 MB, free: 5.383 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.1087, allocations: 34.56 kB / 494 MB, free: 5.34 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.533e-06/0.1087, allocations: 0 / 494 MB, free: 5.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004187/0.1091, allocations: 133.4 kB / 494.1 MB, free: 5.203 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.155e-05/0.1092, allocations: 55.34 kB / 494.2 MB, free: 5.137 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002109/0.1094, allocations: 258.6 kB / 494.4 MB, free: 4.879 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/0.1094, allocations: 29.7 kB / 494.5 MB, free: 4.844 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.467e-05/0.1095, allocations: 159.7 kB / 494.6 MB, free: 4.684 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.814e-05/0.1095, allocations: 23.69 kB / 494.7 MB, free: 4.66 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.698e-05/0.1096, allocations: 49.61 kB / 494.7 MB, free: 4.605 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.1097, allocations: 338.8 kB / 495 MB, free: 4.266 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001249/0.1098, allocations: 35.97 kB / 495.1 MB, free: 4.23 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001594/0.11, allocations: 124.9 kB / 495.2 MB, free: 4.062 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002885/0.1103, allocations: 188.5 kB / 495.4 MB, free: 3.832 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.1103, allocations: 4 kB / 495.4 MB, free: 3.828 MB / 378.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003885/0.1107, allocations: 205.3 kB / 495.6 MB, free: 3.621 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.1107, allocations: 8 kB / 495.6 MB, free: 3.613 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.608e-05/0.1108, allocations: 15.98 kB / 495.6 MB, free: 3.598 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.1108, allocations: 4 kB / 495.6 MB, free: 3.594 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.1109, allocations: 27.98 kB / 495.6 MB, free: 3.566 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/0.1109, allocations: 11.94 kB / 495.6 MB, free: 3.555 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00012/0.1111, allocations: 31.67 kB / 495.7 MB, free: 3.523 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.606e-05/0.1111, allocations: 8.406 kB / 495.7 MB, free: 3.516 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_2.geometry,m_flow_IN_con_1.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 9.433e-05/0.1112, allocations: 141.6 kB / 495.8 MB, free: 3.367 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.734e-05/0.1112, allocations: 19.72 kB / 495.8 MB, free: 3.348 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003622/0.1116, allocations: 138.9 kB / 496 MB, free: 3.199 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.1116, allocations: 0 / 496 MB, free: 3.199 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1117, allocations: 0 / 496 MB, free: 3.199 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.1117, allocations: 3.984 kB / 496 MB, free: 3.195 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002122/0.1119, allocations: 221.5 kB / 496.2 MB, free: 2.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.585e-05/0.1119, allocations: 8 kB / 496.2 MB, free: 2.922 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.128e-05/0.112, allocations: 7.984 kB / 496.2 MB, free: 2.914 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.112, allocations: 0 / 496.2 MB, free: 2.914 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.112, allocations: 4 kB / 496.2 MB, free: 2.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.112, allocations: 0 / 496.2 MB, free: 2.91 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.112, allocations: 4 kB / 496.2 MB, free: 2.906 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006226/0.1126, allocations: 0.8094 MB / 497 MB, free: 2.039 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.948e-05/0.1127, allocations: 100.8 kB / 497.1 MB, free: 1.922 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.076e-05/0.1127, allocations: 0 / 497.1 MB, free: 1.922 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.808e-05/0.1128, allocations: 15.88 kB / 497.1 MB, free: 1.906 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.612e-05/0.1129, allocations: 7.984 kB / 497.2 MB, free: 1.898 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.717e-06/0.1129, allocations: 4 kB / 497.2 MB, free: 1.895 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001316/0.113, allocations: 178 kB / 497.3 MB, free: 1.719 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.265e-06/0.113, allocations: 0 / 497.3 MB, free: 1.719 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004523/0.1135, allocations: 79.86 kB / 497.4 MB, free: 1.641 MB / 378.7 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 (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0002957/0.1138, allocations: 175.1 kB / 497.6 MB, free: 1.461 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004267/0.1142, allocations: 167.3 kB / 497.7 MB, free: 1.285 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1142, allocations: 0 / 497.7 MB, free: 1.285 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002047/0.1145, allocations: 108.1 kB / 497.9 MB, free: 1.168 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003389/0.1148, allocations: 20.83 kB / 497.9 MB, free: 1.148 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006921/0.1155, allocations: 0.5215 MB / 498.4 MB, free: 0.5938 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/0.1158, allocations: 0.7323 MB / 499.1 MB, free: 15.84 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.922e-05/0.1159, allocations: 17.55 kB / 499.1 MB, free: 15.82 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.407e-05/0.1159, allocations: 15.44 kB / 499.2 MB, free: 15.8 MB / 394.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1159, allocations: 0 / 499.2 MB, free: 15.8 MB / 394.7 MB Notification: Performance of Templates: time 0.007417/0.1234, allocations: 4.052 MB / 0.4914 GB, free: 11.76 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube/kc_flatTube.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches