Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001035/0.001036, allocations: 98.08 kB / 18.01 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 178.2 kB / 18.91 MB, free: 4.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 223.3 MB / 243 MB, free: 220 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1825/0.1825, allocations: 44.24 MB / 338.3 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003181/0.0003182, allocations: 11.98 kB / 411 MB, free: 27.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1097, allocations: 61.92 MB / 472.9 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.002394/0.1121, allocations: 1.797 MB / 474.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002445/0.1146, allocations: 1.726 MB / 476.5 MB, free: 9.812 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.753e-05/0.1147, allocations: 4 kB / 476.5 MB, free: 9.809 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003033/0.115, allocations: 79.5 kB / 476.5 MB, free: 9.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001383/0.1151, allocations: 59.5 kB / 476.6 MB, free: 9.672 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006776/0.1158, allocations: 279 kB / 476.9 MB, free: 9.398 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001815/0.116, allocations: 159 kB / 477 MB, free: 9.242 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.039e-05/0.1161, allocations: 16.3 kB / 477 MB, free: 9.223 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.933e-05/0.1162, allocations: 55.61 kB / 477.1 MB, free: 9.168 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001114/0.1163, allocations: 63.58 kB / 477.2 MB, free: 9.105 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.066e-05/0.1163, allocations: 4 kB / 477.2 MB, free: 9.102 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001102/0.1174, allocations: 0.7529 MB / 477.9 MB, free: 8.348 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.114e-05/0.1175, allocations: 31.78 kB / 477.9 MB, free: 8.316 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.904e-05/0.1176, allocations: 101.1 kB / 478 MB, free: 8.211 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004308/0.118, allocations: 358.9 kB / 478.4 MB, free: 7.859 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.118, allocations: 0 / 478.4 MB, free: 7.859 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.118, allocations: 0 / 478.4 MB, free: 7.859 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.1181, allocations: 0 / 478.4 MB, free: 7.859 MB / 350.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.000667/0.1187, allocations: 495.2 kB / 478.9 MB, free: 7.328 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.1188, allocations: 8.031 kB / 478.9 MB, free: 7.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.972e-05/0.1188, allocations: 24.66 kB / 478.9 MB, free: 7.297 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001938/0.119, allocations: 216.4 kB / 479.1 MB, free: 7.047 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.1191, allocations: 16.38 kB / 479.1 MB, free: 7.031 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.331e-05/0.1191, allocations: 20 kB / 479.2 MB, free: 7.012 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000451/0.1196, allocations: 271.5 kB / 479.4 MB, free: 6.727 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.1196, allocations: 0 / 479.4 MB, free: 6.727 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.783e-05/0.1196, allocations: 7.938 kB / 479.4 MB, free: 6.719 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.1196, allocations: 8 kB / 479.4 MB, free: 6.711 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003257/0.1199, allocations: 168.2 kB / 479.6 MB, free: 6.543 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000944/0.1209, allocations: 0.9041 MB / 480.5 MB, free: 5.574 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001954/0.1211, allocations: 66.55 kB / 480.6 MB, free: 5.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001162/0.1212, allocations: 32.95 kB / 480.6 MB, free: 5.465 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.908e-05/0.1213, allocations: 4 kB / 480.6 MB, free: 5.461 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.1213, allocations: 34.55 kB / 480.6 MB, free: 5.418 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.362e-06/0.1213, allocations: 0 / 480.6 MB, free: 5.418 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004797/0.1218, allocations: 153.3 kB / 480.8 MB, free: 5.262 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/0.1219, allocations: 59.34 kB / 480.8 MB, free: 5.191 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002576/0.1221, allocations: 266.9 kB / 481.1 MB, free: 4.926 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.1221, allocations: 25.7 kB / 481.1 MB, free: 4.895 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/0.1223, allocations: 187 kB / 481.3 MB, free: 4.707 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.696e-05/0.1223, allocations: 23.66 kB / 481.3 MB, free: 4.684 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.676e-05/0.1224, allocations: 21.7 kB / 481.4 MB, free: 4.656 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.1225, allocations: 342.8 kB / 481.7 MB, free: 4.312 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001414/0.1226, allocations: 48.2 kB / 481.7 MB, free: 4.262 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002116/0.1228, allocations: 184.1 kB / 481.9 MB, free: 4.012 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003991/0.1233, allocations: 279.6 kB / 482.2 MB, free: 3.668 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.1233, allocations: 0 / 482.2 MB, free: 3.668 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000564/0.1238, allocations: 268.8 kB / 482.5 MB, free: 3.398 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.853e-05/0.1239, allocations: 8 kB / 482.5 MB, free: 3.391 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.254e-05/0.1239, allocations: 16.78 kB / 482.5 MB, free: 3.375 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.1239, allocations: 15.98 kB / 482.5 MB, free: 3.359 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001903/0.1241, allocations: 51.84 kB / 482.5 MB, free: 3.309 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.327e-05/0.1241, allocations: 11.98 kB / 482.6 MB, free: 3.297 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001565/0.1243, allocations: 43.58 kB / 482.6 MB, free: 3.254 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.213e-05/0.1243, allocations: 12 kB / 482.6 MB, free: 3.242 MB / 350.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.0001181/0.1245, allocations: 137.7 kB / 482.7 MB, free: 3.098 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.586e-05/0.1245, allocations: 27.59 kB / 482.8 MB, free: 3.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003939/0.1249, allocations: 150.9 kB / 482.9 MB, free: 2.914 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.1249, allocations: 3.938 kB / 482.9 MB, free: 2.91 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.1249, allocations: 0 / 482.9 MB, free: 2.91 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1249, allocations: 0 / 482.9 MB, free: 2.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002416/0.1252, allocations: 221.6 kB / 483.1 MB, free: 2.645 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.567e-05/0.1252, allocations: 8 kB / 483.2 MB, free: 2.637 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.325e-05/0.1253, allocations: 8 kB / 483.2 MB, free: 2.629 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.1253, allocations: 0 / 483.2 MB, free: 2.629 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.133e-05/0.1253, allocations: 11.98 kB / 483.2 MB, free: 2.617 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.1253, allocations: 3.938 kB / 483.2 MB, free: 2.613 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1253, allocations: 0 / 483.2 MB, free: 2.613 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000327/0.1257, allocations: 219.2 kB / 483.4 MB, free: 2.383 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.061e-05/0.1257, allocations: 100.8 kB / 483.5 MB, free: 2.266 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.848e-05/0.1258, allocations: 4 kB / 483.5 MB, free: 2.262 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.1259, allocations: 11.94 kB / 483.5 MB, free: 2.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.723e-05/0.1259, allocations: 3.984 kB / 483.5 MB, free: 2.246 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.1259, allocations: 8 kB / 483.5 MB, free: 2.238 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001573/0.1261, allocations: 186 kB / 483.7 MB, free: 2.055 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1261, allocations: 0 / 483.7 MB, free: 2.055 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004887/0.1266, allocations: 92 kB / 483.8 MB, free: 1.965 MB / 350.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.0004198/0.127, allocations: 195.6 kB / 484 MB, free: 1.762 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005301/0.1276, allocations: 212.4 kB / 484.2 MB, free: 1.543 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1276, allocations: 0 / 484.2 MB, free: 1.543 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002619/0.1278, allocations: 107.4 kB / 484.3 MB, free: 1.426 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003379/0.1282, allocations: 16.89 kB / 484.3 MB, free: 1.406 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006863/0.1289, allocations: 469 kB / 484.8 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/0.1292, allocations: 0.7326 MB / 485.5 MB, free: 156 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.166e-05/0.1292, allocations: 15.44 kB / 485.5 MB, free: 144 kB / 350.1 MB Notification: Performance of SimCode: time 6.02e-07/0.1292, allocations: 0 / 485.5 MB, free: 144 kB / 350.1 MB Notification: Performance of Templates: time 0.007458/0.1367, allocations: 4.933 MB / 490.4 MB, free: 11.22 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches