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_roundTube_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_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_3.2.3_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_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 96.14 kB / 15.87 MB, free: 16 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.001353/0.001354, allocations: 204.5 kB / 16.79 MB, free: 6.84 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.551/1.551, allocations: 205.1 MB / 222.6 MB, free: 4.758 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.4269/0.4269, allocations: 43.49 MB / 313.5 MB, free: 8.492 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.001308/0.001308, allocations: 71.89 kB / 382.1 MB, free: 8.719 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1239, allocations: 57.78 MB / 439.8 MB, free: 14.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.004196/0.1281, allocations: 2.72 MB / 442.6 MB, free: 12.1 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00242/0.1306, allocations: 1.567 MB / 444.1 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001453/0.1308, allocations: 0 / 444.1 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004343/0.1312, allocations: 95.41 kB / 444.2 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004042/0.1316, allocations: 123.1 kB / 444.3 MB, free: 10.31 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004734/0.1321, allocations: 203.3 kB / 444.5 MB, free: 10.11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002671/0.1324, allocations: 278.1 kB / 444.8 MB, free: 9.836 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8e-05/0.1325, allocations: 28.72 kB / 444.8 MB, free: 9.809 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001078/0.1326, allocations: 103.3 kB / 444.9 MB, free: 9.707 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001839/0.1328, allocations: 123.2 kB / 445.1 MB, free: 9.586 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.683e-05/0.1328, allocations: 8 kB / 445.1 MB, free: 9.578 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008305/0.1337, allocations: 0.5773 MB / 445.6 MB, free: 9 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.463e-05/0.1338, allocations: 47.62 kB / 445.7 MB, free: 8.953 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002444/0.134, allocations: 135 kB / 445.8 MB, free: 8.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006511/0.1347, allocations: 0.5253 MB / 446.3 MB, free: 8.293 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1347, allocations: 4 kB / 446.3 MB, free: 8.289 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1347, allocations: 0 / 446.3 MB, free: 8.289 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.078e-05/0.1347, allocations: 0 / 446.3 MB, free: 8.289 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0008876/0.1356, allocations: 0.6239 MB / 447 MB, free: 7.613 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.1356, allocations: 8.031 kB / 447 MB, free: 7.605 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.176e-05/0.1357, allocations: 40.47 kB / 447 MB, free: 7.566 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002745/0.136, allocations: 259.3 kB / 447.3 MB, free: 7.273 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/0.136, allocations: 21.38 kB / 447.3 MB, free: 7.254 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.461e-05/0.1361, allocations: 40.12 kB / 447.3 MB, free: 7.215 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007824/0.1369, allocations: 0.5802 MB / 447.9 MB, free: 6.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/0.1369, allocations: 7.938 kB / 447.9 MB, free: 6.492 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.121e-05/0.1369, allocations: 16 kB / 447.9 MB, free: 6.477 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.266e-05/0.137, allocations: 8 kB / 447.9 MB, free: 6.469 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005421/0.1375, allocations: 337 kB / 448.3 MB, free: 6.141 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002785/0.1403, allocations: 4.043 MB / 452.3 MB, free: 1.895 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000278/0.1406, allocations: 86.66 kB / 452.4 MB, free: 1.801 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001375/0.1408, allocations: 40.83 kB / 452.4 MB, free: 1.758 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.978e-05/0.1408, allocations: 3.984 kB / 452.4 MB, free: 1.754 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.1408, allocations: 38.5 kB / 452.5 MB, free: 1.707 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.1408, allocations: 4 kB / 452.5 MB, free: 1.703 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005527/0.1414, allocations: 165.1 kB / 452.6 MB, free: 1.535 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/0.1415, allocations: 51.41 kB / 452.7 MB, free: 1.473 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004154/0.1419, allocations: 413.7 kB / 453.1 MB, free: 1.059 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.1419, allocations: 25.7 kB / 453.1 MB, free: 1.027 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001584/0.1421, allocations: 255 kB / 453.4 MB, free: 0.7734 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.405e-05/0.1421, allocations: 27.66 kB / 453.4 MB, free: 0.7461 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.852e-05/0.1422, allocations: 73.92 kB / 453.5 MB, free: 0.668 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.1424, allocations: 346.7 kB / 453.8 MB, free: 328 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001619/0.1425, allocations: 68.55 kB / 453.9 MB, free: 260 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3122/0.4548, allocations: 265 kB / 454.1 MB, free: 49.09 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007639/0.4556, allocations: 349.6 kB / 454.5 MB, free: 48.84 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.668e-06/0.4556, allocations: 2.875 kB / 454.5 MB, free: 48.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007703/0.4564, allocations: 355.6 kB / 454.8 MB, free: 48.8 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.621e-05/0.4564, allocations: 8.031 kB / 454.8 MB, free: 48.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/0.4565, allocations: 5.5 kB / 454.8 MB, free: 48.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.509e-05/0.4565, allocations: 11.72 kB / 454.9 MB, free: 48.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005197/0.457, allocations: 107 kB / 455 MB, free: 48.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006036/0.4576, allocations: 1.221 MB / 456.2 MB, free: 47.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003118/0.458, allocations: 61.64 kB / 456.2 MB, free: 47.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.639e-05/0.458, allocations: 20.53 kB / 456.3 MB, free: 47.64 MB / 382.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.0001847/0.4582, allocations: 154.6 kB / 456.4 MB, free: 47.53 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.95e-05/0.4583, allocations: 38.41 kB / 456.4 MB, free: 47.53 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004605/0.4587, allocations: 170.8 kB / 456.6 MB, free: 47.49 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.4587, allocations: 5.75 kB / 456.6 MB, free: 47.49 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.4587, allocations: 0 / 456.6 MB, free: 47.49 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.4588, allocations: 6.125 kB / 456.6 MB, free: 47.49 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002656/0.459, allocations: 273.7 kB / 456.9 MB, free: 47.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.459, allocations: 2.75 kB / 456.9 MB, free: 47.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002702/0.4593, allocations: 52.22 kB / 456.9 MB, free: 47.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.4593, allocations: 1.219 kB / 456.9 MB, free: 47.3 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.561e-05/0.4593, allocations: 5.859 kB / 457 MB, free: 47.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004217/0.4598, allocations: 1.205 MB / 458.2 MB, free: 46.12 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.4598, allocations: 7 kB / 458.2 MB, free: 46.12 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000314/0.4601, allocations: 233 kB / 458.4 MB, free: 45.97 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.959e-05/0.4602, allocations: 118.2 kB / 458.5 MB, free: 45.86 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.542e-05/0.4602, allocations: 1.031 kB / 458.5 MB, free: 45.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001599/0.4604, allocations: 8.047 kB / 458.5 MB, free: 45.86 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.069e-05/0.4605, allocations: 12.78 kB / 458.5 MB, free: 45.85 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.826e-06/0.4605, allocations: 2.938 kB / 458.5 MB, free: 45.85 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000235/0.4607, allocations: 276.5 kB / 458.8 MB, free: 45.77 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4607, allocations: 0 / 458.8 MB, free: 45.77 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005187/0.4613, allocations: 103.1 kB / 458.9 MB, free: 45.77 MB / 382.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.0003882/0.4617, allocations: 183.1 kB / 459.1 MB, free: 45.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005471/0.4622, allocations: 204.7 kB / 459.3 MB, free: 45.67 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.4622, allocations: 0 / 459.3 MB, free: 45.67 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002636/0.4625, allocations: 83.48 kB / 459.4 MB, free: 45.67 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004914/0.463, allocations: 36.69 kB / 459.4 MB, free: 45.67 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008109/0.4638, allocations: 0.5952 MB / 460 MB, free: 45.32 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002231/0.464, allocations: 0.7728 MB / 460.8 MB, free: 44.62 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001247/0.4642, allocations: 46.27 kB / 460.8 MB, free: 44.61 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.183e-05/0.4642, allocations: 24.47 kB / 460.8 MB, free: 44.61 MB / 382.1 MB Notification: Performance of SimCode: time 3.6e-07/0.4642, allocations: 0 / 460.8 MB, free: 44.61 MB / 382.1 MB Notification: Performance of Templates: time 0.01049/0.4747, allocations: 5.938 MB / 466.8 MB, free: 44.36 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_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_roundTube_KC/kc_roundTube_KC.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches