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.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.0007836/0.0007836, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.00361/0.00361, allocations: 159 kB / 24.7 MB, free: 9.41 MB / 18.57 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 0.8949/0.8949, allocations: 177.1 MB / 205 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.2718/0.2718, allocations: 32.79 MB / 294.2 MB, free: 1.199 MB / 266.7 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_flatTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,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=5003,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 440.9 MB, free: 3.723 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.447e-05/2.634e-05, allocations: 16.27 kB / 440.9 MB, free: 3.707 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.003312/0.003338, allocations: 2.048 MB / 442.9 MB, free: 1.637 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001949/0.005287, allocations: 1.261 MB / 444.2 MB, free: 380 kB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.242e-05/0.005379, allocations: 0 / 444.2 MB, free: 380 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002573/0.005637, allocations: 79.42 kB / 444.3 MB, free: 300 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001237/0.00576, allocations: 75.36 kB / 444.3 MB, free: 224 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000391/0.006151, allocations: 219.8 kB / 444.6 MB, free: 4 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.175/0.1812, allocations: 154 kB / 444.7 MB, free: 43.96 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.644e-05/0.1812, allocations: 10.03 kB / 444.7 MB, free: 43.96 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001828/0.1814, allocations: 85.88 kB / 444.8 MB, free: 43.95 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.576e-05/0.1815, allocations: 47.75 kB / 444.9 MB, free: 43.94 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.066e-05/0.1815, allocations: 2.625 kB / 444.9 MB, free: 43.94 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003543/0.1818, allocations: 206.9 kB / 445.1 MB, free: 43.93 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.942e-05/0.1819, allocations: 23.19 kB / 445.1 MB, free: 43.93 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.521e-05/0.1819, allocations: 42.67 kB / 445.1 MB, free: 43.91 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003285/0.1822, allocations: 398.3 kB / 445.5 MB, free: 43.87 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.1822, allocations: 3.938 kB / 445.5 MB, free: 43.86 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1822, allocations: 1.625 kB / 445.5 MB, free: 43.86 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.1822, allocations: 2.625 kB / 445.5 MB, free: 43.86 MB / 410.7 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.0003166/0.1826, allocations: 423.1 kB / 445.9 MB, free: 43.53 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.709e-05/0.1826, allocations: 16.42 kB / 445.9 MB, free: 43.53 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.075e-05/0.1826, allocations: 21.52 kB / 446 MB, free: 43.52 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.407e-05/0.1827, allocations: 156 kB / 446.1 MB, free: 43.37 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.067e-06/0.1827, allocations: 14.97 kB / 446.1 MB, free: 43.37 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/0.1827, allocations: 16.22 kB / 446.2 MB, free: 43.37 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001971/0.1829, allocations: 210.7 kB / 446.4 MB, free: 43.34 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.1829, allocations: 0 / 446.4 MB, free: 43.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.1829, allocations: 14.62 kB / 446.4 MB, free: 43.33 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.183, allocations: 2.781 kB / 446.4 MB, free: 43.33 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001338/0.1831, allocations: 154.9 kB / 446.5 MB, free: 43.33 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003925/0.1835, allocations: 480 kB / 447 MB, free: 43.1 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.719e-05/0.1836, allocations: 58.2 kB / 447.1 MB, free: 43.08 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.806e-05/0.1836, allocations: 31.36 kB / 447.1 MB, free: 43.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.1836, allocations: 0 / 447.1 MB, free: 43.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.121e-05/0.1837, allocations: 37.53 kB / 447.1 MB, free: 43.03 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 5.61e-07/0.1837, allocations: 0 / 447.1 MB, free: 43.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002278/0.1839, allocations: 130.8 kB / 447.2 MB, free: 42.99 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.626e-05/0.1839, allocations: 57.62 kB / 447.3 MB, free: 42.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.804e-05/0.184, allocations: 193.5 kB / 447.5 MB, free: 42.82 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.072e-06/0.184, allocations: 25.7 kB / 447.5 MB, free: 42.79 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.382e-05/0.184, allocations: 184.2 kB / 447.7 MB, free: 42.65 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.116e-06/0.184, allocations: 10.84 kB / 447.7 MB, free: 42.64 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.535e-05/0.1841, allocations: 45.64 kB / 447.8 MB, free: 42.62 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.536e-05/0.1841, allocations: 323.3 kB / 448.1 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.784e-05/0.1842, allocations: 35.09 kB / 448.1 MB, free: 42.31 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.51e-05/0.1842, allocations: 131.7 kB / 448.2 MB, free: 42.19 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/0.1844, allocations: 188.6 kB / 448.4 MB, free: 42.07 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1844, allocations: 0.7188 kB / 448.4 MB, free: 42.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001875/0.1846, allocations: 202.3 kB / 448.6 MB, free: 42.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/0.1846, allocations: 5.75 kB / 448.6 MB, free: 42.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.534e-05/0.1846, allocations: 12.25 kB / 448.6 MB, free: 42.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.1846, allocations: 8.328 kB / 448.6 MB, free: 42.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.466e-05/0.1847, allocations: 39.33 kB / 448.7 MB, free: 42.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.1847, allocations: 8.906 kB / 448.7 MB, free: 42.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.829e-05/0.1847, allocations: 23.48 kB / 448.7 MB, free: 42.01 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.1847, allocations: 12.44 kB / 448.7 MB, free: 42.01 MB / 410.7 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 5.248e-05/0.1848, allocations: 128.7 kB / 448.8 MB, free: 41.89 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.543e-05/0.1848, allocations: 17.66 kB / 448.9 MB, free: 41.88 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001784/0.185, allocations: 129.5 kB / 449 MB, free: 41.84 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.185, allocations: 0 / 449 MB, free: 41.84 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.614e-06/0.185, allocations: 0 / 449 MB, free: 41.84 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.185, allocations: 7.125 kB / 449 MB, free: 41.84 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.599e-05/0.1851, allocations: 162.8 kB / 449.2 MB, free: 41.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/0.1851, allocations: 8.812 kB / 449.2 MB, free: 41.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.999e-05/0.1851, allocations: 11.94 kB / 449.2 MB, free: 41.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1851, allocations: 2.906 kB / 449.2 MB, free: 41.71 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.1851, allocations: 6.625 kB / 449.2 MB, free: 41.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.1851, allocations: 3.094 kB / 449.2 MB, free: 41.71 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.1851, allocations: 2.969 kB / 449.2 MB, free: 41.71 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001203/0.1852, allocations: 191.5 kB / 449.4 MB, free: 41.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.789e-06/0.1852, allocations: 14.38 kB / 449.4 MB, free: 41.56 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.195e-05/0.1853, allocations: 6.719 kB / 449.4 MB, free: 41.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.14e-05/0.1853, allocations: 6.219 kB / 449.4 MB, free: 41.56 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.718e-05/0.1853, allocations: 10.72 kB / 449.4 MB, free: 41.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.1853, allocations: 6 kB / 449.4 MB, free: 41.55 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.127e-05/0.1854, allocations: 136 kB / 449.6 MB, free: 41.48 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1854, allocations: 0 / 449.6 MB, free: 41.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002061/0.1856, allocations: 84.78 kB / 449.6 MB, free: 41.45 MB / 410.7 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.0001904/0.1858, allocations: 169.5 kB / 449.8 MB, free: 41.36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000221/0.186, allocations: 174.6 kB / 450 MB, free: 41.29 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.186, allocations: 2.734 kB / 450 MB, free: 41.29 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.521e-05/0.1861, allocations: 98.72 kB / 450.1 MB, free: 41.22 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002122/0.1863, allocations: 8.219 kB / 450.1 MB, free: 41.22 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003618/0.1866, allocations: 376.8 kB / 450.4 MB, free: 40.98 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.277e-05/0.1867, allocations: 123.8 kB / 450.6 MB, free: 40.9 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.733e-05/0.1867, allocations: 14.28 kB / 450.6 MB, free: 40.9 MB / 410.7 MB Notification: Performance of SimCode: time 4.61e-07/0.1867, allocations: 0 / 450.6 MB, free: 40.9 MB / 410.7 MB Notification: Performance of Templates: time 0.003144/0.1899, allocations: 4.241 MB / 454.8 MB, free: 40.61 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.makefile [Timeout 660] (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 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat","/var/lib/jenkins/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/jenkins/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.933008805848658]