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.001363/0.001363, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.001163/0.001163, allocations: 164.2 kB / 24.91 MB, free: 8.762 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 1.013/1.013, allocations: 177 MB / 205.2 MB, free: 5.043 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.2789/0.2789, allocations: 34.86 MB / 296.6 MB, free: 396 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 1.222e-06/1.222e-06, allocations: 0 / 326 MB, free: 7.039 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.502e-05/1.624e-05, allocations: 6.062 kB / 326 MB, free: 7.035 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.00285/0.002866, allocations: 2.725 MB / 328.7 MB, free: 4.293 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002073/0.004939, allocations: 1.445 MB / 330.2 MB, free: 2.84 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001088/0.005048, allocations: 0 / 330.2 MB, free: 2.84 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003072/0.005355, allocations: 115.2 kB / 330.3 MB, free: 2.727 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003426/0.005698, allocations: 150.6 kB / 330.4 MB, free: 2.578 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004497/0.006148, allocations: 243 kB / 330.7 MB, free: 2.34 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002595/0.006407, allocations: 297.8 kB / 331 MB, free: 2.047 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.714e-05/0.006464, allocations: 18.89 kB / 331 MB, free: 2.031 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001492/0.006613, allocations: 135.4 kB / 331.1 MB, free: 1.898 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001444/0.006758, allocations: 91.61 kB / 331.2 MB, free: 1.809 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.074e-05/0.006779, allocations: 8 kB / 331.2 MB, free: 1.801 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007274/0.007506, allocations: 483.2 kB / 331.7 MB, free: 1.328 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.931e-05/0.007565, allocations: 43.66 kB / 331.7 MB, free: 1.285 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.1e-05/0.007646, allocations: 76.42 kB / 331.8 MB, free: 1.211 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005595/0.008206, allocations: 0.537 MB / 332.3 MB, free: 0.668 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.165e-06/0.008208, allocations: 0 / 332.3 MB, free: 0.668 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.008209, allocations: 0 / 332.3 MB, free: 0.668 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.008213, allocations: 0 / 332.3 MB, free: 0.668 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.0005448/0.008757, allocations: 0.5323 MB / 332.9 MB, free: 116 kB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.081e-05/0.008788, allocations: 8.031 kB / 332.9 MB, free: 108 kB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.054e-05/0.008859, allocations: 56.89 kB / 332.9 MB, free: 52 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001968/0.009056, allocations: 173.2 kB / 333.1 MB, free: 15.86 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.421e-05/0.00908, allocations: 33.38 kB / 333.1 MB, free: 15.82 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.236e-05/0.009112, allocations: 32.38 kB / 333.2 MB, free: 15.79 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004486/0.009561, allocations: 0.518 MB / 333.7 MB, free: 15.14 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.832e-05/0.009579, allocations: 11.88 kB / 333.7 MB, free: 15.13 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.515e-05/0.009604, allocations: 16 kB / 333.7 MB, free: 15.11 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.248e-05/0.009617, allocations: 12 kB / 333.7 MB, free: 15.1 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001913/0.009808, allocations: 185.7 kB / 333.9 MB, free: 14.92 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001765/0.01157, allocations: 3.765 MB / 337.7 MB, free: 10.98 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/0.01167, allocations: 50.48 kB / 337.7 MB, free: 10.93 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.673e-05/0.0117, allocations: 12.86 kB / 337.7 MB, free: 10.91 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/0.01172, allocations: 4 kB / 337.7 MB, free: 10.91 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.107e-05/0.01174, allocations: 34.5 kB / 337.8 MB, free: 10.86 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 2.494e-06/0.01174, allocations: 3.984 kB / 337.8 MB, free: 10.86 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001781/0.01192, allocations: 73.59 kB / 337.9 MB, free: 10.78 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.777e-05/0.01195, allocations: 51.41 kB / 337.9 MB, free: 10.72 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001795/0.01213, allocations: 286.7 kB / 338.2 MB, free: 10.43 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.01214, allocations: 25.7 kB / 338.2 MB, free: 10.4 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/0.01226, allocations: 263.3 kB / 338.5 MB, free: 10.14 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.542e-05/0.01229, allocations: 35.77 kB / 338.5 MB, free: 10.1 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.16e-05/0.01237, allocations: 73.89 kB / 338.6 MB, free: 10.02 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.565e-05/0.01247, allocations: 338.8 kB / 338.9 MB, free: 9.68 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.05e-05/0.01251, allocations: 24.64 kB / 338.9 MB, free: 9.656 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001531/0.01266, allocations: 230.4 kB / 339.2 MB, free: 9.328 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002515/0.01291, allocations: 298.7 kB / 339.4 MB, free: 8.934 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.01292, allocations: 0 / 339.4 MB, free: 8.934 MB / 314.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0002908/0.01321, allocations: 237.4 kB / 339.7 MB, free: 8.695 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.01322, allocations: 11.98 kB / 339.7 MB, free: 8.684 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.01323, allocations: 11.94 kB / 339.7 MB, free: 8.672 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.01325, allocations: 8 kB / 339.7 MB, free: 8.664 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003358/0.01359, allocations: 91.83 kB / 339.8 MB, free: 8.574 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000583/0.01417, allocations: 1.215 MB / 341 MB, free: 7.309 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001689/0.01434, allocations: 39.73 kB / 341.1 MB, free: 7.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.312e-05/0.01436, allocations: 12 kB / 341.1 MB, free: 7.258 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 0.0001061/0.01447, allocations: 140.5 kB / 341.2 MB, free: 7.109 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.36e-05/0.0145, allocations: 15.98 kB / 341.2 MB, free: 7.094 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001727/0.01468, allocations: 102.9 kB / 341.3 MB, free: 6.988 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.01468, allocations: 0 / 341.3 MB, free: 6.988 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.01468, allocations: 0 / 341.3 MB, free: 6.988 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.01469, allocations: 7.875 kB / 341.3 MB, free: 6.98 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001799/0.01487, allocations: 137.7 kB / 341.5 MB, free: 6.828 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.01487, allocations: 0 / 341.5 MB, free: 6.828 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001684/0.01504, allocations: 35.97 kB / 341.5 MB, free: 6.793 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.103e-06/0.01504, allocations: 0 / 341.5 MB, free: 6.793 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.505e-06/0.01505, allocations: 0 / 341.5 MB, free: 6.793 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004458/0.01549, allocations: 1.213 MB / 342.7 MB, free: 5.527 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01549, allocations: 0 / 342.7 MB, free: 5.527 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000123/0.01562, allocations: 166.2 kB / 342.9 MB, free: 5.348 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.237e-05/0.01564, allocations: 19.86 kB / 342.9 MB, free: 5.328 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.297e-05/0.01566, allocations: 4 kB / 342.9 MB, free: 5.324 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.429e-05/0.01574, allocations: 3.984 kB / 342.9 MB, free: 5.32 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.435e-05/0.01578, allocations: 7.984 kB / 342.9 MB, free: 5.312 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.722e-06/0.01579, allocations: 128 / 342.9 MB, free: 5.312 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.528e-05/0.01586, allocations: 96.64 kB / 343 MB, free: 5.215 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01586, allocations: 0 / 343 MB, free: 5.215 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000403/0.01626, allocations: 127.7 kB / 343.1 MB, free: 5.09 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.000289/0.01655, allocations: 171 kB / 343.3 MB, free: 4.918 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002774/0.01683, allocations: 146.3 kB / 343.4 MB, free: 4.773 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.256e-05/0.01684, allocations: 8.5 kB / 343.4 MB, free: 4.766 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001184/0.01696, allocations: 40.78 kB / 343.5 MB, free: 4.723 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002036/0.01717, allocations: 24.58 kB / 343.5 MB, free: 4.699 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007971/0.01796, allocations: 0.491 MB / 344 MB, free: 4.176 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.764e-05/0.01802, allocations: 88.25 kB / 344.1 MB, free: 4.07 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.846e-05/0.01809, allocations: 23.36 kB / 344.1 MB, free: 4.051 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.853e-05/0.01817, allocations: 75.36 kB / 344.2 MB, free: 3.977 MB / 314.7 MB Notification: Performance of SimCode: time 7.61e-07/0.01817, allocations: 0 / 344.2 MB, free: 3.977 MB / 314.7 MB Notification: Performance of Templates: time 0.0102/0.02837, allocations: 6.264 MB / 350.4 MB, free: 13.77 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 -s gbode -gbm=radauIIA3 -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: 3.200769271235913]