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_roundTube_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.001026/0.001026, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009281/0.0009281, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.9588/0.9588, allocations: 177.1 MB / 205 MB, free: 5.578 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.2628/0.2628, allocations: 32.8 MB / 294.3 MB, free: 1.207 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_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_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.737e-06/3.737e-06, allocations: 3.984 kB / 376.1 MB, free: 4.598 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.161e-05/2.535e-05, allocations: 2.312 kB / 376.1 MB, free: 4.594 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.002855/0.00288, allocations: 2.701 MB / 378.8 MB, free: 1.871 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001624/0.004504, allocations: 1.437 MB / 380.2 MB, free: 440 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.978e-05/0.004594, allocations: 7.938 kB / 380.2 MB, free: 432 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003029/0.004897, allocations: 103.2 kB / 380.3 MB, free: 328 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002772/0.005174, allocations: 146.7 kB / 380.5 MB, free: 180 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003918/0.005566, allocations: 275 kB / 380.7 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002071/0.005773, allocations: 297.8 kB / 381 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.764e-05/0.005821, allocations: 16.94 kB / 381 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001537/0.005975, allocations: 135.4 kB / 381.2 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001225/0.006097, allocations: 91.59 kB / 381.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.865e-05/0.006116, allocations: 8 kB / 381.3 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005007/0.006616, allocations: 451.3 kB / 381.7 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.4e-05/0.00667, allocations: 43.66 kB / 381.7 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.611e-05/0.006737, allocations: 79.66 kB / 381.8 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004548/0.007191, allocations: 0.5331 MB / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.007194, allocations: 0 / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.007195, allocations: 0 / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.0072, allocations: 3.938 kB / 382.4 MB, free: 14.27 MB / 362.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.0005687/0.007768, allocations: 0.6673 MB / 383 MB, free: 13.56 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.007803, allocations: 15.98 kB / 383 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.103e-05/0.007874, allocations: 72.66 kB / 383.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001702/0.008044, allocations: 188 kB / 383.3 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/0.008064, allocations: 25.38 kB / 383.3 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.182e-05/0.008096, allocations: 36.38 kB / 383.4 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004247/0.008521, allocations: 0.6247 MB / 384 MB, free: 12.4 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/0.008543, allocations: 11.88 kB / 384 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.41e-05/0.008567, allocations: 24 kB / 384 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.203e-05/0.008579, allocations: 8 kB / 384 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001871/0.008766, allocations: 202.3 kB / 384.2 MB, free: 12.15 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002021/0.01079, allocations: 5.759 MB / 390 MB, free: 6.164 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001231/0.01091, allocations: 63.05 kB / 390 MB, free: 6.09 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.718e-05/0.01095, allocations: 19.8 kB / 390.1 MB, free: 6.066 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.36e-05/0.01097, allocations: 7.984 kB / 390.1 MB, free: 6.059 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.076e-05/0.01099, allocations: 41.33 kB / 390.1 MB, free: 6.008 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.01099, allocations: 0 / 390.1 MB, free: 6.008 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002124/0.01121, allocations: 101.4 kB / 390.2 MB, free: 5.902 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.489e-05/0.01123, allocations: 55.41 kB / 390.3 MB, free: 5.836 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001914/0.01142, allocations: 358 kB / 390.6 MB, free: 5.469 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.01144, allocations: 29.7 kB / 390.6 MB, free: 5.434 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000142/0.01158, allocations: 326.4 kB / 391 MB, free: 5.109 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.586e-05/0.01159, allocations: 23.86 kB / 391 MB, free: 5.086 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.039e-05/0.01166, allocations: 87.58 kB / 391.1 MB, free: 4.988 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.01178, allocations: 0.5079 MB / 391.6 MB, free: 4.469 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.102e-05/0.01183, allocations: 32.62 kB / 391.6 MB, free: 4.438 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001697/0.012, allocations: 323.8 kB / 391.9 MB, free: 3.98 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002455/0.01225, allocations: 401.2 kB / 392.3 MB, free: 3.449 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.01225, allocations: 4 kB / 392.3 MB, free: 3.445 MB / 362.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000295/0.01254, allocations: 301 kB / 392.6 MB, free: 3.145 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.01256, allocations: 8 kB / 392.6 MB, free: 3.137 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.01257, allocations: 8 kB / 392.6 MB, free: 3.129 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.01258, allocations: 8 kB / 392.6 MB, free: 3.121 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002736/0.01286, allocations: 112.5 kB / 392.8 MB, free: 3.012 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005674/0.01343, allocations: 1.829 MB / 394.6 MB, free: 1.125 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001246/0.01355, allocations: 51.66 kB / 394.6 MB, free: 1.074 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.561e-05/0.01357, allocations: 16 kB / 394.6 MB, free: 1.059 MB / 362.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_4.N,m_flow_IN_con_4.geometry,m_flow_IN_con_1.geometry,m_flow_IN_con_3.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 (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 9.458e-05/0.01366, allocations: 184.4 kB / 394.8 MB, free: 0.8672 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.992e-05/0.01369, allocations: 31.81 kB / 394.9 MB, free: 0.8359 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00018/0.01387, allocations: 119.9 kB / 395 MB, free: 0.7109 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.01387, allocations: 3.938 kB / 395 MB, free: 0.707 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.01388, allocations: 0 / 395 MB, free: 0.707 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.01388, allocations: 0 / 395 MB, free: 0.707 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001703/0.01405, allocations: 232.5 kB / 395.2 MB, free: 456 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.01405, allocations: 0 / 395.2 MB, free: 456 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001309/0.01418, allocations: 55.97 kB / 395.3 MB, free: 400 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.01418, allocations: 4 kB / 395.3 MB, free: 396 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.01419, allocations: 11.94 kB / 395.3 MB, free: 384 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000506/0.0147, allocations: 1.814 MB / 397.1 MB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.0147, allocations: 3.984 kB / 397.1 MB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001468/0.01485, allocations: 235.7 kB / 397.3 MB, free: 14.25 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.173e-05/0.01487, allocations: 27.75 kB / 397.4 MB, free: 14.22 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/0.01489, allocations: 8 kB / 397.4 MB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.067e-05/0.01495, allocations: 16.05 kB / 397.4 MB, free: 14.2 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.943e-05/0.01499, allocations: 7.984 kB / 397.4 MB, free: 14.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.01499, allocations: 0 / 397.4 MB, free: 14.19 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001015/0.0151, allocations: 219 kB / 397.6 MB, free: 13.98 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.0151, allocations: 0 / 397.6 MB, free: 13.98 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003136/0.01541, allocations: 127.7 kB / 397.7 MB, free: 13.85 MB / 378.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.0002635/0.01567, allocations: 190.9 kB / 397.9 MB, free: 13.66 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002813/0.01595, allocations: 177.5 kB / 398.1 MB, free: 13.48 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.01596, allocations: 0 / 398.1 MB, free: 13.48 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001045/0.01606, allocations: 67.66 kB / 398.1 MB, free: 13.41 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001971/0.01626, allocations: 16.66 kB / 398.2 MB, free: 13.39 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007481/0.01701, allocations: 0.4897 MB / 398.7 MB, free: 12.88 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.467e-05/0.01705, allocations: 88.25 kB / 398.7 MB, free: 12.77 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.541e-05/0.01711, allocations: 25.94 kB / 398.8 MB, free: 12.75 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.597e-05/0.01714, allocations: 20.5 kB / 398.8 MB, free: 12.72 MB / 378.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01714, allocations: 0 / 398.8 MB, free: 12.72 MB / 378.7 MB Notification: Performance of Templates: time 0.007673/0.02481, allocations: 5.512 MB / 404.3 MB, free: 7.285 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_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_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.6533986711874604]