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.001491/0.001491, allocations: 114.8 kB / 18.42 MB, free: 4.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001766/0.001766, allocations: 212.5 kB / 19.37 MB, free: 3.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.302/1.302, allocations: 227.4 MB / 247.5 MB, free: 10.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.227/0.227, allocations: 46.1 MB / 344.9 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 78.72 kB / 419 MB, free: 19.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09898/0.1003, allocations: 62.44 MB / 481.5 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.003493/0.1038, allocations: 2.697 MB / 484.2 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001961/0.1058, allocations: 1.472 MB / 485.6 MB, free: 360 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.904e-05/0.1059, allocations: 4 kB / 485.7 MB, free: 356 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002806/0.1062, allocations: 111.2 kB / 485.8 MB, free: 244 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003128/0.1065, allocations: 130.8 kB / 485.9 MB, free: 112 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005211/0.107, allocations: 271.2 kB / 486.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002509/0.1073, allocations: 278 kB / 486.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.568e-05/0.1074, allocations: 24.73 kB / 486.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.1075, allocations: 99.39 kB / 486.5 MB, free: 15.45 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001525/0.1076, allocations: 127.1 kB / 486.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.165e-05/0.1077, allocations: 8 kB / 486.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008375/0.1085, allocations: 0.6124 MB / 487.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.024e-05/0.1086, allocations: 43.66 kB / 487.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001238/0.1087, allocations: 131 kB / 487.5 MB, free: 14.53 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005974/0.1093, allocations: 0.5565 MB / 488 MB, free: 13.97 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.1093, allocations: 0 / 488 MB, free: 13.97 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1093, allocations: 0 / 488 MB, free: 13.97 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.1093, allocations: 0 / 488 MB, free: 13.97 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.0007048/0.11, allocations: 0.6239 MB / 488.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.1101, allocations: 16.03 kB / 488.7 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.193e-05/0.1102, allocations: 36.47 kB / 488.7 MB, free: 13.25 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002362/0.1104, allocations: 251.7 kB / 488.9 MB, free: 12.96 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.929e-05/0.1104, allocations: 25.38 kB / 489 MB, free: 12.94 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.524e-05/0.1105, allocations: 36.12 kB / 489 MB, free: 12.91 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006382/0.1111, allocations: 0.5764 MB / 489.6 MB, free: 12.2 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.1111, allocations: 7.938 kB / 489.6 MB, free: 12.19 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.765e-05/0.1112, allocations: 20 kB / 489.6 MB, free: 12.17 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.316e-05/0.1112, allocations: 12 kB / 489.6 MB, free: 12.16 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004633/0.1117, allocations: 329.1 kB / 489.9 MB, free: 11.83 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002204/0.1139, allocations: 4.05 MB / 494 MB, free: 7.578 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002398/0.1141, allocations: 90.53 kB / 494.1 MB, free: 7.48 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000115/0.1143, allocations: 36.95 kB / 494.1 MB, free: 7.441 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.783e-05/0.1143, allocations: 8 kB / 494.1 MB, free: 7.434 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.1143, allocations: 38.5 kB / 494.2 MB, free: 7.387 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.193e-06/0.1143, allocations: 0 / 494.2 MB, free: 7.387 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004628/0.1148, allocations: 161.2 kB / 494.3 MB, free: 7.223 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/0.1148, allocations: 63.38 kB / 494.4 MB, free: 7.148 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003567/0.1152, allocations: 405.7 kB / 494.8 MB, free: 6.742 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.1152, allocations: 29.7 kB / 494.8 MB, free: 6.707 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001452/0.1154, allocations: 254.9 kB / 495.1 MB, free: 6.453 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.281e-05/0.1154, allocations: 27.66 kB / 495.1 MB, free: 6.426 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.03e-05/0.1155, allocations: 69.92 kB / 495.1 MB, free: 6.348 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.1156, allocations: 350.7 kB / 495.5 MB, free: 5.996 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/0.1158, allocations: 56.61 kB / 495.5 MB, free: 5.941 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002543/0.1161, allocations: 263.2 kB / 495.8 MB, free: 5.582 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004331/0.1165, allocations: 359.8 kB / 496.2 MB, free: 5.129 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.1165, allocations: 4 kB / 496.2 MB, free: 5.125 MB / 366.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005524/0.1171, allocations: 344.9 kB / 496.5 MB, free: 4.781 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.1171, allocations: 11.94 kB / 496.5 MB, free: 4.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.736e-05/0.1171, allocations: 11.94 kB / 496.5 MB, free: 4.758 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.1171, allocations: 12 kB / 496.5 MB, free: 4.746 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004407/0.1176, allocations: 107.9 kB / 496.6 MB, free: 4.641 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006451/0.1182, allocations: 1.223 MB / 497.9 MB, free: 3.371 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002713/0.1185, allocations: 67.2 kB / 497.9 MB, free: 3.305 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.567e-05/0.1186, allocations: 24 kB / 497.9 MB, free: 3.281 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.0001247/0.1187, allocations: 149.8 kB / 498.1 MB, free: 3.125 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.241e-05/0.1188, allocations: 39.47 kB / 498.1 MB, free: 3.086 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000399/0.1192, allocations: 168.9 kB / 498.3 MB, free: 2.91 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.1192, allocations: 4 kB / 498.3 MB, free: 2.906 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1192, allocations: 0 / 498.3 MB, free: 2.906 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.1192, allocations: 3.984 kB / 498.3 MB, free: 2.902 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002811/0.1195, allocations: 273.5 kB / 498.6 MB, free: 2.586 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.1195, allocations: 3.938 kB / 498.6 MB, free: 2.582 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000267/0.1198, allocations: 55.97 kB / 498.6 MB, free: 2.527 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.1198, allocations: 3.938 kB / 498.6 MB, free: 2.523 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.1198, allocations: 0 / 498.6 MB, free: 2.523 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005735/0.1204, allocations: 1.204 MB / 499.8 MB, free: 1.273 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.1204, allocations: 3.984 kB / 499.8 MB, free: 1.27 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003247/0.1207, allocations: 251.2 kB / 0.4884 GB, free: 1.008 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.176e-05/0.1208, allocations: 104.6 kB / 0.4885 GB, free: 0.8867 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.092e-05/0.1208, allocations: 7.938 kB / 0.4885 GB, free: 0.8789 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000162/0.121, allocations: 7.984 kB / 0.4885 GB, free: 0.8711 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.951e-05/0.1211, allocations: 7.984 kB / 0.4885 GB, free: 0.8633 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.1211, allocations: 4 kB / 0.4885 GB, free: 0.8594 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002305/0.1213, allocations: 275.1 kB / 0.4888 GB, free: 0.5938 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1213, allocations: 0 / 0.4888 GB, free: 0.5938 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000473/0.1218, allocations: 112 kB / 0.4889 GB, free: 496 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.000324/0.1221, allocations: 183.7 kB / 0.489 GB, free: 304 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005241/0.1227, allocations: 209.3 kB / 0.4892 GB, free: 96 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1227, allocations: 0 / 0.4892 GB, free: 96 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002669/0.1229, allocations: 84.14 kB / 0.4893 GB, free: 12 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003842/0.1233, allocations: 34.02 kB / 0.4893 GB, free: 15.98 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007351/0.1241, allocations: 0.5013 MB / 0.4898 GB, free: 15.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002613/0.1244, allocations: 0.7678 MB / 0.4906 GB, free: 14.66 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001007/0.1245, allocations: 38.95 kB / 0.4906 GB, free: 14.62 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.878e-05/0.1245, allocations: 27.44 kB / 0.4907 GB, free: 14.59 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1245, allocations: 0 / 0.4907 GB, free: 14.59 MB / 382.1 MB Notification: Performance of Templates: time 0.01033/0.1349, allocations: 6.311 MB / 0.4968 GB, free: 8.336 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 gbode -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