Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007864/0.0007864, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003217/0.003217, allocations: 158.7 kB / 24.7 MB, free: 9.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8614/0.8614, allocations: 177 MB / 204.9 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2348/0.2348, allocations: 34.24 MB / 295.6 MB, free: 0.6836 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 443.5 MB, free: 1.031 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.988e-05/3.186e-05, allocations: 6.219 kB / 443.5 MB, free: 1.023 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.1799/0.1799, allocations: 2.049 MB / 445.5 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001095/0.181, allocations: 1.255 MB / 446.8 MB, free: 42.85 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.108e-05/0.1811, allocations: 3.938 kB / 446.8 MB, free: 42.85 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002292/0.1813, allocations: 84.16 kB / 446.9 MB, free: 42.81 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001129/0.1814, allocations: 69.75 kB / 446.9 MB, free: 42.77 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000384/0.1818, allocations: 220.4 kB / 447.1 MB, free: 42.7 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001177/0.1819, allocations: 156.6 kB / 447.3 MB, free: 42.63 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.018e-05/0.182, allocations: 14.42 kB / 447.3 MB, free: 42.63 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001666/0.1821, allocations: 79.69 kB / 447.4 MB, free: 42.61 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.179e-05/0.1822, allocations: 44.45 kB / 447.4 MB, free: 42.6 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.1822, allocations: 6.375 kB / 447.4 MB, free: 42.6 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002203/0.1824, allocations: 209.2 kB / 447.6 MB, free: 42.59 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.739e-05/0.1825, allocations: 28.25 kB / 447.7 MB, free: 42.57 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.864e-05/0.1825, allocations: 43.7 kB / 447.7 MB, free: 42.56 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003042/0.1828, allocations: 389.1 kB / 448.1 MB, free: 42.43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1828, allocations: 0 / 448.1 MB, free: 42.43 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1828, allocations: 0 / 448.1 MB, free: 42.43 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.1828, allocations: 0 / 448.1 MB, free: 42.43 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.0004013/0.1832, allocations: 440.4 kB / 448.5 MB, free: 42.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.1833, allocations: 8.438 kB / 448.5 MB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.111e-05/0.1833, allocations: 23.23 kB / 448.5 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.1834, allocations: 160 kB / 448.7 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.1835, allocations: 12.5 kB / 448.7 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.532e-05/0.1835, allocations: 15.94 kB / 448.7 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000226/0.1837, allocations: 207.5 kB / 448.9 MB, free: 41.79 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.1837, allocations: 3.938 kB / 448.9 MB, free: 41.79 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.1837, allocations: 4 kB / 448.9 MB, free: 41.78 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.1837, allocations: 9.844 kB / 448.9 MB, free: 41.78 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001399/0.1839, allocations: 153.7 kB / 449.1 MB, free: 41.73 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004679/0.1843, allocations: 476.2 kB / 449.6 MB, free: 41.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001188/0.1845, allocations: 62.44 kB / 449.6 MB, free: 41.38 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.141e-05/0.1845, allocations: 30.11 kB / 449.7 MB, free: 41.36 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.409e-05/0.1845, allocations: 3.938 kB / 449.7 MB, free: 41.36 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.387e-05/0.1845, allocations: 37.62 kB / 449.7 MB, free: 41.32 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.1845, allocations: 1.688 kB / 449.7 MB, free: 41.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002494/0.1848, allocations: 134.8 kB / 449.8 MB, free: 41.26 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.948e-05/0.1848, allocations: 51.41 kB / 449.9 MB, free: 41.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.783e-05/0.1849, allocations: 192.5 kB / 450.1 MB, free: 41.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.74e-06/0.1849, allocations: 25.7 kB / 450.1 MB, free: 41.04 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.821e-05/0.185, allocations: 175.8 kB / 450.3 MB, free: 40.88 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.037e-06/0.185, allocations: 18.75 kB / 450.3 MB, free: 40.87 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.595e-05/0.185, allocations: 43.17 kB / 450.3 MB, free: 40.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.719e-05/0.185, allocations: 331 kB / 450.6 MB, free: 40.52 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.266e-05/0.1851, allocations: 33.22 kB / 450.7 MB, free: 40.51 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.444e-05/0.1852, allocations: 126.1 kB / 450.8 MB, free: 40.38 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001397/0.1853, allocations: 186.9 kB / 451 MB, free: 40.22 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.1853, allocations: 0 / 451 MB, free: 40.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001913/0.1855, allocations: 202.5 kB / 451.2 MB, free: 40.13 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.1855, allocations: 8.688 kB / 451.2 MB, free: 40.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.735e-05/0.1855, allocations: 11.41 kB / 451.2 MB, free: 40.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.1855, allocations: 3.219 kB / 451.2 MB, free: 40.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.381e-05/0.1856, allocations: 33.73 kB / 451.2 MB, free: 40.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.1856, allocations: 13.66 kB / 451.3 MB, free: 40.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.53e-05/0.1857, allocations: 23.92 kB / 451.3 MB, free: 40.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.1857, allocations: 11.34 kB / 451.3 MB, free: 40.11 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.344e-05/0.1858, allocations: 129.1 kB / 451.4 MB, free: 39.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.826e-05/0.1858, allocations: 21.16 kB / 451.4 MB, free: 39.96 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001906/0.186, allocations: 137.1 kB / 451.6 MB, free: 39.9 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.186, allocations: 0 / 451.6 MB, free: 39.9 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.186, allocations: 0 / 451.6 MB, free: 39.9 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.866e-06/0.186, allocations: 0 / 451.6 MB, free: 39.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001007/0.1861, allocations: 169.1 kB / 451.7 MB, free: 39.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/0.1861, allocations: 12.72 kB / 451.7 MB, free: 39.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.013e-05/0.1861, allocations: 5.688 kB / 451.7 MB, free: 39.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1861, allocations: 10.78 kB / 451.8 MB, free: 39.74 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.1861, allocations: 0 / 451.8 MB, free: 39.74 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.1861, allocations: 3.219 kB / 451.8 MB, free: 39.74 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1861, allocations: 0 / 451.8 MB, free: 39.74 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001307/0.1862, allocations: 196.3 kB / 452 MB, free: 39.59 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.044e-05/0.1863, allocations: 17.62 kB / 452 MB, free: 39.58 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.25e-05/0.1863, allocations: 0 / 452 MB, free: 39.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.342e-05/0.1863, allocations: 9.297 kB / 452 MB, free: 39.58 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.399e-05/0.1863, allocations: 6.906 kB / 452 MB, free: 39.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.1864, allocations: 6.781 kB / 452 MB, free: 39.57 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.044e-05/0.1864, allocations: 133.2 kB / 452.1 MB, free: 39.48 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1864, allocations: 0 / 452.1 MB, free: 39.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002328/0.1866, allocations: 87.25 kB / 452.2 MB, free: 39.46 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.0002103/0.1868, allocations: 166.9 kB / 452.4 MB, free: 39.35 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002521/0.1871, allocations: 168.7 kB / 452.5 MB, free: 39.25 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.1871, allocations: 0 / 452.5 MB, free: 39.25 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.761e-05/0.1872, allocations: 101.6 kB / 452.6 MB, free: 39.18 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000237/0.1874, allocations: 14.23 kB / 452.7 MB, free: 39.18 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004169/0.1878, allocations: 372.8 kB / 453 MB, free: 38.93 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.791e-05/0.1879, allocations: 117.1 kB / 453.1 MB, free: 38.85 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.436e-05/0.1879, allocations: 19.5 kB / 453.1 MB, free: 38.84 MB / 410.7 MB Notification: Performance of SimCode: time 5.31e-07/0.1879, allocations: 0 / 453.1 MB, free: 38.84 MB / 410.7 MB Notification: Performance of Templates: time 0.00401/0.1919, allocations: 4.249 MB / 457.4 MB, free: 38.52 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube/kc_flatTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.886281942017376]