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_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001688/0.001688, allocations: 106.2 kB / 19.81 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002322/0.002322, allocations: 195.1 kB / 22.98 MB, free: 5.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 225.6 MB / 251.6 MB, free: 13.33 MB / 206.1 MB " [Timeout remaining time 178] 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.2299/0.2299, allocations: 44.91 MB / 351.6 MB, free: 12.22 MB / 286.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.1.|m_flow.2.|kc_1|kc_2|Re_1|Re_2|input_Nu.y",fileNamePrefix="ModelicaTest_4.0.0_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.1.|m_flow.2.|kc_1|kc_2|Re_1|Re_2|input_Nu.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00209/0.00209, allocations: 71.89 kB / 495.3 MB, free: 1.812 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3696/0.3717, allocations: 64.24 MB / 0.5464 GB, free: 13.2 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.004511/0.3762, allocations: 2.208 MB / 0.5486 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002281/0.3784, allocations: 1.083 MB / 0.5496 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001393/0.3786, allocations: 1.188 kB / 0.5496 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003436/0.3789, allocations: 83.8 kB / 0.5497 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003595/0.3793, allocations: 87.41 kB / 0.5498 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003171/0.3796, allocations: 120.4 kB / 0.5499 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002441/0.3798, allocations: 180.3 kB / 0.5501 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.054e-05/0.3799, allocations: 10.84 kB / 0.5501 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001533/0.3801, allocations: 76.61 kB / 0.5502 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001448/0.3802, allocations: 79.5 kB / 0.5503 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.991e-05/0.3802, allocations: 10.69 kB / 0.5503 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004267/0.3807, allocations: 261 kB / 0.5505 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.364e-05/0.3807, allocations: 28.56 kB / 0.5505 GB, free: 9.992 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.409e-05/0.3808, allocations: 81.11 kB / 0.5506 GB, free: 9.938 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005075/0.3813, allocations: 335.6 kB / 0.5509 GB, free: 9.703 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.3813, allocations: 0 / 0.5509 GB, free: 9.703 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3813, allocations: 0 / 0.5509 GB, free: 9.703 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.204e-05/0.3813, allocations: 0 / 0.5509 GB, free: 9.703 MB / 398.1 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.0007732/0.3821, allocations: 0.4966 MB / 0.5514 GB, free: 9.223 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.45e-05/0.3822, allocations: 13.95 kB / 0.5514 GB, free: 9.219 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.713e-05/0.3822, allocations: 27.56 kB / 0.5515 GB, free: 9.203 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002479/0.3825, allocations: 223.1 kB / 0.5517 GB, free: 8.965 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.449e-05/0.3825, allocations: 21.5 kB / 0.5517 GB, free: 8.953 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.197e-05/0.3825, allocations: 21.78 kB / 0.5517 GB, free: 8.945 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004941/0.383, allocations: 227.2 kB / 0.5519 GB, free: 8.809 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.383, allocations: 0 / 0.5519 GB, free: 8.809 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.345e-05/0.3831, allocations: 9.375 kB / 0.5519 GB, free: 8.801 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.3831, allocations: 5.875 kB / 0.5519 GB, free: 8.801 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005577/0.3836, allocations: 246.5 kB / 0.5522 GB, free: 8.68 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00117/0.3848, allocations: 0.6236 MB / 0.5528 GB, free: 8.152 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002767/0.3851, allocations: 96.84 kB / 0.5529 GB, free: 8.098 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001279/0.3852, allocations: 38.14 kB / 0.5529 GB, free: 8.078 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.615e-05/0.3852, allocations: 1.344 kB / 0.5529 GB, free: 8.078 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.362e-05/0.3853, allocations: 39.88 kB / 0.553 GB, free: 8.031 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.223e-06/0.3853, allocations: 0 / 0.553 GB, free: 8.031 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005361/0.3858, allocations: 167.8 kB / 0.5531 GB, free: 7.941 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.324e-05/0.3859, allocations: 53.34 kB / 0.5532 GB, free: 7.879 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003278/0.3862, allocations: 267.2 kB / 0.5534 GB, free: 7.699 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/0.3862, allocations: 30.73 kB / 0.5535 GB, free: 7.664 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000141/0.3864, allocations: 167.5 kB / 0.5536 GB, free: 7.508 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.78e-05/0.3864, allocations: 40.72 kB / 0.5537 GB, free: 7.473 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.283e-05/0.3865, allocations: 48.2 kB / 0.5537 GB, free: 7.438 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001948/0.3867, allocations: 336.4 kB / 0.554 GB, free: 7.105 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001699/0.3869, allocations: 49.25 kB / 0.5541 GB, free: 7.086 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002685/0.3871, allocations: 149.8 kB / 0.5542 GB, free: 6.934 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004408/0.3876, allocations: 210.5 kB / 0.5544 GB, free: 6.75 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.3876, allocations: 0 / 0.5544 GB, free: 6.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005576/0.3881, allocations: 242.3 kB / 0.5546 GB, free: 6.621 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.988e-05/0.3882, allocations: 6.406 kB / 0.5547 GB, free: 6.621 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/0.3882, allocations: 2.656 kB / 0.5547 GB, free: 6.621 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.152e-05/0.3882, allocations: 5.25 kB / 0.5547 GB, free: 6.621 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005006/0.3887, allocations: 92.23 kB / 0.5547 GB, free: 6.594 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001113/0.3898, allocations: 1.219 MB / 0.5559 GB, free: 5.379 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002451/0.3901, allocations: 40.62 kB / 0.556 GB, free: 5.352 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.956e-05/0.3901, allocations: 13.84 kB / 0.556 GB, free: 5.348 MB / 398.1 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 (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 0.0001805/0.3903, allocations: 138.6 kB / 0.5561 GB, free: 5.211 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.783e-05/0.3903, allocations: 26.83 kB / 0.5561 GB, free: 5.195 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004984/0.3908, allocations: 169.6 kB / 0.5563 GB, free: 5.09 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.75e-06/0.3908, allocations: 1.188 kB / 0.5563 GB, free: 5.09 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.3908, allocations: 4 kB / 0.5563 GB, free: 5.086 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.3908, allocations: 0.9688 kB / 0.5563 GB, free: 5.086 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008404/0.3917, allocations: 450.3 kB / 0.5567 GB, free: 4.676 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.3917, allocations: 1.188 kB / 0.5567 GB, free: 4.676 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002736/0.392, allocations: 64.69 kB / 0.5568 GB, free: 4.656 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.243e-06/0.392, allocations: 5.391 kB / 0.5568 GB, free: 4.652 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.741e-05/0.392, allocations: 2.469 kB / 0.5568 GB, free: 4.652 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008704/0.3929, allocations: 1.206 MB / 0.558 GB, free: 3.445 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.185e-06/0.3929, allocations: 5.281 kB / 0.558 GB, free: 3.441 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003979/0.3933, allocations: 250 kB / 0.5582 GB, free: 3.238 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.436e-05/0.3933, allocations: 106.1 kB / 0.5583 GB, free: 3.121 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.231e-05/0.3934, allocations: 0 / 0.5583 GB, free: 3.121 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001689/0.3935, allocations: 15.98 kB / 0.5584 GB, free: 3.105 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.761e-05/0.3936, allocations: 4 kB / 0.5584 GB, free: 3.102 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.3936, allocations: 4 kB / 0.5584 GB, free: 3.098 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001935/0.3938, allocations: 194 kB / 0.5585 GB, free: 2.906 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3938, allocations: 0 / 0.5585 GB, free: 2.906 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000389/0.3942, allocations: 63.92 kB / 0.5586 GB, free: 2.844 MB / 398.1 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.0002895/0.3945, allocations: 143 kB / 0.5587 GB, free: 2.695 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005836/0.3951, allocations: 175.8 kB / 0.5589 GB, free: 2.523 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.3951, allocations: 0 / 0.5589 GB, free: 2.523 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003029/0.3954, allocations: 79.89 kB / 0.559 GB, free: 2.445 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004288/0.3958, allocations: 29 kB / 0.559 GB, free: 2.414 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009505/0.3967, allocations: 419.5 kB / 0.5594 GB, free: 1.973 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004271/0.3972, allocations: 0.7323 MB / 0.5601 GB, free: 1.215 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.291e-05/0.3973, allocations: 21.95 kB / 0.5601 GB, free: 1.191 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.82e-05/0.3973, allocations: 19.42 kB / 0.5602 GB, free: 1.172 MB / 398.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3973, allocations: 0 / 0.5602 GB, free: 1.172 MB / 398.1 MB Notification: Performance of Templates: time 0.008057/0.4054, allocations: 3.603 MB / 0.5637 GB, free: 13.61 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_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/kc_flatTube_KC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.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: 5.476684057153761]