Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.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_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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001208/0.001209, allocations: 116.9 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.00128/0.00128, allocations: 200.6 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.311/1.311, allocations: 227.4 MB / 247.5 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2022/0.2022, allocations: 46.11 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 77.91 kB / 419 MB, free: 19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1057, allocations: 62.44 MB / 481.5 MB, free: 4.527 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.003152/0.1089, allocations: 2.139 MB / 483.6 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001738/0.1106, allocations: 1.402 MB / 485 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.542e-05/0.1107, allocations: 0 / 485 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002693/0.111, allocations: 87.44 kB / 485.1 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000139/0.1112, allocations: 67.41 kB / 485.2 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004739/0.1116, allocations: 211.1 kB / 485.4 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001665/0.1118, allocations: 147 kB / 485.5 MB, free: 472 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.744e-05/0.1119, allocations: 16.3 kB / 485.5 MB, free: 456 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001506/0.112, allocations: 71.52 kB / 485.6 MB, free: 384 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.273e-05/0.1121, allocations: 55.66 kB / 485.7 MB, free: 328 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.299e-05/0.1121, allocations: 8 kB / 485.7 MB, free: 320 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005577/0.1127, allocations: 439.3 kB / 486.1 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.619e-05/0.1128, allocations: 23.84 kB / 486.1 MB, free: 15.86 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.136e-05/0.1128, allocations: 71.44 kB / 486.2 MB, free: 15.79 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005672/0.1134, allocations: 434.5 kB / 486.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.1134, allocations: 7.875 kB / 486.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1134, allocations: 0 / 486.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.1134, allocations: 0 / 486.6 MB, free: 15.36 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0005773/0.114, allocations: 0.4909 MB / 487.1 MB, free: 14.82 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.1141, allocations: 13.11 kB / 487.1 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.026e-05/0.1141, allocations: 24.66 kB / 487.1 MB, free: 14.78 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000196/0.1143, allocations: 208 kB / 487.3 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.1143, allocations: 12.38 kB / 487.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.531e-05/0.1144, allocations: 24.06 kB / 487.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003357/0.1147, allocations: 198.7 kB / 487.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.1147, allocations: 0 / 487.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.1148, allocations: 8 kB / 487.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.1148, allocations: 4 kB / 487.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000281/0.1151, allocations: 160.2 kB / 487.7 MB, free: 14.13 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007741/0.1158, allocations: 0.5752 MB / 488.3 MB, free: 13.51 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/0.116, allocations: 58.55 kB / 488.4 MB, free: 13.44 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.1161, allocations: 32.95 kB / 488.4 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.057e-05/0.1162, allocations: 4 kB / 488.4 MB, free: 13.4 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.1162, allocations: 34.55 kB / 488.4 MB, free: 13.36 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.1162, allocations: 0 / 488.4 MB, free: 13.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004159/0.1166, allocations: 133.5 kB / 488.6 MB, free: 13.22 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.039e-05/0.1167, allocations: 55.41 kB / 488.6 MB, free: 13.16 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002216/0.1169, allocations: 262.6 kB / 488.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.1169, allocations: 25.7 kB / 488.9 MB, free: 12.86 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.547e-05/0.117, allocations: 163.7 kB / 489.1 MB, free: 12.7 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.636e-05/0.1171, allocations: 15.75 kB / 489.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.657e-05/0.1171, allocations: 41.61 kB / 489.1 MB, free: 12.64 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.1172, allocations: 342.8 kB / 489.5 MB, free: 12.29 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001145/0.1174, allocations: 31.97 kB / 489.5 MB, free: 12.26 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000157/0.1175, allocations: 132 kB / 489.6 MB, free: 12.09 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002835/0.1178, allocations: 192.6 kB / 489.8 MB, free: 11.86 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1178, allocations: 0 / 489.8 MB, free: 11.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003712/0.1182, allocations: 205.2 kB / 490 MB, free: 11.65 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.1182, allocations: 4 kB / 490 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.671e-05/0.1183, allocations: 12.44 kB / 490 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.1183, allocations: 11.98 kB / 490 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.1184, allocations: 31.92 kB / 490.1 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.1185, allocations: 4 kB / 490.1 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001219/0.1186, allocations: 39.58 kB / 490.1 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.686e-05/0.1186, allocations: 8 kB / 490.1 MB, free: 11.54 MB / 366.1 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.618e-05/0.1187, allocations: 133.7 kB / 490.3 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.46e-05/0.1188, allocations: 15.81 kB / 490.3 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003359/0.1191, allocations: 134.9 kB / 490.4 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.1191, allocations: 0 / 490.4 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.1191, allocations: 7.875 kB / 490.4 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.1191, allocations: 4 kB / 490.4 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002228/0.1194, allocations: 229.4 kB / 490.6 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.915e-05/0.1194, allocations: 20 kB / 490.7 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.879e-05/0.1194, allocations: 7.984 kB / 490.7 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1194, allocations: 0 / 490.7 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.1195, allocations: 0 / 490.7 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.1195, allocations: 7.938 kB / 490.7 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/0.1195, allocations: 4 kB / 490.7 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002765/0.1198, allocations: 207.2 kB / 490.9 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.001e-05/0.1198, allocations: 92.83 kB / 491 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.511e-05/0.1199, allocations: 0 / 491 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.12, allocations: 7.984 kB / 491 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.148e-05/0.12, allocations: 8 kB / 491 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/0.12, allocations: 4 kB / 491 MB, free: 10.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001434/0.1202, allocations: 178 kB / 491.2 MB, free: 10.4 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1202, allocations: 0 / 491.2 MB, free: 10.4 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003643/0.1206, allocations: 75.94 kB / 491.2 MB, free: 10.33 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 (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.0002946/0.1209, allocations: 171.1 kB / 491.4 MB, free: 10.15 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004284/0.1213, allocations: 168 kB / 491.6 MB, free: 9.973 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1213, allocations: 0 / 491.6 MB, free: 9.973 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001876/0.1215, allocations: 103.4 kB / 491.7 MB, free: 9.859 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003302/0.1218, allocations: 20.83 kB / 491.7 MB, free: 9.836 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006209/0.1225, allocations: 372.1 kB / 492 MB, free: 9.445 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002704/0.1228, allocations: 0.7281 MB / 492.8 MB, free: 8.691 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.034e-05/0.1228, allocations: 17.55 kB / 492.8 MB, free: 8.676 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.508e-05/0.1228, allocations: 15.44 kB / 492.8 MB, free: 8.66 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1228, allocations: 0 / 492.8 MB, free: 8.66 MB / 366.1 MB Notification: Performance of Templates: time 0.007393/0.1302, allocations: 4.189 MB / 497 MB, free: 4.508 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube/kc_flatTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches