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.00158/0.00158, allocations: 105.9 kB / 18.3 MB, free: 4.887 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.001847/0.001847, allocations: 195.5 kB / 19.23 MB, free: 3.961 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.388/1.388, allocations: 222.9 MB / 242.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2094/0.2094, allocations: 44.19 MB / 337.3 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 64.45 kB / 409.1 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1095, allocations: 60.83 MB / 469.9 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.004158/0.1137, allocations: 2.087 MB / 472 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002918/0.1166, allocations: 1.659 MB / 473.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001437/0.1168, allocations: 4 kB / 473.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003774/0.1172, allocations: 95.36 kB / 473.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002564/0.1175, allocations: 67.42 kB / 473.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001222/0.1187, allocations: 346.7 kB / 474.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002656/0.119, allocations: 139.1 kB / 474.3 MB, free: 9.938 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.107e-05/0.1191, allocations: 20.28 kB / 474.4 MB, free: 9.914 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001156/0.1192, allocations: 59.61 kB / 474.4 MB, free: 9.855 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001173/0.1193, allocations: 59.59 kB / 474.5 MB, free: 9.797 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.222e-05/0.1193, allocations: 11.94 kB / 474.5 MB, free: 9.785 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001525/0.1209, allocations: 0.7529 MB / 475.2 MB, free: 9.031 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.221e-05/0.121, allocations: 27.8 kB / 475.3 MB, free: 9.004 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.159e-05/0.1211, allocations: 71.48 kB / 475.3 MB, free: 8.934 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001049/0.1221, allocations: 0.5685 MB / 475.9 MB, free: 8.363 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1221, allocations: 0 / 475.9 MB, free: 8.363 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1221, allocations: 0 / 475.9 MB, free: 8.363 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.867e-06/0.1222, allocations: 0 / 475.9 MB, free: 8.363 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.0008766/0.123, allocations: 0.5069 MB / 476.4 MB, free: 7.809 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.1231, allocations: 12.03 kB / 476.4 MB, free: 7.797 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.927e-05/0.1232, allocations: 24.59 kB / 476.4 MB, free: 7.773 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003142/0.1235, allocations: 212.5 kB / 476.6 MB, free: 7.527 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.1235, allocations: 16.38 kB / 476.7 MB, free: 7.512 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.822e-05/0.1235, allocations: 20 kB / 476.7 MB, free: 7.492 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000504/0.1241, allocations: 271.4 kB / 476.9 MB, free: 7.207 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.1241, allocations: 0 / 476.9 MB, free: 7.207 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.943e-05/0.1241, allocations: 8 kB / 477 MB, free: 7.199 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.312e-05/0.1241, allocations: 4 kB / 477 MB, free: 7.195 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003466/0.1245, allocations: 156.2 kB / 477.1 MB, free: 7.039 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001224/0.1257, allocations: 0.9041 MB / 478 MB, free: 6.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002363/0.126, allocations: 62.48 kB / 478.1 MB, free: 6 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001154/0.1261, allocations: 40.94 kB / 478.1 MB, free: 5.957 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.105e-05/0.1261, allocations: 0 / 478.1 MB, free: 5.957 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.1262, allocations: 34.56 kB / 478.2 MB, free: 5.914 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 9.82e-07/0.1262, allocations: 0 / 478.2 MB, free: 5.914 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004868/0.1267, allocations: 125.4 kB / 478.3 MB, free: 5.785 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.765e-05/0.1267, allocations: 59.33 kB / 478.3 MB, free: 5.715 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000321/0.127, allocations: 270.9 kB / 478.6 MB, free: 5.445 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.1271, allocations: 25.7 kB / 478.6 MB, free: 5.414 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.1272, allocations: 179 kB / 478.8 MB, free: 5.234 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.522e-05/0.1272, allocations: 23.73 kB / 478.8 MB, free: 5.211 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.344e-05/0.1273, allocations: 57.59 kB / 478.9 MB, free: 5.148 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.1275, allocations: 334.8 kB / 479.2 MB, free: 4.812 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.1276, allocations: 44.19 kB / 479.2 MB, free: 4.766 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000228/0.1279, allocations: 190.1 kB / 479.4 MB, free: 4.512 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004104/0.1283, allocations: 255.4 kB / 479.7 MB, free: 4.191 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.1283, allocations: 0 / 479.7 MB, free: 4.191 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006462/0.1289, allocations: 256.9 kB / 479.9 MB, free: 3.934 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.129, allocations: 4 kB / 479.9 MB, free: 3.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.483e-05/0.129, allocations: 20.09 kB / 480 MB, free: 3.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.856e-05/0.129, allocations: 7.984 kB / 480 MB, free: 3.902 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001695/0.1292, allocations: 52.66 kB / 480 MB, free: 3.852 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.335e-05/0.1292, allocations: 15.88 kB / 480 MB, free: 3.836 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001779/0.1294, allocations: 47.58 kB / 480.1 MB, free: 3.789 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.643e-05/0.1295, allocations: 16 kB / 480.1 MB, free: 3.773 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.0001362/0.1296, allocations: 141.7 kB / 480.2 MB, free: 3.625 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.972e-05/0.1297, allocations: 19.72 kB / 480.2 MB, free: 3.605 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004372/0.1301, allocations: 138.9 kB / 480.4 MB, free: 3.461 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.1301, allocations: 3.938 kB / 480.4 MB, free: 3.457 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.1301, allocations: 0 / 480.4 MB, free: 3.457 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.1301, allocations: 0 / 480.4 MB, free: 3.457 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002872/0.1304, allocations: 213.6 kB / 480.6 MB, free: 3.199 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.856e-05/0.1305, allocations: 8 kB / 480.6 MB, free: 3.191 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.786e-05/0.1305, allocations: 19.92 kB / 480.6 MB, free: 3.172 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.1305, allocations: 0 / 480.6 MB, free: 3.172 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.1306, allocations: 4 kB / 480.6 MB, free: 3.168 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.297e-06/0.1306, allocations: 3.938 kB / 480.6 MB, free: 3.164 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1306, allocations: 4 kB / 480.6 MB, free: 3.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003229/0.1309, allocations: 203.2 kB / 480.8 MB, free: 2.945 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.638e-05/0.131, allocations: 92.86 kB / 480.9 MB, free: 2.836 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.015e-05/0.131, allocations: 4 kB / 480.9 MB, free: 2.832 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.1311, allocations: 11.92 kB / 480.9 MB, free: 2.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.116e-05/0.1312, allocations: 4 kB / 480.9 MB, free: 2.816 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.1312, allocations: 0 / 480.9 MB, free: 2.816 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000161/0.1314, allocations: 186 kB / 481.1 MB, free: 2.633 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.71e-07/0.1314, allocations: 0 / 481.1 MB, free: 2.633 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005098/0.1319, allocations: 95.98 kB / 481.2 MB, free: 2.539 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.0005358/0.1324, allocations: 195 kB / 481.4 MB, free: 2.336 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005246/0.133, allocations: 196.5 kB / 481.6 MB, free: 2.133 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.133, allocations: 0 / 481.6 MB, free: 2.133 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002092/0.1332, allocations: 99.31 kB / 481.7 MB, free: 2.023 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003904/0.1336, allocations: 32.86 kB / 481.7 MB, free: 1.992 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008181/0.1344, allocations: 401.4 kB / 482.1 MB, free: 1.57 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003247/0.1348, allocations: 0.7245 MB / 482.8 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.552e-05/0.1348, allocations: 15.44 kB / 482.9 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1348, allocations: 0 / 482.9 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of Templates: time 0.009015/0.1438, allocations: 4.963 MB / 487.8 MB, free: 11.86 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