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_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 82.27 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 163.8 kB / 23.96 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.423/1.423, allocations: 177.2 MB / 204.3 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1983/0.1983, allocations: 32.81 MB / 293.5 MB, free: 36 kB / 270.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,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_4.0.0_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=5003,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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.458e-06/4.458e-06, allocations: 4 kB / 440.1 MB, free: 8.113 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.842e-05/3.288e-05, allocations: 9.172 kB / 440.1 MB, free: 8.105 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.004018/0.004051, allocations: 2.516 MB / 442.7 MB, free: 5.57 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002579/0.00663, allocations: 1.343 MB / 444 MB, free: 4.223 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002395/0.006869, allocations: 7.938 kB / 444 MB, free: 4.215 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003687/0.007238, allocations: 107.2 kB / 444.1 MB, free: 4.109 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004678/0.007706, allocations: 142.8 kB / 444.3 MB, free: 3.969 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007371/0.008443, allocations: 270.9 kB / 444.5 MB, free: 3.703 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004306/0.008873, allocations: 293.8 kB / 444.8 MB, free: 3.414 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.657e-05/0.00895, allocations: 12.94 kB / 444.8 MB, free: 3.398 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002/0.00915, allocations: 139.4 kB / 445 MB, free: 3.262 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001706/0.00932, allocations: 83.62 kB / 445 MB, free: 3.18 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.046e-05/0.009351, allocations: 8 kB / 445 MB, free: 3.172 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000889/0.01024, allocations: 463.2 kB / 445.5 MB, free: 2.719 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.801e-05/0.01032, allocations: 39.66 kB / 445.5 MB, free: 2.68 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000117/0.01043, allocations: 83.64 kB / 445.6 MB, free: 2.598 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008063/0.01124, allocations: 0.5604 MB / 446.2 MB, free: 2.035 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.01124, allocations: 0 / 446.2 MB, free: 2.035 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.01125, allocations: 0 / 446.2 MB, free: 2.035 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.203e-05/0.01126, allocations: 0 / 446.2 MB, free: 2.035 MB / 366.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.0008808/0.01214, allocations: 0.5635 MB / 446.7 MB, free: 1.441 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.01217, allocations: 8.031 kB / 446.8 MB, free: 1.434 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.749e-05/0.01226, allocations: 40.7 kB / 446.8 MB, free: 1.395 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002872/0.01255, allocations: 192.9 kB / 447 MB, free: 1.18 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.995e-05/0.01258, allocations: 29.38 kB / 447 MB, free: 1.152 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.935e-05/0.01263, allocations: 36.38 kB / 447 MB, free: 1.117 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008168/0.01345, allocations: 0.5809 MB / 447.6 MB, free: 412 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/0.01346, allocations: 11.88 kB / 447.6 MB, free: 400 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.377e-05/0.0135, allocations: 16 kB / 447.7 MB, free: 384 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.608e-05/0.01351, allocations: 12 kB / 447.7 MB, free: 372 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005686/0.01408, allocations: 345.3 kB / 448 MB, free: 28 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1676/0.1816, allocations: 3.873 MB / 451.9 MB, free: 18.09 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000258/0.1819, allocations: 86 kB / 452 MB, free: 18.06 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001243/0.182, allocations: 42.19 kB / 452 MB, free: 18.05 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.182, allocations: 1.062 kB / 452 MB, free: 18.05 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.293e-05/0.1821, allocations: 36.12 kB / 452 MB, free: 18.02 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.753e-06/0.1821, allocations: 0 / 452 MB, free: 18.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.000513/0.1826, allocations: 163.2 kB / 452.2 MB, free: 17.97 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.845e-05/0.1826, allocations: 52.98 kB / 452.2 MB, free: 17.91 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002231/0.1828, allocations: 290.6 kB / 452.5 MB, free: 17.76 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.1828, allocations: 25.7 kB / 452.6 MB, free: 17.73 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.1829, allocations: 276.5 kB / 452.8 MB, free: 17.52 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.271e-05/0.183, allocations: 31.53 kB / 452.9 MB, free: 17.5 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.719e-05/0.183, allocations: 72.67 kB / 452.9 MB, free: 17.45 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.164e-05/0.1831, allocations: 334.9 kB / 453.3 MB, free: 17.13 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001608/0.1833, allocations: 59.45 kB / 453.3 MB, free: 17.12 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000221/0.1835, allocations: 268.3 kB / 453.6 MB, free: 16.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004042/0.1839, allocations: 352.9 kB / 453.9 MB, free: 16.52 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.1839, allocations: 2.094 kB / 453.9 MB, free: 16.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005672/0.1845, allocations: 334.4 kB / 454.2 MB, free: 16.39 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.1845, allocations: 8.688 kB / 454.3 MB, free: 16.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.1845, allocations: 11.88 kB / 454.3 MB, free: 16.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/0.1845, allocations: 12.97 kB / 454.3 MB, free: 16.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004502/0.185, allocations: 114.7 kB / 454.4 MB, free: 16.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004042/0.1854, allocations: 1.211 MB / 455.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002432/0.1856, allocations: 60.55 kB / 455.7 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.786e-05/0.1856, allocations: 21.91 kB / 455.7 MB, free: 15.13 MB / 366.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.0001083/0.1857, allocations: 147.4 kB / 455.8 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.167e-05/0.1858, allocations: 21.64 kB / 455.8 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004103/0.1862, allocations: 169.1 kB / 456 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.1862, allocations: 1.984 kB / 456 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.1862, allocations: 5.312 kB / 456 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1862, allocations: 0.7031 kB / 456 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000212/0.1864, allocations: 206 kB / 456.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1864, allocations: 3.938 kB / 456.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002786/0.1867, allocations: 59.59 kB / 456.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.1867, allocations: 2.297 kB / 456.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.1867, allocations: 1.984 kB / 456.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003525/0.1871, allocations: 1.206 MB / 457.5 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.1871, allocations: 6.266 kB / 457.5 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002975/0.1874, allocations: 224.5 kB / 457.7 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.798e-05/0.1874, allocations: 19.25 kB / 457.7 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.311e-05/0.1874, allocations: 2.031 kB / 457.7 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001487/0.1876, allocations: 10.45 kB / 457.8 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.634e-05/0.1876, allocations: 9.938 kB / 457.8 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.1876, allocations: 3.641 kB / 457.8 MB, free: 13.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001273/0.1878, allocations: 180 kB / 457.9 MB, free: 13.26 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1878, allocations: 0 / 457.9 MB, free: 13.26 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005254/0.1883, allocations: 137.6 kB / 458.1 MB, free: 13.22 MB / 366.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.0003505/0.1886, allocations: 182.8 kB / 458.3 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005561/0.1892, allocations: 202.8 kB / 458.5 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1892, allocations: 0 / 458.5 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002773/0.1895, allocations: 79.42 kB / 458.5 MB, free: 13.06 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002947/0.1898, allocations: 30.53 kB / 458.6 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007454/0.1905, allocations: 483.3 kB / 459 MB, free: 12.75 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001459/0.1906, allocations: 168.8 kB / 459.2 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.047e-05/0.1907, allocations: 27.88 kB / 459.2 MB, free: 12.65 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.392e-05/0.1908, allocations: 18.27 kB / 459.2 MB, free: 12.64 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1908, allocations: 0 / 459.2 MB, free: 12.64 MB / 366.1 MB Notification: Performance of Templates: time 0.01162/0.2024, allocations: 5.453 MB / 464.7 MB, free: 12.33 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_roundTube_KC/kc_roundTube_KC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.91752964258194]