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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 80.8 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 174.3 kB / 24.91 MB, free: 8.766 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9868/0.9868, allocations: 177.1 MB / 205.3 MB, free: 5.117 MB / 186.7 MB " [Timeout remaining time 179] 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.2847/0.2847, allocations: 32.8 MB / 294.6 MB, free: 1.195 MB / 266.7 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.[0-9,]+.|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.[0-9,]+.|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 1.613e-06/1.613e-06, allocations: 0 / 323.3 MB, free: 9.656 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.107e-05/2.268e-05, allocations: 6.25 kB / 323.3 MB, free: 9.648 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.002746/0.002769, allocations: 2.253 MB / 325.6 MB, free: 7.379 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001315/0.004084, allocations: 1.074 MB / 326.6 MB, free: 6.301 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.943e-05/0.004163, allocations: 7.938 kB / 326.7 MB, free: 6.293 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002635/0.004427, allocations: 83.41 kB / 326.7 MB, free: 6.211 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000237/0.004664, allocations: 87.27 kB / 326.8 MB, free: 6.125 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002072/0.004871, allocations: 123.4 kB / 326.9 MB, free: 6.004 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001551/0.005026, allocations: 186.7 kB / 327.1 MB, free: 5.82 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.55e-05/0.005071, allocations: 15.19 kB / 327.1 MB, free: 5.809 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00019/0.005261, allocations: 103.5 kB / 327.2 MB, free: 5.707 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.723e-05/0.005359, allocations: 63.75 kB / 327.3 MB, free: 5.645 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.546e-05/0.005374, allocations: 8 kB / 327.3 MB, free: 5.637 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002213/0.005595, allocations: 139.8 kB / 327.4 MB, free: 5.5 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.84e-05/0.005644, allocations: 27.78 kB / 327.5 MB, free: 5.473 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.775e-05/0.005692, allocations: 55.8 kB / 327.5 MB, free: 5.418 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002827/0.005974, allocations: 282.7 kB / 327.8 MB, free: 5.141 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.005976, allocations: 0 / 327.8 MB, free: 5.141 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.005977, allocations: 0 / 327.8 MB, free: 5.141 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.097e-06/0.005981, allocations: 0 / 327.8 MB, free: 5.141 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.000398/0.006379, allocations: 401.4 kB / 328.2 MB, free: 4.727 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.006411, allocations: 12.03 kB / 328.2 MB, free: 4.715 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.187e-05/0.006453, allocations: 28.91 kB / 328.2 MB, free: 4.688 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/0.006596, allocations: 160 kB / 328.4 MB, free: 4.508 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.00661, allocations: 12.88 kB / 328.4 MB, free: 4.496 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.282e-05/0.006633, allocations: 24.38 kB / 328.4 MB, free: 4.473 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002083/0.006841, allocations: 164.2 kB / 328.6 MB, free: 4.301 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.926e-06/0.00685, allocations: 3.938 kB / 328.6 MB, free: 4.297 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.006864, allocations: 12 kB / 328.6 MB, free: 4.285 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.00687, allocations: 4 kB / 328.6 MB, free: 4.281 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.313e-05/0.006963, allocations: 83.45 kB / 328.7 MB, free: 4.199 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005392/0.007503, allocations: 417.5 kB / 329.1 MB, free: 3.773 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.007608, allocations: 61.25 kB / 329.2 MB, free: 3.703 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.879e-05/0.007637, allocations: 16.86 kB / 329.2 MB, free: 3.684 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.007657, allocations: 4 kB / 329.2 MB, free: 3.68 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/0.007679, allocations: 38.5 kB / 329.2 MB, free: 3.633 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.313e-06/0.00768, allocations: 0 / 329.2 MB, free: 3.633 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001549/0.007835, allocations: 65.61 kB / 329.3 MB, free: 3.562 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.09e-05/0.007866, allocations: 63.39 kB / 329.3 MB, free: 3.488 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.00797, allocations: 195.4 kB / 329.5 MB, free: 3.281 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.007984, allocations: 29.7 kB / 329.6 MB, free: 3.246 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.24e-05/0.008056, allocations: 176.6 kB / 329.7 MB, free: 3.07 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.454e-05/0.008081, allocations: 35.72 kB / 329.8 MB, free: 3.035 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.543e-05/0.008136, allocations: 49.64 kB / 329.8 MB, free: 2.98 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.178e-05/0.008218, allocations: 326.8 kB / 330.1 MB, free: 2.652 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.007e-05/0.008248, allocations: 19.98 kB / 330.2 MB, free: 2.633 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.718e-05/0.008325, allocations: 117.6 kB / 330.3 MB, free: 2.473 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001288/0.008454, allocations: 161.5 kB / 330.4 MB, free: 2.27 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.008458, allocations: 4 kB / 330.4 MB, free: 2.266 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001598/0.008617, allocations: 157.5 kB / 330.6 MB, free: 2.105 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.008632, allocations: 11.94 kB / 330.6 MB, free: 2.094 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.008639, allocations: 4 kB / 330.6 MB, free: 2.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.008652, allocations: 4 kB / 330.6 MB, free: 2.086 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002277/0.008879, allocations: 67.89 kB / 330.7 MB, free: 2.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005095/0.009389, allocations: 1.199 MB / 331.9 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.453e-05/0.009473, allocations: 23.84 kB / 331.9 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.009487, allocations: 12.22 kB / 331.9 MB, free: 0.7305 MB / 298.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.193e-05/0.009569, allocations: 132.5 kB / 332 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.309e-05/0.009592, allocations: 11.98 kB / 332 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001554/0.009747, allocations: 103.4 kB / 332.1 MB, free: 480 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.009749, allocations: 0 / 332.1 MB, free: 480 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.009752, allocations: 7.938 kB / 332.2 MB, free: 472 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.009755, allocations: 0 / 332.2 MB, free: 472 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002352/0.00999, allocations: 264.4 kB / 332.4 MB, free: 176 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.009993, allocations: 4 kB / 332.4 MB, free: 172 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001289/0.01012, allocations: 31.97 kB / 332.4 MB, free: 140 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.01013, allocations: 4 kB / 332.4 MB, free: 136 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.01013, allocations: 3.938 kB / 332.5 MB, free: 132 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003963/0.01053, allocations: 1.205 MB / 333.7 MB, free: 14.87 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.01053, allocations: 0 / 333.7 MB, free: 14.87 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001136/0.01065, allocations: 172 kB / 333.8 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.581e-05/0.01066, allocations: 15.89 kB / 333.8 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.874e-05/0.01068, allocations: 8 kB / 333.9 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.793e-05/0.01074, allocations: 4 kB / 333.9 MB, free: 14.65 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.558e-05/0.01078, allocations: 7.922 kB / 333.9 MB, free: 14.64 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.674e-06/0.01078, allocations: 8 kB / 333.9 MB, free: 14.64 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.735e-05/0.01082, allocations: 53.77 kB / 333.9 MB, free: 14.58 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01082, allocations: 0 / 333.9 MB, free: 14.58 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002298/0.01105, allocations: 79.83 kB / 334 MB, free: 14.5 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.0001965/0.01125, allocations: 140.2 kB / 334.1 MB, free: 14.36 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002089/0.01146, allocations: 98.86 kB / 334.2 MB, free: 14.26 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/0.01146, allocations: 4 kB / 334.2 MB, free: 14.26 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.471e-05/0.01156, allocations: 49.69 kB / 334.3 MB, free: 14.21 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001624/0.01172, allocations: 24.06 kB / 334.3 MB, free: 14.18 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006981/0.01242, allocations: 387.4 kB / 334.7 MB, free: 13.77 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.052e-05/0.01246, allocations: 75.83 kB / 334.8 MB, free: 13.68 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.446e-05/0.0125, allocations: 17.61 kB / 334.8 MB, free: 13.66 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.532e-05/0.01257, allocations: 71.36 kB / 334.8 MB, free: 13.59 MB / 314.7 MB Notification: Performance of SimCode: time 8.82e-07/0.01257, allocations: 0 / 334.8 MB, free: 13.59 MB / 314.7 MB Notification: Performance of Templates: time 0.005312/0.01788, allocations: 3.555 MB / 338.4 MB, free: 10.09 MB / 314.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) [Timeout 240] 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","",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.2115292828530073]