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.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.001153/0.001153, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001425/0.001425, allocations: 166.7 kB / 24.82 MB, free: 9.266 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 1.163/1.163, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.3684/0.3684, allocations: 34.27 MB / 296.1 MB, free: 0.7148 MB / 266.7 MB " [Timeout remaining time 179] 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,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|cp.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|m_flow.[0-9,]+.|Re_1.[0-9,]+.|Nu_1.[0-9,]+.|Nu_2.[0-9,]+.|Re|Pr.[0-9,]+.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|cp.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|m_flow.[0-9,]+.|Re_1.[0-9,]+.|Nu_1.[0-9,]+.|Nu_2.[0-9,]+.|Re|Pr.[0-9,]+.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 378.5 MB, free: 2.344 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.627e-05/1.837e-05, allocations: 2.312 kB / 378.5 MB, free: 2.34 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.002984/0.003002, allocations: 2.059 MB / 380.6 MB, free: 276 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002178/0.00518, allocations: 1.114 MB / 381.7 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001661/0.005346, allocations: 7.938 kB / 381.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003682/0.005714, allocations: 47.69 kB / 381.8 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002898/0.006004, allocations: 91.38 kB / 381.9 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007111/0.006715, allocations: 191.2 kB / 382 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004371/0.007152, allocations: 338.3 kB / 382.4 MB, free: 14.49 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.187e-05/0.007224, allocations: 12.94 kB / 382.4 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003257/0.00755, allocations: 155.5 kB / 382.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002088/0.007759, allocations: 127.5 kB / 382.7 MB, free: 14.2 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.247e-05/0.007791, allocations: 8 kB / 382.7 MB, free: 14.19 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003621/0.008153, allocations: 147.8 kB / 382.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.008266, allocations: 75.62 kB / 382.9 MB, free: 13.97 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001048/0.00837, allocations: 79.7 kB / 383 MB, free: 13.89 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005179/0.008888, allocations: 374.6 kB / 383.3 MB, free: 13.53 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.008891, allocations: 3.938 kB / 383.3 MB, free: 13.52 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.12e-07/0.008891, allocations: 0 / 383.3 MB, free: 13.52 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.008896, allocations: 0 / 383.3 MB, free: 13.52 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.0008859/0.009782, allocations: 0.6517 MB / 384 MB, free: 12.84 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.176e-05/0.009834, allocations: 8.031 kB / 384 MB, free: 12.83 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003447/0.01018, allocations: 84.7 kB / 384.1 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002806/0.01046, allocations: 184.1 kB / 384.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.426e-05/0.01048, allocations: 17.03 kB / 384.3 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.771e-05/0.01052, allocations: 32.12 kB / 384.3 MB, free: 12.49 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004624/0.01098, allocations: 286.7 kB / 384.6 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.011, allocations: 7.984 kB / 384.6 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.6e-05/0.01102, allocations: 12 kB / 384.6 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.98e-05/0.01106, allocations: 16.66 kB / 384.6 MB, free: 12.15 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001708/0.01123, allocations: 88.47 kB / 384.7 MB, free: 12.06 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001182/0.01242, allocations: 1.016 MB / 385.7 MB, free: 11 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002454/0.01266, allocations: 141.2 kB / 385.9 MB, free: 10.82 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.045e-05/0.01274, allocations: 43.05 kB / 385.9 MB, free: 10.77 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.295e-05/0.01279, allocations: 11.88 kB / 385.9 MB, free: 10.75 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.727e-05/0.01282, allocations: 49.27 kB / 386 MB, free: 10.7 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.754e-06/0.01282, allocations: 0 / 386 MB, free: 10.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003961/0.01322, allocations: 133.5 kB / 386.1 MB, free: 10.56 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.591e-05/0.01328, allocations: 106.8 kB / 386.2 MB, free: 10.43 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002351/0.01351, allocations: 300.1 kB / 386.5 MB, free: 10.12 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.01353, allocations: 25.7 kB / 386.5 MB, free: 10.09 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000154/0.01369, allocations: 262.9 kB / 386.8 MB, free: 9.828 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.81e-05/0.01373, allocations: 55.58 kB / 386.8 MB, free: 9.773 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/0.01384, allocations: 71.56 kB / 386.9 MB, free: 9.691 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.01401, allocations: 0.5159 MB / 387.4 MB, free: 9.164 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.58e-05/0.01408, allocations: 20.22 kB / 387.4 MB, free: 9.145 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001875/0.01427, allocations: 195.3 kB / 387.6 MB, free: 8.879 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002785/0.01455, allocations: 246.1 kB / 387.9 MB, free: 8.562 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.01455, allocations: 0 / 387.9 MB, free: 8.562 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003439/0.01489, allocations: 221 kB / 388.1 MB, free: 8.34 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.01491, allocations: 4 kB / 388.1 MB, free: 8.336 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.058e-05/0.01494, allocations: 27.98 kB / 388.1 MB, free: 8.309 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.01495, allocations: 4 kB / 388.1 MB, free: 8.305 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.01508, allocations: 44.44 kB / 388.2 MB, free: 8.262 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.01509, allocations: 12 kB / 388.2 MB, free: 8.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.01519, allocations: 35.77 kB / 388.2 MB, free: 8.215 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.858e-05/0.01521, allocations: 12 kB / 388.2 MB, free: 8.203 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (27): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001248/0.01533, allocations: 194.4 kB / 388.4 MB, free: 8.008 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.125e-05/0.01538, allocations: 23.86 kB / 388.4 MB, free: 7.984 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002196/0.0156, allocations: 167.7 kB / 388.6 MB, free: 7.82 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.631e-05/0.01562, allocations: 4 kB / 388.6 MB, free: 7.816 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.315e-06/0.01562, allocations: 4 kB / 388.6 MB, free: 7.812 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.01562, allocations: 3.984 kB / 388.6 MB, free: 7.809 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002423/0.01587, allocations: 185.1 kB / 388.8 MB, free: 7.602 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-05/0.01589, allocations: 19.94 kB / 388.8 MB, free: 7.582 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.134e-05/0.01594, allocations: 15.98 kB / 388.8 MB, free: 7.566 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.01594, allocations: 4 kB / 388.8 MB, free: 7.562 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.01595, allocations: 11.94 kB / 388.8 MB, free: 7.551 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.01596, allocations: 3.984 kB / 388.8 MB, free: 7.547 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.01596, allocations: 4 kB / 388.8 MB, free: 7.543 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002929/0.01625, allocations: 0.4969 MB / 389.3 MB, free: 7.027 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.411e-05/0.01628, allocations: 23.84 kB / 389.4 MB, free: 7.004 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.846e-05/0.01629, allocations: 0 / 389.4 MB, free: 7.004 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.0164, allocations: 15.98 kB / 389.4 MB, free: 6.988 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.821e-05/0.01645, allocations: 23.91 kB / 389.4 MB, free: 6.965 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.01646, allocations: 4 kB / 389.4 MB, free: 6.961 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001125/0.01658, allocations: 189.1 kB / 389.6 MB, free: 6.777 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01658, allocations: 0 / 389.6 MB, free: 6.777 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003595/0.01694, allocations: 111.6 kB / 389.7 MB, free: 6.668 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 (11): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002385/0.01717, allocations: 155.1 kB / 389.8 MB, free: 6.504 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002699/0.01744, allocations: 286 kB / 390.1 MB, free: 6.184 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.01745, allocations: 0 / 390.1 MB, free: 6.184 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001254/0.01757, allocations: 205.8 kB / 390.3 MB, free: 5.941 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003359/0.01791, allocations: 44.42 kB / 390.4 MB, free: 5.895 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000885/0.01879, allocations: 0.5302 MB / 390.9 MB, free: 5.324 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.732e-05/0.01887, allocations: 111.9 kB / 391 MB, free: 5.195 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.262e-05/0.01893, allocations: 21.62 kB / 391 MB, free: 5.172 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001609/0.01909, allocations: 134.2 kB / 391.2 MB, free: 5.039 MB / 362.7 MB Notification: Performance of SimCode: time 1.453e-06/0.01909, allocations: 0 / 391.2 MB, free: 5.039 MB / 362.7 MB Notification: Performance of Templates: time 0.006705/0.0258, allocations: 4.749 MB / 395.9 MB, free: 360 kB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_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_turbulent.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.5703794891014695]