Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.00145/0.00145, 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.001065/0.001065, allocations: 169.9 kB / 24.91 MB, free: 9.191 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.997/0.997, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.2684/0.2684, allocations: 34.25 MB / 296.1 MB, free: 0.7227 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.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.1.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.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.022e-06/1.022e-06, allocations: 0 / 325.3 MB, free: 7.633 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.368e-05/1.47e-05, allocations: 4.984 kB / 325.3 MB, free: 7.629 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.002243/0.002258, allocations: 1.987 MB / 327.3 MB, free: 5.625 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009914/0.003249, allocations: 0.8301 MB / 328.1 MB, free: 4.793 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.258e-05/0.003302, allocations: 4 kB / 328.1 MB, free: 4.789 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002323/0.003534, allocations: 51.66 kB / 328.2 MB, free: 4.738 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002455/0.003779, allocations: 99.44 kB / 328.3 MB, free: 4.641 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000183/0.003962, allocations: 75.66 kB / 328.4 MB, free: 4.566 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002196/0.004182, allocations: 278.5 kB / 328.6 MB, free: 4.293 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.177e-05/0.004224, allocations: 14.56 kB / 328.6 MB, free: 4.281 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001774/0.004401, allocations: 135.5 kB / 328.8 MB, free: 4.148 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001327/0.004534, allocations: 103.6 kB / 328.9 MB, free: 4.047 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.79e-05/0.004552, allocations: 8 kB / 328.9 MB, free: 4.039 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001392/0.004691, allocations: 75.88 kB / 329 MB, free: 3.965 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.672e-05/0.004758, allocations: 67.7 kB / 329 MB, free: 3.898 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.574e-05/0.004813, allocations: 60.3 kB / 329.1 MB, free: 3.84 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002616/0.005075, allocations: 274.8 kB / 329.4 MB, free: 3.57 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.462e-06/0.005077, allocations: 0 / 329.4 MB, free: 3.57 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.005077, allocations: 0 / 329.4 MB, free: 3.57 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.005082, allocations: 0 / 329.4 MB, free: 3.57 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.000503/0.005585, allocations: 469.3 kB / 329.8 MB, free: 3.09 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.942e-05/0.005615, allocations: 8.031 kB / 329.8 MB, free: 3.082 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.671e-05/0.005661, allocations: 32.91 kB / 329.9 MB, free: 3.051 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.005796, allocations: 161.4 kB / 330 MB, free: 2.867 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.005812, allocations: 24.86 kB / 330 MB, free: 2.844 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.212e-05/0.005834, allocations: 20.38 kB / 330.1 MB, free: 2.824 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002345/0.006069, allocations: 221 kB / 330.3 MB, free: 2.598 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.006078, allocations: 3.938 kB / 330.3 MB, free: 2.594 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.726e-05/0.006095, allocations: 11.98 kB / 330.3 MB, free: 2.582 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.318e-05/0.006128, allocations: 32.64 kB / 330.3 MB, free: 2.551 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001164/0.006244, allocations: 96.55 kB / 330.4 MB, free: 2.453 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006058/0.00685, allocations: 0.5257 MB / 330.9 MB, free: 1.91 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000142/0.006992, allocations: 136 kB / 331.1 MB, free: 1.766 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.836e-05/0.00703, allocations: 24.84 kB / 331.1 MB, free: 1.738 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.007051, allocations: 4 kB / 331.1 MB, free: 1.734 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/0.007071, allocations: 34.55 kB / 331.1 MB, free: 1.691 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.142e-06/0.007072, allocations: 0 / 331.1 MB, free: 1.691 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0001886/0.007261, allocations: 112 kB / 331.2 MB, free: 1.578 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.403e-05/0.007285, allocations: 51.41 kB / 331.3 MB, free: 1.516 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.427e-05/0.007379, allocations: 178.4 kB / 331.5 MB, free: 1.328 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.007395, allocations: 29.7 kB / 331.5 MB, free: 1.293 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.721e-05/0.007463, allocations: 184.3 kB / 331.7 MB, free: 1.105 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.391e-05/0.007496, allocations: 55.52 kB / 331.7 MB, free: 1.051 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.889e-05/0.007555, allocations: 57.8 kB / 331.8 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.67e-05/0.007632, allocations: 326.8 kB / 332.1 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.35e-05/0.007676, allocations: 31.28 kB / 332.1 MB, free: 0.625 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.747e-05/0.007753, allocations: 105.2 kB / 332.2 MB, free: 496 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000139/0.007892, allocations: 160.6 kB / 332.4 MB, free: 292 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.007894, allocations: 0 / 332.4 MB, free: 292 kB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0001712/0.008065, allocations: 166.6 kB / 332.6 MB, free: 120 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/0.008076, allocations: 8 kB / 332.6 MB, free: 112 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.008081, allocations: 4 kB / 332.6 MB, free: 108 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.008092, allocations: 4 kB / 332.6 MB, free: 104 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002981/0.00839, allocations: 95.88 kB / 332.7 MB, free: 8 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001101/0.009492, allocations: 3.553 MB / 336.2 MB, free: 12.3 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.666e-05/0.009568, allocations: 23.84 kB / 336.2 MB, free: 12.28 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.653e-05/0.009585, allocations: 15.98 kB / 336.3 MB, free: 12.26 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 9.19e-05/0.009677, allocations: 139.9 kB / 336.4 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.709e-05/0.009704, allocations: 11.98 kB / 336.4 MB, free: 12.11 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002036/0.009908, allocations: 151.2 kB / 336.6 MB, free: 11.95 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.00991, allocations: 0 / 336.6 MB, free: 11.95 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.009912, allocations: 0 / 336.6 MB, free: 11.95 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.009915, allocations: 0 / 336.6 MB, free: 11.95 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001506/0.01007, allocations: 141.6 kB / 336.7 MB, free: 11.79 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.01007, allocations: 8 kB / 336.7 MB, free: 11.79 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002649/0.01033, allocations: 75.95 kB / 336.8 MB, free: 11.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.01034, allocations: 4 kB / 336.8 MB, free: 11.71 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.01035, allocations: 3.984 kB / 336.8 MB, free: 11.7 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001036/0.01138, allocations: 3.571 MB / 340.4 MB, free: 7.977 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.01139, allocations: 3.984 kB / 340.4 MB, free: 7.973 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001484/0.01154, allocations: 236.2 kB / 340.6 MB, free: 7.727 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.309e-05/0.01155, allocations: 19.84 kB / 340.6 MB, free: 7.707 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.89e-05/0.01157, allocations: 7.984 kB / 340.6 MB, free: 7.699 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.325e-05/0.01163, allocations: 4 kB / 340.6 MB, free: 7.695 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.015e-05/0.01167, allocations: 19.91 kB / 340.6 MB, free: 7.676 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.01168, allocations: 0 / 340.6 MB, free: 7.676 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.306e-05/0.01171, allocations: 49.86 kB / 340.7 MB, free: 7.625 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01171, allocations: 0 / 340.7 MB, free: 7.625 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002036/0.01192, allocations: 91.78 kB / 340.8 MB, free: 7.535 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.0001455/0.01206, allocations: 108.3 kB / 340.9 MB, free: 7.422 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003195/0.01238, allocations: 156.6 kB / 341 MB, free: 7.266 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.01239, allocations: 3.938 kB / 341 MB, free: 7.262 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002009/0.01259, allocations: 96.78 kB / 341.1 MB, free: 7.164 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001729/0.01276, allocations: 40.03 kB / 341.2 MB, free: 7.129 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007091/0.01347, allocations: 487.5 kB / 341.7 MB, free: 6.621 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.907e-05/0.01353, allocations: 107.8 kB / 341.8 MB, free: 6.496 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.902e-05/0.01359, allocations: 21.48 kB / 341.8 MB, free: 6.477 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.017e-05/0.01367, allocations: 75.34 kB / 341.9 MB, free: 6.402 MB / 314.7 MB Notification: Performance of SimCode: time 8.72e-07/0.01367, allocations: 0 / 341.9 MB, free: 6.402 MB / 314.7 MB Notification: Performance of Templates: time 0.005696/0.01936, allocations: 4.41 MB / 346.3 MB, free: 2.086 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.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.1.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.025299242697656]