Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.4.|Nu.1.|Nu.4.|input_Re.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.4.|Nu.1.|Nu.4.|input_Re.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001389/0.001389, allocations: 117 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001473/0.001473, allocations: 208.5 kB / 19.36 MB, free: 3.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.293/1.293, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2/0.2, allocations: 46.11 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 75.88 kB / 419 MB, free: 18.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1048, allocations: 62.44 MB / 481.5 MB, free: 4.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.003031/0.1079, allocations: 2.121 MB / 483.6 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002153/0.11, allocations: 1.705 MB / 485.3 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.153e-05/0.1101, allocations: 0 / 485.3 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002655/0.1104, allocations: 91.38 kB / 485.4 MB, free: 0.582 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001196/0.1105, allocations: 63.41 kB / 485.5 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007302/0.1112, allocations: 358.6 kB / 485.8 MB, free: 172 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001595/0.1114, allocations: 155 kB / 486 MB, free: 16 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.577e-05/0.1115, allocations: 16.31 kB / 486 MB, free: 0 / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.976e-05/0.1116, allocations: 47.73 kB / 486 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.624e-05/0.1117, allocations: 67.52 kB / 486.1 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.594e-05/0.1117, allocations: 4 kB / 486.1 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001049/0.1127, allocations: 0.7918 MB / 486.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.595e-05/0.1128, allocations: 23.8 kB / 486.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.089e-05/0.1129, allocations: 75.48 kB / 487 MB, free: 14.99 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006688/0.1136, allocations: 0.588 MB / 487.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1136, allocations: 4 kB / 487.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1136, allocations: 0 / 487.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.626e-06/0.1136, allocations: 0 / 487.6 MB, free: 14.4 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0006245/0.1142, allocations: 0.5108 MB / 488.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/0.1143, allocations: 9.109 kB / 488.1 MB, free: 13.83 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.601e-05/0.1143, allocations: 24.66 kB / 488.1 MB, free: 13.81 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001933/0.1145, allocations: 208.5 kB / 488.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.1145, allocations: 20.36 kB / 488.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.756e-05/0.1146, allocations: 24 kB / 488.4 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000385/0.115, allocations: 255.6 kB / 488.6 MB, free: 13.25 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.115, allocations: 3.938 kB / 488.6 MB, free: 13.25 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/0.115, allocations: 8 kB / 488.6 MB, free: 13.24 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.814e-06/0.115, allocations: 4 kB / 488.6 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003087/0.1153, allocations: 164.2 kB / 488.8 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009171/0.1163, allocations: 0.9079 MB / 489.7 MB, free: 12.1 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001768/0.1164, allocations: 62.55 kB / 489.8 MB, free: 12.03 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.457e-05/0.1165, allocations: 28.95 kB / 489.8 MB, free: 12 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.851e-05/0.1166, allocations: 7.984 kB / 489.8 MB, free: 11.99 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/0.1166, allocations: 38.5 kB / 489.8 MB, free: 11.94 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.193e-06/0.1166, allocations: 0 / 489.8 MB, free: 11.94 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004038/0.117, allocations: 129.5 kB / 490 MB, free: 11.81 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/0.1171, allocations: 55.34 kB / 490 MB, free: 11.74 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002336/0.1173, allocations: 270.9 kB / 490.3 MB, free: 11.47 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.1173, allocations: 25.7 kB / 490.3 MB, free: 11.44 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.1174, allocations: 179.1 kB / 490.5 MB, free: 11.26 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.783e-05/0.1175, allocations: 15.75 kB / 490.5 MB, free: 11.25 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.001e-05/0.1175, allocations: 57.61 kB / 490.5 MB, free: 11.18 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.1177, allocations: 334.8 kB / 490.9 MB, free: 10.85 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001238/0.1178, allocations: 48.2 kB / 490.9 MB, free: 10.8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001953/0.118, allocations: 188.1 kB / 491.1 MB, free: 10.54 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003486/0.1184, allocations: 259.4 kB / 491.4 MB, free: 10.22 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.1184, allocations: 0 / 491.4 MB, free: 10.22 MB / 366.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004391/0.1188, allocations: 256.8 kB / 491.6 MB, free: 9.961 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.1188, allocations: 8.688 kB / 491.6 MB, free: 9.953 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.719e-05/0.1189, allocations: 16 kB / 491.6 MB, free: 9.938 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.1189, allocations: 12 kB / 491.6 MB, free: 9.926 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/0.119, allocations: 47.84 kB / 491.7 MB, free: 9.879 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/0.1191, allocations: 8 kB / 491.7 MB, free: 9.871 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001623/0.1192, allocations: 39.59 kB / 491.7 MB, free: 9.832 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.206e-05/0.1193, allocations: 15.98 kB / 491.8 MB, free: 9.816 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 3 (m_flow_IN_con_4.N,m_flow_IN_con_4.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 (25): * Single equations (assignments): 23 * 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 0.0001057/0.1194, allocations: 141.6 kB / 491.9 MB, free: 9.668 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.687e-05/0.1194, allocations: 15.81 kB / 491.9 MB, free: 9.652 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000346/0.1198, allocations: 142.8 kB / 492 MB, free: 9.5 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.1198, allocations: 3.938 kB / 492.1 MB, free: 9.496 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.1198, allocations: 4 kB / 492.1 MB, free: 9.492 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1198, allocations: 4 kB / 492.1 MB, free: 9.488 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002124/0.12, allocations: 221.5 kB / 492.3 MB, free: 9.223 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.629e-05/0.12, allocations: 8 kB / 492.3 MB, free: 9.215 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.776e-05/0.1201, allocations: 7.984 kB / 492.3 MB, free: 9.207 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.1201, allocations: 0 / 492.3 MB, free: 9.207 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.1201, allocations: 7.938 kB / 492.3 MB, free: 9.199 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.1201, allocations: 3.938 kB / 492.3 MB, free: 9.195 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.1201, allocations: 4 kB / 492.3 MB, free: 9.191 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002765/0.1204, allocations: 211.2 kB / 492.5 MB, free: 8.969 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.373e-05/0.1205, allocations: 92.92 kB / 492.6 MB, free: 8.859 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.685e-05/0.1205, allocations: 0 / 492.6 MB, free: 8.859 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.943e-05/0.1206, allocations: 11.92 kB / 492.6 MB, free: 8.848 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.737e-05/0.1207, allocations: 4 kB / 492.6 MB, free: 8.844 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.1207, allocations: 4 kB / 492.6 MB, free: 8.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001492/0.1208, allocations: 182 kB / 492.8 MB, free: 8.664 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1208, allocations: 0 / 492.8 MB, free: 8.664 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004361/0.1213, allocations: 108 kB / 492.9 MB, free: 8.559 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.000399/0.1217, allocations: 207.2 kB / 493.1 MB, free: 8.348 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004444/0.1221, allocations: 196.5 kB / 493.3 MB, free: 8.145 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1221, allocations: 0 / 493.3 MB, free: 8.145 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002036/0.1224, allocations: 103.3 kB / 493.4 MB, free: 8.031 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003371/0.1227, allocations: 16.89 kB / 493.4 MB, free: 8.012 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006303/0.1233, allocations: 371.6 kB / 493.8 MB, free: 7.625 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002718/0.1236, allocations: 0.7323 MB / 494.5 MB, free: 6.867 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.456e-05/0.1237, allocations: 25.94 kB / 494.5 MB, free: 6.84 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.451e-05/0.1237, allocations: 15.44 kB / 494.6 MB, free: 6.824 MB / 366.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1237, allocations: 4 kB / 494.6 MB, free: 6.82 MB / 366.1 MB Notification: Performance of Templates: time 0.01002/0.1338, allocations: 6.348 MB / 0.4892 GB, free: 0.5117 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_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_roundTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches