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.001355/0.001355, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001356/0.001356, allocations: 166.5 kB / 24.99 MB, free: 8.289 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.9651/0.9651, 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.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.2785/0.2785, allocations: 32.81 MB / 294.6 MB, free: 1.293 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.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.724e-06/1.724e-06, allocations: 0 / 376 MB, free: 4.984 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.966e-05/3.138e-05, allocations: 4.281 kB / 376 MB, free: 4.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.002613/0.002644, allocations: 1.949 MB / 378 MB, free: 3.016 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001192/0.003836, allocations: 0.8139 MB / 378.8 MB, free: 2.199 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.845e-05/0.003915, allocations: 0 / 378.8 MB, free: 2.199 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00025/0.004165, allocations: 47.69 kB / 378.8 MB, free: 2.152 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002764/0.004441, allocations: 99.42 kB / 378.9 MB, free: 2.055 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002208/0.004662, allocations: 79.66 kB / 379 MB, free: 1.977 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002608/0.004923, allocations: 274.5 kB / 379.3 MB, free: 1.707 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.081e-05/0.004984, allocations: 8.594 kB / 379.3 MB, free: 1.699 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002223/0.005206, allocations: 135.5 kB / 379.4 MB, free: 1.566 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000143/0.005349, allocations: 115.6 kB / 379.5 MB, free: 1.453 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.873e-05/0.005368, allocations: 4 kB / 379.5 MB, free: 1.449 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001348/0.005502, allocations: 71.89 kB / 379.6 MB, free: 1.379 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.694e-05/0.005589, allocations: 71.69 kB / 379.7 MB, free: 1.309 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.239e-05/0.005662, allocations: 59.73 kB / 379.7 MB, free: 1.25 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003013/0.005963, allocations: 270.9 kB / 380 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.005966, allocations: 0 / 380 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.005967, allocations: 0 / 380 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.005972, allocations: 4 kB / 380 MB, free: 0.9805 MB / 346.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.0006556/0.006627, allocations: 0.5856 MB / 380.6 MB, free: 364 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.006675, allocations: 11.97 kB / 380.6 MB, free: 352 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.498e-05/0.00676, allocations: 48.75 kB / 380.7 MB, free: 304 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002091/0.006969, allocations: 176.3 kB / 380.8 MB, free: 100 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.006988, allocations: 20.88 kB / 380.8 MB, free: 80 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.674e-05/0.007015, allocations: 24.31 kB / 380.9 MB, free: 56 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003144/0.007329, allocations: 226.2 kB / 381.1 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.007342, allocations: 3.938 kB / 381.1 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.894e-05/0.007361, allocations: 8 kB / 381.1 MB, free: 15.81 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.062e-05/0.007402, allocations: 28.64 kB / 381.1 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001831/0.007585, allocations: 135.9 kB / 381.3 MB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008229/0.008408, allocations: 0.6871 MB / 382 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000196/0.008604, allocations: 106.5 kB / 382.1 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.101e-05/0.008665, allocations: 35.72 kB / 382.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.467e-05/0.008689, allocations: 4 kB / 382.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.008718, allocations: 41.33 kB / 382.1 MB, free: 14.72 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 1.764e-06/0.008719, allocations: 0 / 382.1 MB, free: 14.72 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003193/0.009039, allocations: 149.6 kB / 382.3 MB, free: 14.57 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.543e-05/0.009074, allocations: 63.34 kB / 382.3 MB, free: 14.49 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001521/0.009226, allocations: 249.8 kB / 382.6 MB, free: 14.23 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.009247, allocations: 33.7 kB / 382.6 MB, free: 14.19 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.009349, allocations: 231.1 kB / 382.8 MB, free: 13.96 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.722e-05/0.009387, allocations: 59.52 kB / 382.9 MB, free: 13.9 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.55e-05/0.009462, allocations: 75.53 kB / 383 MB, free: 13.82 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.009609, allocations: 0.5001 MB / 383.5 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.171e-05/0.009671, allocations: 32.44 kB / 383.5 MB, free: 13.27 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001203/0.009791, allocations: 160.8 kB / 383.7 MB, free: 13.06 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001875/0.009979, allocations: 199.7 kB / 383.9 MB, free: 12.81 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.009984, allocations: 7.984 kB / 383.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002521/0.01024, allocations: 204.4 kB / 384.1 MB, free: 12.6 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.01025, allocations: 4 kB / 384.1 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.01026, allocations: 4 kB / 384.1 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.01027, allocations: 7.938 kB / 384.1 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003664/0.01064, allocations: 123.9 kB / 384.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001721/0.01236, allocations: 5.414 MB / 389.6 MB, free: 6.879 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.928e-05/0.01245, allocations: 31.78 kB / 389.6 MB, free: 6.848 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.963e-05/0.01247, allocations: 11.98 kB / 389.7 MB, free: 6.836 MB / 362.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_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].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 0.0001197/0.01259, allocations: 176.9 kB / 389.8 MB, free: 6.652 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.423e-05/0.01262, allocations: 27.84 kB / 389.9 MB, free: 6.625 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002819/0.01291, allocations: 191.1 kB / 390 MB, free: 6.434 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.01291, allocations: 4 kB / 390.1 MB, free: 6.43 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.01291, allocations: 0 / 390.1 MB, free: 6.43 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.01292, allocations: 3.984 kB / 390.1 MB, free: 6.426 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000197/0.01312, allocations: 240.5 kB / 390.3 MB, free: 6.156 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.01312, allocations: 0 / 390.3 MB, free: 6.156 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002303/0.01335, allocations: 104 kB / 390.4 MB, free: 6.055 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.01335, allocations: 7.938 kB / 390.4 MB, free: 6.047 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.01337, allocations: 11.98 kB / 390.4 MB, free: 6.035 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001584/0.01495, allocations: 5.407 MB / 395.8 MB, free: 468 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.01495, allocations: 4 kB / 395.8 MB, free: 464 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002202/0.01517, allocations: 279.7 kB / 396.1 MB, free: 164 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.781e-05/0.01519, allocations: 19.84 kB / 396.1 MB, free: 144 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.31e-05/0.01521, allocations: 8 kB / 396.1 MB, free: 136 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.178e-05/0.01528, allocations: 3.984 kB / 396.1 MB, free: 132 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.864e-05/0.01533, allocations: 23.91 kB / 396.1 MB, free: 108 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.01535, allocations: 4 kB / 396.2 MB, free: 104 kB / 362.7 MB Notification: Performance of sorting global known variables: time 8.92e-05/0.01543, allocations: 172.2 kB / 396.3 MB, free: 15.93 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01543, allocations: 4.094 kB / 396.3 MB, free: 15.93 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002572/0.01569, allocations: 87.78 kB / 396.4 MB, free: 15.84 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 (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.0002136/0.01591, allocations: 135 kB / 396.5 MB, free: 15.7 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004028/0.01631, allocations: 210 kB / 396.7 MB, free: 15.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.01631, allocations: 0 / 396.7 MB, free: 15.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002368/0.01655, allocations: 143.5 kB / 396.9 MB, free: 15.35 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002355/0.01678, allocations: 24.67 kB / 396.9 MB, free: 15.33 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008718/0.01765, allocations: 472.9 kB / 397.4 MB, free: 14.83 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.223e-05/0.01773, allocations: 111.9 kB / 397.5 MB, free: 14.7 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.803e-05/0.01782, allocations: 57.39 kB / 397.5 MB, free: 14.65 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.108e-05/0.01787, allocations: 20.5 kB / 397.6 MB, free: 14.63 MB / 378.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01787, allocations: 3.938 kB / 397.6 MB, free: 14.62 MB / 378.7 MB Notification: Performance of Templates: time 0.005765/0.02363, allocations: 4.056 MB / 401.6 MB, free: 10.66 MB / 378.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.469859366072342]