Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001117/0.001117, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.00107/0.00107, allocations: 164.5 kB / 24.99 MB, free: 8.746 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.9507/0.9507, allocations: 177.1 MB / 205.3 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2891/0.2891, allocations: 34.25 MB / 296 MB, free: 0.7773 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.346e-06/3.346e-06, allocations: 4 kB / 378.1 MB, free: 2.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.132e-05/3.467e-05, allocations: 2.312 kB / 378.1 MB, free: 2.926 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.004145/0.00418, allocations: 2.226 MB / 380.3 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001776/0.005955, allocations: 1.067 MB / 381.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001567/0.006112, allocations: 0 / 381.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003504/0.006463, allocations: 79.42 kB / 381.4 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003215/0.006784, allocations: 95.2 kB / 381.5 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002689/0.007053, allocations: 123.5 kB / 381.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001797/0.007233, allocations: 186.7 kB / 381.8 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.679e-05/0.007289, allocations: 12.59 kB / 381.8 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002261/0.007516, allocations: 107.5 kB / 382 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001079/0.007623, allocations: 63.75 kB / 382 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.857e-05/0.007642, allocations: 4 kB / 382 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002196/0.007862, allocations: 139.8 kB / 382.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.792e-05/0.00792, allocations: 27.8 kB / 382.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.775e-05/0.007977, allocations: 47.8 kB / 382.2 MB, free: 14.74 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003642/0.008341, allocations: 286.7 kB / 382.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.008349, allocations: 0 / 382.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.008351, allocations: 0 / 382.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.533e-06/0.008357, allocations: 0 / 382.5 MB, free: 14.46 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0006255/0.008983, allocations: 0.5234 MB / 383 MB, free: 13.89 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.176e-05/0.009035, allocations: 8.031 kB / 383 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.615e-05/0.009121, allocations: 48.75 kB / 383.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001995/0.00932, allocations: 167.2 kB / 383.2 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.009338, allocations: 16.88 kB / 383.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.244e-05/0.009361, allocations: 20.38 kB / 383.3 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002587/0.009619, allocations: 173.2 kB / 383.5 MB, free: 13.44 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.00963, allocations: 3.938 kB / 383.5 MB, free: 13.44 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.815e-05/0.009648, allocations: 12 kB / 383.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.009659, allocations: 7.984 kB / 383.5 MB, free: 13.42 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001367/0.009795, allocations: 106.9 kB / 383.6 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006862/0.01048, allocations: 0.5427 MB / 384.1 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001693/0.01065, allocations: 75.09 kB / 384.2 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.578e-05/0.0107, allocations: 27.69 kB / 384.2 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.515e-05/0.01072, allocations: 4 kB / 384.2 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.01075, allocations: 37.39 kB / 384.3 MB, free: 12.56 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.543e-06/0.01075, allocations: 0 / 384.3 MB, free: 12.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.000265/0.01101, allocations: 97.52 kB / 384.4 MB, free: 12.46 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.677e-05/0.01105, allocations: 55.41 kB / 384.4 MB, free: 12.39 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001675/0.01122, allocations: 270.6 kB / 384.7 MB, free: 12.11 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.01124, allocations: 29.7 kB / 384.7 MB, free: 12.07 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.01134, allocations: 226.7 kB / 384.9 MB, free: 11.85 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.51e-05/0.01137, allocations: 39.67 kB / 385 MB, free: 11.81 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.951e-05/0.01143, allocations: 59.36 kB / 385 MB, free: 11.74 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.01155, allocations: 0.4962 MB / 385.5 MB, free: 11.23 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.207e-05/0.0116, allocations: 23.92 kB / 385.5 MB, free: 11.21 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001125/0.01171, allocations: 163.3 kB / 385.7 MB, free: 10.99 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001735/0.01189, allocations: 203.1 kB / 385.9 MB, free: 10.73 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.01189, allocations: 4 kB / 385.9 MB, free: 10.72 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002336/0.01213, allocations: 209.1 kB / 386.1 MB, free: 10.51 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.01214, allocations: 8 kB / 386.1 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.01215, allocations: 4 kB / 386.1 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.01216, allocations: 4 kB / 386.1 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002695/0.01243, allocations: 79.91 kB / 386.2 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007154/0.01315, allocations: 1.83 MB / 388 MB, free: 8.531 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001749/0.01332, allocations: 35.83 kB / 388.1 MB, free: 8.496 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.33e-05/0.01334, allocations: 12 kB / 388.1 MB, free: 8.484 MB / 362.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_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 9.49e-05/0.01343, allocations: 168.5 kB / 388.2 MB, free: 8.309 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.761e-05/0.01346, allocations: 15.91 kB / 388.3 MB, free: 8.293 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001997/0.01366, allocations: 131.3 kB / 388.4 MB, free: 8.164 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.01366, allocations: 4 kB / 388.4 MB, free: 8.16 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.01367, allocations: 4 kB / 388.4 MB, free: 8.156 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.01367, allocations: 0 / 388.4 MB, free: 8.156 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003306/0.014, allocations: 412.6 kB / 388.8 MB, free: 7.703 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.014, allocations: 3.938 kB / 388.8 MB, free: 7.699 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001432/0.01415, allocations: 55.97 kB / 388.9 MB, free: 7.645 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.01415, allocations: 0 / 388.9 MB, free: 7.645 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.01416, allocations: 8 kB / 388.9 MB, free: 7.637 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007206/0.01488, allocations: 1.826 MB / 390.7 MB, free: 5.754 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.01488, allocations: 0 / 390.7 MB, free: 5.754 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002041/0.01509, allocations: 259.2 kB / 390.9 MB, free: 5.473 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.318e-05/0.01512, allocations: 19.83 kB / 391 MB, free: 5.453 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.365e-05/0.01515, allocations: 3.938 kB / 391 MB, free: 5.449 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.587e-05/0.01521, allocations: 4 kB / 391 MB, free: 5.445 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.079e-05/0.01526, allocations: 11.98 kB / 391 MB, free: 5.434 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.264e-06/0.01527, allocations: 4 kB / 391 MB, free: 5.43 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.422e-05/0.01535, allocations: 180.2 kB / 391.2 MB, free: 5.254 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01535, allocations: 0 / 391.2 MB, free: 5.254 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000288/0.01564, allocations: 75.77 kB / 391.2 MB, free: 5.18 MB / 362.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.0002268/0.01587, allocations: 147.2 kB / 391.4 MB, free: 5.027 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002972/0.01617, allocations: 132.1 kB / 391.5 MB, free: 4.895 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.01617, allocations: 0 / 391.5 MB, free: 4.895 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.01629, allocations: 76.59 kB / 391.6 MB, free: 4.816 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000231/0.01652, allocations: 19 kB / 391.6 MB, free: 4.801 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008603/0.01738, allocations: 402.1 kB / 392 MB, free: 4.367 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.533e-05/0.01743, allocations: 83.77 kB / 392.1 MB, free: 4.266 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.565e-05/0.01747, allocations: 13.67 kB / 392.1 MB, free: 4.254 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.588e-05/0.01751, allocations: 20.5 kB / 392.1 MB, free: 4.234 MB / 362.7 MB Notification: Performance of SimCode: time 1.162e-06/0.01751, allocations: 3.938 kB / 392.1 MB, free: 4.23 MB / 362.7 MB Notification: Performance of Templates: time 0.005632/0.02314, allocations: 3.175 MB / 395.3 MB, free: 1.121 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.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.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.360787782119587]