Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h_2|l_2|s_2|t_2|Nu|m_flow.1.|m_flow.2.|kc_1|kc_2|Re_1|Re_2|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h_2|l_2|s_2|t_2|Nu|m_flow.1.|m_flow.2.|kc_1|kc_2|Re_1|Re_2|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 95.97 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 175.7 kB / 16.56 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.622/1.622, allocations: 205.4 MB / 222.7 MB, free: 5.617 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4062/0.4062, allocations: 43.54 MB / 314.5 MB, free: 8.805 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004913/0.0004915, allocations: 12 kB / 383.9 MB, free: 8.012 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1294, allocations: 58.85 MB / 442.8 MB, free: 13.05 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.002416/0.1319, allocations: 1.763 MB / 444.5 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00156/0.1335, allocations: 0.9913 MB / 445.5 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001657/0.1337, allocations: 0 / 445.5 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002867/0.134, allocations: 79.61 kB / 445.6 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003026/0.1343, allocations: 83.66 kB / 445.7 MB, free: 10.11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002756/0.1346, allocations: 107.7 kB / 445.8 MB, free: 10.01 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002234/0.1348, allocations: 131.7 kB / 445.9 MB, free: 9.879 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.785e-05/0.1349, allocations: 20.38 kB / 445.9 MB, free: 9.859 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001372/0.135, allocations: 59.72 kB / 446 MB, free: 9.801 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001218/0.1352, allocations: 75.61 kB / 446.1 MB, free: 9.727 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.217e-05/0.1352, allocations: 7.938 kB / 446.1 MB, free: 9.719 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004053/0.1356, allocations: 267.7 kB / 446.3 MB, free: 9.457 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.223e-05/0.1357, allocations: 27.83 kB / 446.4 MB, free: 9.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.275e-05/0.1357, allocations: 53.58 kB / 446.4 MB, free: 9.371 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002729/0.136, allocations: 183.5 kB / 446.6 MB, free: 9.191 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.136, allocations: 0 / 446.6 MB, free: 9.191 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.136, allocations: 0 / 446.6 MB, free: 9.191 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.1361, allocations: 0 / 446.6 MB, free: 9.191 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0006564/0.1367, allocations: 482.9 kB / 447.1 MB, free: 8.672 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.1368, allocations: 8.031 kB / 447.1 MB, free: 8.664 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.981e-05/0.1368, allocations: 27.67 kB / 447.1 MB, free: 8.637 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002411/0.1371, allocations: 210.7 kB / 447.3 MB, free: 8.391 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.879e-05/0.1371, allocations: 12.44 kB / 447.3 MB, free: 8.379 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.884e-05/0.1372, allocations: 23.98 kB / 447.3 MB, free: 8.355 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004197/0.1376, allocations: 231.2 kB / 447.6 MB, free: 8.125 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.1376, allocations: 0 / 447.6 MB, free: 8.125 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.144e-05/0.1376, allocations: 8 kB / 447.6 MB, free: 8.117 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.1376, allocations: 7.984 kB / 447.6 MB, free: 8.109 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004395/0.1381, allocations: 265.6 kB / 447.8 MB, free: 7.848 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001064/0.1392, allocations: 0.6196 MB / 448.5 MB, free: 7.176 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003718/0.1396, allocations: 118.6 kB / 448.6 MB, free: 7.051 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.529e-05/0.1396, allocations: 4 kB / 448.6 MB, free: 7.047 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.1396, allocations: 34.55 kB / 448.6 MB, free: 7.004 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.823e-06/0.1396, allocations: 4 kB / 448.6 MB, free: 7 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005403/0.1402, allocations: 181.4 kB / 448.8 MB, free: 6.816 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/0.1402, allocations: 59.41 kB / 448.9 MB, free: 6.746 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002488/0.1405, allocations: 263 kB / 449.1 MB, free: 6.48 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.1405, allocations: 25.7 kB / 449.1 MB, free: 6.449 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.1406, allocations: 167.3 kB / 449.3 MB, free: 6.281 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.914e-05/0.1407, allocations: 39.55 kB / 449.3 MB, free: 6.242 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.897e-06/0.1407, allocations: 0 / 449.3 MB, free: 6.242 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.1408, allocations: 334.8 kB / 449.7 MB, free: 5.906 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/0.141, allocations: 59.95 kB / 449.7 MB, free: 5.848 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001948/0.1412, allocations: 152.7 kB / 449.9 MB, free: 5.652 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001667/0.1413, allocations: 71.91 kB / 449.9 MB, free: 5.582 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.1414, allocations: 4 kB / 450 MB, free: 5.578 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004353/0.1418, allocations: 241 kB / 450.2 MB, free: 5.336 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.1418, allocations: 4 kB / 450.2 MB, free: 5.332 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.1418, allocations: 7.938 kB / 450.2 MB, free: 5.324 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.1419, allocations: 12.44 kB / 450.2 MB, free: 5.312 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003459/0.1422, allocations: 83.89 kB / 450.3 MB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007652/0.143, allocations: 1.219 MB / 451.5 MB, free: 3.965 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001941/0.1432, allocations: 47.8 kB / 451.6 MB, free: 3.918 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.013e-05/0.1432, allocations: 16 kB / 451.6 MB, free: 3.902 MB / 382.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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001249/0.1434, allocations: 133.7 kB / 451.7 MB, free: 3.762 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.076e-05/0.1434, allocations: 19.72 kB / 451.7 MB, free: 3.742 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004933/0.1439, allocations: 183.5 kB / 451.9 MB, free: 3.559 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.1439, allocations: 0 / 451.9 MB, free: 3.559 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.1439, allocations: 8 kB / 451.9 MB, free: 3.551 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.1439, allocations: 0 / 451.9 MB, free: 3.551 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000597/0.1445, allocations: 467.9 kB / 452.4 MB, free: 3.031 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.1446, allocations: 4.062 kB / 452.4 MB, free: 3.027 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002449/0.1448, allocations: 55.95 kB / 452.4 MB, free: 2.973 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.1448, allocations: 4 kB / 452.4 MB, free: 2.969 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/0.1448, allocations: 4 kB / 452.4 MB, free: 2.965 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006629/0.1455, allocations: 1.215 MB / 453.6 MB, free: 1.703 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.1455, allocations: 0 / 453.6 MB, free: 1.703 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004038/0.1459, allocations: 276.4 kB / 453.9 MB, free: 1.398 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.509e-05/0.146, allocations: 100.8 kB / 454 MB, free: 1.281 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.4e-05/0.1461, allocations: 4 kB / 454 MB, free: 1.277 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001501/0.1462, allocations: 11.98 kB / 454 MB, free: 1.266 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.111e-05/0.1463, allocations: 8 kB / 454 MB, free: 1.258 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.389e-05/0.1463, allocations: 11.98 kB / 454.1 MB, free: 1.246 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001686/0.1465, allocations: 182 kB / 454.2 MB, free: 1.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1465, allocations: 3.938 kB / 454.2 MB, free: 1.066 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004345/0.1469, allocations: 67.98 kB / 454.3 MB, free: 1 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000317/0.1472, allocations: 143.1 kB / 454.4 MB, free: 0.8477 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005692/0.1478, allocations: 183.7 kB / 454.6 MB, free: 0.668 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.1478, allocations: 0 / 454.6 MB, free: 0.668 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002976/0.1481, allocations: 84.94 kB / 454.7 MB, free: 0.5859 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003077/0.1485, allocations: 29.02 kB / 454.7 MB, free: 0.5508 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008607/0.1493, allocations: 465 kB / 455.2 MB, free: 68 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1924/0.3417, allocations: 0.7386 MB / 455.9 MB, free: 46.62 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001186/0.3419, allocations: 18.95 kB / 455.9 MB, free: 46.62 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.037e-05/0.342, allocations: 20.42 kB / 456 MB, free: 46.62 MB / 382.1 MB Notification: Performance of SimCode: time 1.253e-06/0.342, allocations: 0.8125 kB / 456 MB, free: 46.62 MB / 382.1 MB Notification: Performance of Templates: time 0.006007/0.348, allocations: 3.147 MB / 459.1 MB, free: 46.54 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube_KC/kc_flatTube_KC.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches