Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_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.0013/0.0013, allocations: 88.73 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.001348/0.001348, 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.026/1.026, allocations: 177 MB / 205.2 MB, free: 5.059 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.2514/0.2514, allocations: 34.85 MB / 296.6 MB, free: 464 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_flatTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|h_2|l_2|s_2|t_2|Nu|m_flow.[0-9,]+.|kc_1|kc_2|Re_1|Re_2|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|h_2|l_2|s_2|t_2|Nu|m_flow.[0-9,]+.|kc_1|kc_2|Re_1|Re_2|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 326 MB, free: 7.074 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.148e-05/2.267e-05, allocations: 6.938 kB / 326 MB, free: 7.07 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.003173/0.003195, allocations: 2.27 MB / 328.3 MB, free: 4.785 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001474/0.00467, allocations: 1.075 MB / 329.3 MB, free: 3.707 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001062/0.004776, allocations: 4 kB / 329.3 MB, free: 3.703 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000284/0.00506, allocations: 83.41 kB / 329.4 MB, free: 3.621 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002775/0.005338, allocations: 91.2 kB / 329.5 MB, free: 3.531 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002615/0.005599, allocations: 123.4 kB / 329.6 MB, free: 3.41 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001911/0.00579, allocations: 187.5 kB / 329.8 MB, free: 3.227 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.16e-05/0.005842, allocations: 18.55 kB / 329.8 MB, free: 3.211 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000195/0.006037, allocations: 95.64 kB / 329.9 MB, free: 3.117 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.006138, allocations: 71.69 kB / 330 MB, free: 3.047 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/0.006154, allocations: 4 kB / 330 MB, free: 3.043 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002453/0.006399, allocations: 131.8 kB / 330.1 MB, free: 2.914 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.413e-05/0.006453, allocations: 35.78 kB / 330.2 MB, free: 2.879 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.324e-05/0.006507, allocations: 51.78 kB / 330.2 MB, free: 2.828 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003171/0.006824, allocations: 282.7 kB / 330.5 MB, free: 2.551 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.006827, allocations: 0 / 330.5 MB, free: 2.551 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.006828, allocations: 4 kB / 330.5 MB, free: 2.547 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.006832, allocations: 0 / 330.5 MB, free: 2.547 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0004028/0.007235, allocations: 405.5 kB / 330.9 MB, free: 2.129 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.007268, allocations: 12.03 kB / 330.9 MB, free: 2.117 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.647e-05/0.007315, allocations: 36.92 kB / 330.9 MB, free: 2.082 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002564/0.007571, allocations: 149.4 kB / 331.1 MB, free: 1.91 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.007586, allocations: 16.88 kB / 331.1 MB, free: 1.895 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.93e-05/0.007606, allocations: 24.38 kB / 331.1 MB, free: 1.871 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002164/0.007822, allocations: 156.2 kB / 331.3 MB, free: 1.707 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.007833, allocations: 7.922 kB / 331.3 MB, free: 1.699 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.007848, allocations: 16 kB / 331.3 MB, free: 1.684 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.007856, allocations: 4 kB / 331.3 MB, free: 1.68 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.861e-05/0.007954, allocations: 83.41 kB / 331.4 MB, free: 1.598 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005269/0.008481, allocations: 409.6 kB / 331.8 MB, free: 1.18 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001059/0.008587, allocations: 57.36 kB / 331.8 MB, free: 1.113 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.804e-05/0.008615, allocations: 12.86 kB / 331.9 MB, free: 1.098 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.889e-05/0.008634, allocations: 0 / 331.9 MB, free: 1.098 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/0.008657, allocations: 42.5 kB / 331.9 MB, free: 1.047 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.203e-06/0.008658, allocations: 3.938 kB / 331.9 MB, free: 1.043 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001629/0.008821, allocations: 73.66 kB / 332 MB, free: 0.9609 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.696e-05/0.008848, allocations: 51.41 kB / 332 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.008969, allocations: 207.3 kB / 332.2 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/0.008982, allocations: 25.7 kB / 332.3 MB, free: 0.6484 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.78e-05/0.00905, allocations: 175.9 kB / 332.4 MB, free: 484 kB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.938e-05/0.009069, allocations: 31.73 kB / 332.5 MB, free: 452 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.296e-05/0.009122, allocations: 45.64 kB / 332.5 MB, free: 400 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.886e-05/0.009201, allocations: 330.8 kB / 332.8 MB, free: 60 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.078e-05/0.009232, allocations: 19.98 kB / 332.8 MB, free: 40 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.843e-05/0.00932, allocations: 117.4 kB / 333 MB, free: 15.88 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001281/0.009448, allocations: 164.1 kB / 333.1 MB, free: 15.67 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.207e-06/0.009451, allocations: 4 kB / 333.1 MB, free: 15.67 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001626/0.009614, allocations: 142.4 kB / 333.3 MB, free: 15.52 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.009631, allocations: 12.38 kB / 333.3 MB, free: 15.51 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.009638, allocations: 7.984 kB / 333.3 MB, free: 15.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.009654, allocations: 8 kB / 333.3 MB, free: 15.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002393/0.009893, allocations: 63.91 kB / 333.4 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007424/0.01064, allocations: 1.202 MB / 334.6 MB, free: 14.18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.692e-05/0.01073, allocations: 19.84 kB / 334.6 MB, free: 14.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.01074, allocations: 12 kB / 334.6 MB, free: 14.15 MB / 314.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_1.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 (25): * Single equations (assignments): 23 * 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.421e-05/0.01083, allocations: 132.5 kB / 334.7 MB, free: 14.01 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.311e-05/0.01085, allocations: 12.12 kB / 334.7 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001618/0.01101, allocations: 102.2 kB / 334.8 MB, free: 13.89 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.01102, allocations: 0 / 334.8 MB, free: 13.89 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.123e-06/0.01102, allocations: 3.938 kB / 334.8 MB, free: 13.89 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.01102, allocations: 0 / 334.8 MB, free: 13.89 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002524/0.01127, allocations: 272.3 kB / 335.1 MB, free: 13.59 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.01128, allocations: 4 kB / 335.1 MB, free: 13.59 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001369/0.01141, allocations: 39.91 kB / 335.1 MB, free: 13.55 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.01142, allocations: 4 kB / 335.1 MB, free: 13.54 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.315e-06/0.01143, allocations: 3.938 kB / 335.1 MB, free: 13.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003775/0.0118, allocations: 1.198 MB / 336.3 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.01181, allocations: 3.938 kB / 336.3 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001228/0.01193, allocations: 180.2 kB / 336.5 MB, free: 12.09 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.766e-05/0.01195, allocations: 11.91 kB / 336.5 MB, free: 12.07 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.01196, allocations: 4 kB / 336.5 MB, free: 12.07 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.05e-05/0.01202, allocations: 8 kB / 336.5 MB, free: 12.06 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.114e-05/0.01206, allocations: 15.86 kB / 336.6 MB, free: 12.05 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-06/0.01207, allocations: 0 / 336.6 MB, free: 12.05 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.941e-05/0.01211, allocations: 57.77 kB / 336.6 MB, free: 11.99 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01211, allocations: 0 / 336.6 MB, free: 11.99 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002413/0.01235, allocations: 75.77 kB / 336.7 MB, free: 11.91 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 7 * 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.000219/0.01257, allocations: 128.9 kB / 336.8 MB, free: 11.78 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002198/0.01279, allocations: 102.8 kB / 336.9 MB, free: 11.68 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.425e-06/0.0128, allocations: 4 kB / 336.9 MB, free: 11.68 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.726e-05/0.0129, allocations: 48.77 kB / 337 MB, free: 11.62 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001705/0.01307, allocations: 16.5 kB / 337 MB, free: 11.61 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007998/0.01387, allocations: 402.5 kB / 337.4 MB, free: 11.19 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.358e-05/0.01391, allocations: 79.81 kB / 337.5 MB, free: 11.09 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.947e-05/0.01396, allocations: 10.06 kB / 337.5 MB, free: 11.08 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.9e-05/0.01403, allocations: 71.36 kB / 337.5 MB, free: 11.01 MB / 314.7 MB Notification: Performance of SimCode: time 1.263e-06/0.01403, allocations: 3.938 kB / 337.5 MB, free: 11 MB / 314.7 MB Notification: Performance of Templates: time 0.005902/0.01993, allocations: 3.55 MB / 341.1 MB, free: 7.512 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_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_flatTube_KC/kc_flatTube_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.0788483102805912]