Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.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.0008492/0.0008492, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.0008896/0.0008896, allocations: 163.4 kB / 24.91 MB, free: 8.715 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.9208/0.9208, allocations: 177 MB / 205.2 MB, free: 5.012 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.2724/0.2724, allocations: 34.86 MB / 296.6 MB, free: 456 kB / 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_roundTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|Nu|m_flow.[0-9,]+.|kc_1|kc_4|Re_1|Re_4|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_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.[0-9,]+.|kc_1|kc_4|Re_1|Re_4|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.32e-07/9.32e-07, allocations: 0 / 326 MB, free: 7.125 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.087e-05/1.18e-05, allocations: 2.312 kB / 326 MB, free: 7.121 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.002641/0.002653, allocations: 2.684 MB / 328.7 MB, free: 4.426 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001805/0.004458, allocations: 1.449 MB / 330.1 MB, free: 2.969 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001139/0.004572, allocations: 0 / 330.1 MB, free: 2.969 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002692/0.004841, allocations: 119.1 kB / 330.2 MB, free: 2.852 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002712/0.005112, allocations: 146.7 kB / 330.4 MB, free: 2.707 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005236/0.005636, allocations: 274.9 kB / 330.6 MB, free: 2.438 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00021/0.005846, allocations: 297.8 kB / 330.9 MB, free: 2.145 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.44e-05/0.00589, allocations: 18.89 kB / 330.9 MB, free: 2.129 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001122/0.006003, allocations: 135.4 kB / 331.1 MB, free: 1.996 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/0.006114, allocations: 95.59 kB / 331.2 MB, free: 1.902 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.00613, allocations: 8 kB / 331.2 MB, free: 1.895 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005479/0.006678, allocations: 447.3 kB / 331.6 MB, free: 1.457 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.771e-05/0.006736, allocations: 47.64 kB / 331.7 MB, free: 1.41 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.21e-05/0.006808, allocations: 80.41 kB / 331.7 MB, free: 1.332 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004749/0.007283, allocations: 0.5292 MB / 332.3 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.007285, allocations: 3.984 kB / 332.3 MB, free: 0.793 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.007286, allocations: 0 / 332.3 MB, free: 0.793 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.836e-06/0.007289, allocations: 0 / 332.3 MB, free: 0.793 MB / 298.7 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.0004188/0.007708, allocations: 0.5323 MB / 332.8 MB, free: 244 kB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.493e-05/0.007732, allocations: 8.031 kB / 332.8 MB, free: 236 kB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.901e-05/0.007781, allocations: 48.91 kB / 332.9 MB, free: 188 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.007928, allocations: 189.2 kB / 333 MB, free: 15.97 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.007942, allocations: 25.38 kB / 333.1 MB, free: 15.95 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.682e-05/0.007968, allocations: 36.38 kB / 333.1 MB, free: 15.91 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000321/0.008289, allocations: 0.5063 MB / 333.6 MB, free: 15.27 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.008302, allocations: 11.88 kB / 333.6 MB, free: 15.26 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.809e-05/0.00832, allocations: 20 kB / 333.6 MB, free: 15.24 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.008329, allocations: 8 kB / 333.6 MB, free: 15.23 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001413/0.00847, allocations: 193.7 kB / 333.8 MB, free: 15.04 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001666/0.01014, allocations: 3.765 MB / 337.6 MB, free: 11.11 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.386e-05/0.01022, allocations: 42.5 kB / 337.6 MB, free: 11.05 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.594e-05/0.01025, allocations: 24.83 kB / 337.7 MB, free: 11.03 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.428e-05/0.01026, allocations: 0 / 337.7 MB, free: 11.03 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.621e-05/0.01028, allocations: 30.56 kB / 337.7 MB, free: 10.99 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 8.01e-07/0.01028, allocations: 4 kB / 337.7 MB, free: 10.98 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001265/0.0104, allocations: 65.61 kB / 337.8 MB, free: 10.91 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.662e-05/0.01043, allocations: 55.41 kB / 337.8 MB, free: 10.85 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000146/0.01058, allocations: 286.6 kB / 338.1 MB, free: 10.56 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.01059, allocations: 25.7 kB / 338.1 MB, free: 10.53 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.509e-05/0.01069, allocations: 275.2 kB / 338.4 MB, free: 10.26 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.609e-05/0.0107, allocations: 27.8 kB / 338.4 MB, free: 10.23 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.924e-05/0.01076, allocations: 73.89 kB / 338.5 MB, free: 10.15 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.391e-05/0.01084, allocations: 334.8 kB / 338.8 MB, free: 9.812 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.001e-05/0.01087, allocations: 24.64 kB / 338.8 MB, free: 9.789 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/0.01098, allocations: 234.4 kB / 339.1 MB, free: 9.457 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001825/0.01116, allocations: 302.7 kB / 339.4 MB, free: 9.059 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.01117, allocations: 4 kB / 339.4 MB, free: 9.055 MB / 314.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0002015/0.01137, allocations: 233.1 kB / 339.6 MB, free: 8.82 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.01138, allocations: 8 kB / 339.6 MB, free: 8.812 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.01139, allocations: 11.94 kB / 339.6 MB, free: 8.801 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.0114, allocations: 12.75 kB / 339.6 MB, free: 8.789 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002327/0.01163, allocations: 83.89 kB / 339.7 MB, free: 8.707 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004085/0.01204, allocations: 1.202 MB / 340.9 MB, free: 7.453 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001192/0.01216, allocations: 43.72 kB / 341 MB, free: 7.41 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.584e-05/0.01218, allocations: 20 kB / 341 MB, free: 7.391 MB / 314.7 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_2.geometry,m_flow_IN_con_3.geometry,m_flow_IN_con_1.geometry,m_flow_IN_con_4.geometry,m_flow_IN_con_4.N) * 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 8.708e-05/0.01226, allocations: 140.5 kB / 341.1 MB, free: 7.242 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.568e-05/0.01229, allocations: 15.98 kB / 341.1 MB, free: 7.227 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001347/0.01242, allocations: 101.5 kB / 341.2 MB, free: 7.121 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-06/0.01242, allocations: 0 / 341.2 MB, free: 7.121 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.01243, allocations: 3.984 kB / 341.2 MB, free: 7.117 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.01243, allocations: 3.938 kB / 341.2 MB, free: 7.113 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001528/0.01258, allocations: 137.7 kB / 341.4 MB, free: 6.961 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.01259, allocations: 0 / 341.4 MB, free: 6.961 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001216/0.01271, allocations: 39.91 kB / 341.4 MB, free: 6.922 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.01271, allocations: 0 / 341.4 MB, free: 6.922 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.181e-06/0.01271, allocations: 0 / 341.4 MB, free: 6.922 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003628/0.01308, allocations: 1.197 MB / 342.6 MB, free: 5.672 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.01308, allocations: 0 / 342.6 MB, free: 5.672 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002475/0.01333, allocations: 170.7 kB / 342.8 MB, free: 5.488 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.969e-05/0.01335, allocations: 23.8 kB / 342.8 MB, free: 5.465 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.01336, allocations: 0 / 342.8 MB, free: 5.465 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.382e-05/0.01342, allocations: 12.12 kB / 342.8 MB, free: 5.453 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.041e-05/0.01345, allocations: 7.984 kB / 342.8 MB, free: 5.445 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.01345, allocations: 0 / 342.8 MB, free: 5.445 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.342e-05/0.0135, allocations: 92.62 kB / 342.9 MB, free: 5.352 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0135, allocations: 0 / 342.9 MB, free: 5.352 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002817/0.01379, allocations: 135.6 kB / 343 MB, free: 5.219 MB / 314.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 (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.0002269/0.01401, allocations: 172.2 kB / 343.2 MB, free: 5.043 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002108/0.01422, allocations: 137.4 kB / 343.3 MB, free: 4.906 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.328e-06/0.01423, allocations: 8.438 kB / 343.3 MB, free: 4.898 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.376e-05/0.01432, allocations: 40.83 kB / 343.4 MB, free: 4.855 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001494/0.01447, allocations: 23.22 kB / 343.4 MB, free: 4.836 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000625/0.01509, allocations: 0.4985 MB / 343.9 MB, free: 4.305 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.609e-05/0.01514, allocations: 92.25 kB / 344 MB, free: 4.195 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.001e-05/0.01519, allocations: 23.34 kB / 344 MB, free: 4.176 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.09e-05/0.01525, allocations: 67.38 kB / 344.1 MB, free: 4.109 MB / 314.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01525, allocations: 3.938 kB / 344.1 MB, free: 4.105 MB / 314.7 MB Notification: Performance of Templates: time 0.008179/0.02343, allocations: 6.263 MB / 350.4 MB, free: 13.9 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_roundTube_KC/kc_roundTube_KC.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9196675028651953]