Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_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.001047/0.001047, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.0009519/0.0009519, allocations: 164.9 kB / 25.61 MB, free: 8.902 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.9083/0.9083, allocations: 177.1 MB / 206 MB, free: 4.5 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.1592/0.1592, allocations: 32.8 MB / 295.4 MB, free: 15.39 MB / 282.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.StraightPipe.kc_turbulent_KC,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|cp.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|Nu.[0-9,]+.|m_flow_1.[0-9,]+.|m_flow_2.[0-9,]+.|kc.[0-9,]+.|Re_1.[0-9,]+.|Re_2.[0-9,]+.|input_Nu.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|cp.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|Nu.[0-9,]+.|m_flow_1.[0-9,]+.|m_flow_2.[0-9,]+.|kc.[0-9,]+.|Re_1.[0-9,]+.|Re_2.[0-9,]+.|input_Nu.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 377.3 MB, free: 25.57 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.638e-05/1.808e-05, allocations: 2.312 kB / 377.3 MB, free: 25.56 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.0022/0.002218, allocations: 1.929 MB / 379.2 MB, free: 23.62 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009517/0.00317, allocations: 0.8099 MB / 380 MB, free: 22.81 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.462e-05/0.003234, allocations: 0 / 380 MB, free: 22.81 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002322/0.003467, allocations: 55.62 kB / 380.1 MB, free: 22.75 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002515/0.003718, allocations: 83.5 kB / 380.2 MB, free: 22.67 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002084/0.003926, allocations: 91.58 kB / 380.3 MB, free: 22.58 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001895/0.004116, allocations: 266.6 kB / 380.5 MB, free: 22.32 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.441e-05/0.00417, allocations: 12.59 kB / 380.5 MB, free: 22.31 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001812/0.004352, allocations: 135.5 kB / 380.7 MB, free: 22.18 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001217/0.004473, allocations: 115.5 kB / 380.8 MB, free: 22.06 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.229e-05/0.004496, allocations: 8 kB / 380.8 MB, free: 22.05 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001216/0.004617, allocations: 75.89 kB / 380.9 MB, free: 21.98 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.873e-05/0.004676, allocations: 63.7 kB / 380.9 MB, free: 21.92 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.861e-05/0.004725, allocations: 71.72 kB / 381 MB, free: 21.85 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002343/0.004959, allocations: 262.9 kB / 381.3 MB, free: 21.59 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.004961, allocations: 4 kB / 381.3 MB, free: 21.59 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.004962, allocations: 0 / 381.3 MB, free: 21.59 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.004966, allocations: 0 / 381.3 MB, free: 21.59 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0004555/0.005422, allocations: 0.5856 MB / 381.8 MB, free: 20.96 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.005455, allocations: 19.92 kB / 381.9 MB, free: 20.95 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.221e-05/0.005517, allocations: 52.75 kB / 381.9 MB, free: 20.89 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001511/0.005668, allocations: 177.8 kB / 382.1 MB, free: 20.7 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.005684, allocations: 20.88 kB / 382.1 MB, free: 20.68 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.006e-05/0.005704, allocations: 24.38 kB / 382.1 MB, free: 20.65 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002045/0.005909, allocations: 198.2 kB / 382.3 MB, free: 20.45 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.005919, allocations: 3.938 kB / 382.3 MB, free: 20.44 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.005933, allocations: 8 kB / 382.3 MB, free: 20.43 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.288e-05/0.005966, allocations: 24.64 kB / 382.4 MB, free: 20.41 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.006069, allocations: 104.5 kB / 382.5 MB, free: 20.31 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005846/0.006653, allocations: 0.629 MB / 383.1 MB, free: 19.65 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001221/0.006775, allocations: 98.94 kB / 383.2 MB, free: 19.54 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.684e-05/0.006812, allocations: 27.73 kB / 383.2 MB, free: 19.51 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.006832, allocations: 7.984 kB / 383.2 MB, free: 19.5 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.377e-05/0.006846, allocations: 41.39 kB / 383.3 MB, free: 19.45 MB / 314.7 MB Notification: Performance of pre-optimization done (n=16): time 1.243e-06/0.006847, allocations: 0 / 383.3 MB, free: 19.45 MB / 314.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002129/0.00706, allocations: 133.3 kB / 383.4 MB, free: 19.32 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.804e-05/0.007078, allocations: 59.34 kB / 383.5 MB, free: 19.25 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.21e-05/0.00716, allocations: 254.2 kB / 383.7 MB, free: 18.98 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.03e-05/0.00717, allocations: 29.7 kB / 383.7 MB, free: 18.95 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.34e-05/0.007234, allocations: 235.1 kB / 384 MB, free: 18.71 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.354e-05/0.007257, allocations: 67.47 kB / 384 MB, free: 18.64 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.625e-05/0.007313, allocations: 75.52 kB / 384.1 MB, free: 18.56 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.999e-05/0.007363, allocations: 0.5001 MB / 384.6 MB, free: 18.05 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.625e-05/0.0074, allocations: 24.45 kB / 384.6 MB, free: 18.02 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.038e-05/0.00747, allocations: 152.8 kB / 384.8 MB, free: 17.82 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001229/0.007593, allocations: 191.7 kB / 385 MB, free: 17.58 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.007595, allocations: 0 / 385 MB, free: 17.58 MB / 314.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002059/0.007801, allocations: 201.3 kB / 385.2 MB, free: 17.38 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.007813, allocations: 11.94 kB / 385.2 MB, free: 17.36 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.007819, allocations: 4 kB / 385.2 MB, free: 17.36 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.00783, allocations: 4 kB / 385.2 MB, free: 17.36 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002723/0.008103, allocations: 123.9 kB / 385.3 MB, free: 17.23 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008099/0.008913, allocations: 5.407 MB / 390.7 MB, free: 11.66 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.328e-05/0.008996, allocations: 31.83 kB / 390.7 MB, free: 11.62 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.399e-05/0.00901, allocations: 8 kB / 390.7 MB, free: 11.62 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_1[1].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[3].roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.507e-05/0.009095, allocations: 179.3 kB / 390.9 MB, free: 11.43 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.025e-05/0.009125, allocations: 27.78 kB / 390.9 MB, free: 11.41 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002134/0.009339, allocations: 187.4 kB / 391.1 MB, free: 11.22 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.009341, allocations: 0 / 391.1 MB, free: 11.22 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.009343, allocations: 4 kB / 391.1 MB, free: 11.21 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.009347, allocations: 0 / 391.1 MB, free: 11.21 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001462/0.009493, allocations: 181.1 kB / 391.3 MB, free: 11.01 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.009495, allocations: 0 / 391.3 MB, free: 11.01 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002066/0.009702, allocations: 99.95 kB / 391.4 MB, free: 10.91 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.009705, allocations: 7.938 kB / 391.4 MB, free: 10.91 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.819e-06/0.009714, allocations: 4 kB / 391.4 MB, free: 10.9 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007696/0.01048, allocations: 5.418 MB / 396.8 MB, free: 5.312 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.01049, allocations: 384 / 396.8 MB, free: 5.312 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001611/0.01065, allocations: 286.7 kB / 397.1 MB, free: 5.016 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.267e-05/0.01066, allocations: 15.84 kB / 397.1 MB, free: 5 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.754e-05/0.01068, allocations: 0 / 397.1 MB, free: 5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.164e-05/0.01074, allocations: 11.98 kB / 397.1 MB, free: 4.988 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.741e-05/0.01078, allocations: 7.984 kB / 397.1 MB, free: 4.98 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-06/0.01079, allocations: 15.98 kB / 397.2 MB, free: 4.965 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.559e-05/0.01082, allocations: 160.2 kB / 397.3 MB, free: 4.809 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01082, allocations: 0 / 397.3 MB, free: 4.809 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002393/0.01106, allocations: 83.78 kB / 397.4 MB, free: 4.727 MB / 314.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 (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001443/0.0112, allocations: 143.2 kB / 397.5 MB, free: 4.574 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003235/0.01153, allocations: 208 kB / 397.7 MB, free: 4.367 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01153, allocations: 0 / 397.7 MB, free: 4.367 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002041/0.01173, allocations: 135.5 kB / 397.9 MB, free: 4.23 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002864/0.01202, allocations: 31.92 kB / 397.9 MB, free: 4.199 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006901/0.01271, allocations: 475 kB / 398.4 MB, free: 3.707 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.196e-05/0.01275, allocations: 111.9 kB / 398.5 MB, free: 3.578 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.971e-05/0.01281, allocations: 21.47 kB / 398.5 MB, free: 3.559 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.135e-05/0.01288, allocations: 98.17 kB / 398.6 MB, free: 3.461 MB / 314.7 MB Notification: Performance of SimCode: time 6.32e-07/0.01288, allocations: 0 / 398.6 MB, free: 3.461 MB / 314.7 MB Notification: Performance of Templates: time 0.005581/0.01847, allocations: 4.513 MB / 403.1 MB, free: 15.05 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_turbulent_KC/kc_turbulent_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.2457222687080503]