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_flatTube.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_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_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 107.1 kB / 18.39 MB, free: 4.629 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.001129/0.001129, allocations: 184.1 kB / 19.33 MB, free: 3.699 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.422/1.422, allocations: 222.9 MB / 243 MB, free: 15.08 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.2058/0.2058, allocations: 44.18 MB / 337.4 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 65.69 kB / 409.9 MB, free: 26.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1358, allocations: 60.83 MB / 470.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.003466/0.1393, allocations: 2.121 MB / 472.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001799/0.1411, allocations: 1.363 MB / 474.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.859e-05/0.1412, allocations: 0 / 474.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003075/0.1415, allocations: 91.38 kB / 474.3 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001559/0.1417, allocations: 67.41 kB / 474.4 MB, free: 9.965 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005093/0.1422, allocations: 203.1 kB / 474.6 MB, free: 9.766 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001866/0.1424, allocations: 151 kB / 474.7 MB, free: 9.617 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.69e-05/0.1425, allocations: 16.3 kB / 474.7 MB, free: 9.598 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000119/0.1426, allocations: 59.66 kB / 474.8 MB, free: 9.539 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.482e-05/0.1427, allocations: 63.53 kB / 474.8 MB, free: 9.477 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.1427, allocations: 4 kB / 474.8 MB, free: 9.473 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000569/0.1433, allocations: 431.4 kB / 475.3 MB, free: 9.051 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.744e-05/0.1434, allocations: 23.8 kB / 475.3 MB, free: 9.027 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.948e-05/0.1435, allocations: 75.48 kB / 475.4 MB, free: 8.953 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005254/0.144, allocations: 434.4 kB / 475.8 MB, free: 8.527 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.144, allocations: 0 / 475.8 MB, free: 8.527 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.144, allocations: 0 / 475.8 MB, free: 8.527 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.144, allocations: 0 / 475.8 MB, free: 8.527 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0006266/0.1447, allocations: 0.4986 MB / 476.3 MB, free: 7.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.1447, allocations: 12.03 kB / 476.3 MB, free: 7.969 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.016e-05/0.1448, allocations: 20.75 kB / 476.3 MB, free: 7.949 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000187/0.145, allocations: 208 kB / 476.5 MB, free: 7.707 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/0.145, allocations: 12.38 kB / 476.5 MB, free: 7.695 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.441e-05/0.145, allocations: 24.12 kB / 476.6 MB, free: 7.672 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003519/0.1454, allocations: 198.5 kB / 476.8 MB, free: 7.469 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.1454, allocations: 3.938 kB / 476.8 MB, free: 7.465 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/0.1454, allocations: 8 kB / 476.8 MB, free: 7.457 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.657e-06/0.1454, allocations: 7.938 kB / 476.8 MB, free: 7.449 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002761/0.1457, allocations: 152.3 kB / 476.9 MB, free: 7.301 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000789/0.1465, allocations: 0.5752 MB / 477.5 MB, free: 6.676 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001819/0.1467, allocations: 58.55 kB / 477.6 MB, free: 6.609 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.1468, allocations: 28.95 kB / 477.6 MB, free: 6.578 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.251e-05/0.1469, allocations: 11.94 kB / 477.6 MB, free: 6.566 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.1469, allocations: 34.56 kB / 477.6 MB, free: 6.523 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.683e-06/0.1469, allocations: 3.938 kB / 477.6 MB, free: 6.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004178/0.1473, allocations: 129.3 kB / 477.8 MB, free: 6.387 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.599e-05/0.1474, allocations: 55.41 kB / 477.8 MB, free: 6.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002386/0.1476, allocations: 258.6 kB / 478.1 MB, free: 6.062 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.1476, allocations: 29.7 kB / 478.1 MB, free: 6.027 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.1477, allocations: 163.6 kB / 478.3 MB, free: 5.863 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.019e-05/0.1478, allocations: 19.75 kB / 478.3 MB, free: 5.844 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.906e-05/0.1478, allocations: 41.61 kB / 478.3 MB, free: 5.797 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.148, allocations: 338.8 kB / 478.6 MB, free: 5.457 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001171/0.1481, allocations: 31.97 kB / 478.7 MB, free: 5.426 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002067/0.1483, allocations: 132.8 kB / 478.8 MB, free: 5.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003102/0.1486, allocations: 188.6 kB / 479 MB, free: 5.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1486, allocations: 0 / 479 MB, free: 5.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003937/0.149, allocations: 197.1 kB / 479.2 MB, free: 4.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.1491, allocations: 4 kB / 479.2 MB, free: 4.816 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.741e-05/0.1491, allocations: 12 kB / 479.2 MB, free: 4.805 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.1491, allocations: 4.438 kB / 479.2 MB, free: 4.801 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.1493, allocations: 43.91 kB / 479.2 MB, free: 4.758 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.1493, allocations: 4 kB / 479.2 MB, free: 4.754 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001266/0.1494, allocations: 31.78 kB / 479.3 MB, free: 4.723 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.011e-05/0.1494, allocations: 12 kB / 479.3 MB, free: 4.711 MB / 350.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 0.0001193/0.1496, allocations: 137.7 kB / 479.4 MB, free: 4.566 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.901e-05/0.1496, allocations: 15.81 kB / 479.4 MB, free: 4.551 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003896/0.15, allocations: 142.7 kB / 479.6 MB, free: 4.406 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.15, allocations: 0 / 479.6 MB, free: 4.406 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.15, allocations: 0 / 479.6 MB, free: 4.406 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.1501, allocations: 4 kB / 479.6 MB, free: 4.402 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002629/0.1503, allocations: 225.5 kB / 479.8 MB, free: 4.133 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.83e-05/0.1504, allocations: 12 kB / 479.8 MB, free: 4.121 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.187e-05/0.1504, allocations: 11.98 kB / 479.8 MB, free: 4.109 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.1504, allocations: 0 / 479.8 MB, free: 4.109 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.1504, allocations: 0 / 479.8 MB, free: 4.109 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1504, allocations: 4 kB / 479.8 MB, free: 4.105 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.1505, allocations: 0 / 479.8 MB, free: 4.105 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000301/0.1508, allocations: 203.2 kB / 480 MB, free: 3.891 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.843e-05/0.1508, allocations: 100.8 kB / 480.1 MB, free: 3.773 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.792e-05/0.1509, allocations: 0 / 480.1 MB, free: 3.773 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.151, allocations: 15.92 kB / 480.1 MB, free: 3.758 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.2e-05/0.151, allocations: 4.188 kB / 480.1 MB, free: 3.754 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.151, allocations: 4 kB / 480.2 MB, free: 3.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001474/0.1512, allocations: 185.9 kB / 480.3 MB, free: 3.566 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1512, allocations: 0 / 480.3 MB, free: 3.566 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004026/0.1516, allocations: 71.94 kB / 480.4 MB, free: 3.496 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.0003633/0.152, allocations: 171.1 kB / 480.6 MB, free: 3.32 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004529/0.1524, allocations: 171.2 kB / 480.7 MB, free: 3.141 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1525, allocations: 0.875 kB / 480.7 MB, free: 3.141 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001829/0.1527, allocations: 99.38 kB / 480.8 MB, free: 3.031 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003538/0.153, allocations: 28.53 kB / 480.9 MB, free: 3.004 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006636/0.1537, allocations: 360.2 kB / 481.2 MB, free: 2.625 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003539/0.1541, allocations: 0.732 MB / 481.9 MB, free: 1.867 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.102e-05/0.1541, allocations: 17.48 kB / 482 MB, free: 1.848 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.474e-05/0.1541, allocations: 15.44 kB / 482 MB, free: 1.836 MB / 350.1 MB Notification: Performance of SimCode: time 1.9e-07/0.1541, allocations: 0 / 482 MB, free: 1.836 MB / 350.1 MB Notification: Performance of Templates: time 0.007682/0.1618, allocations: 4.142 MB / 486.1 MB, free: 13.73 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches