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.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.001477/0.001477, allocations: 77.88 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.001075/0.001075, allocations: 169.3 kB / 24.82 MB, free: 9.324 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.056/1.056, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.287/0.287, allocations: 32.81 MB / 294.6 MB, free: 1.258 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,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.0.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.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 376.5 MB, free: 4.391 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.745e-05/1.915e-05, allocations: 2.312 kB / 376.5 MB, free: 4.387 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.002396/0.002415, allocations: 2.078 MB / 378.6 MB, free: 2.297 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001371/0.003786, allocations: 1.106 MB / 379.7 MB, free: 1.188 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.003887, allocations: 4 kB / 379.7 MB, free: 1.184 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002385/0.004125, allocations: 55.61 kB / 379.7 MB, free: 1.129 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001876/0.004313, allocations: 91.45 kB / 379.8 MB, free: 1.039 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005295/0.004842, allocations: 187.2 kB / 380 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003091/0.005151, allocations: 342.3 kB / 380.4 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.457e-05/0.005196, allocations: 12.94 kB / 380.4 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002135/0.005409, allocations: 155.4 kB / 380.5 MB, free: 364 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001345/0.005544, allocations: 119.6 kB / 380.6 MB, free: 244 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.197e-05/0.005566, allocations: 8 kB / 380.6 MB, free: 236 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002462/0.005812, allocations: 151.8 kB / 380.8 MB, free: 84 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.46e-05/0.005887, allocations: 71.7 kB / 380.9 MB, free: 12 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005043/0.006391, allocations: 87.62 kB / 380.9 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003916/0.006783, allocations: 374.5 kB / 381.3 MB, free: 15.56 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.993e-06/0.006785, allocations: 0 / 381.3 MB, free: 15.56 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.006785, allocations: 0 / 381.3 MB, free: 15.56 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.006789, allocations: 0 / 381.3 MB, free: 15.56 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.0006186/0.007408, allocations: 0.6517 MB / 382 MB, free: 14.87 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.007442, allocations: 12.03 kB / 382 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002139/0.007656, allocations: 76.72 kB / 382 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001863/0.007843, allocations: 192.1 kB / 382.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.007858, allocations: 21.03 kB / 382.3 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.402e-05/0.007882, allocations: 28.12 kB / 382.3 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002967/0.008178, allocations: 294.7 kB / 382.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.008187, allocations: 0 / 382.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.008203, allocations: 8 kB / 382.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.6e-05/0.008229, allocations: 16.66 kB / 382.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001133/0.008342, allocations: 84.47 kB / 382.7 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009877/0.00933, allocations: 1.024 MB / 383.7 MB, free: 13.03 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001506/0.009481, allocations: 141.3 kB / 383.8 MB, free: 12.85 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.671e-05/0.009527, allocations: 39 kB / 383.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.777e-05/0.009555, allocations: 11.88 kB / 383.9 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.009577, allocations: 49.36 kB / 383.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.442e-06/0.009579, allocations: 0 / 383.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002521/0.009831, allocations: 129.5 kB / 384.1 MB, free: 12.6 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.671e-05/0.009868, allocations: 106.8 kB / 384.2 MB, free: 12.47 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000154/0.01002, allocations: 304.3 kB / 384.5 MB, free: 12.15 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.01004, allocations: 33.7 kB / 384.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/0.01016, allocations: 258.9 kB / 384.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.891e-05/0.0102, allocations: 55.52 kB / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.301e-05/0.01029, allocations: 67.56 kB / 384.9 MB, free: 11.72 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.01043, allocations: 0.5117 MB / 385.4 MB, free: 11.2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.603e-05/0.01049, allocations: 24.2 kB / 385.4 MB, free: 11.18 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001449/0.01064, allocations: 195.2 kB / 385.6 MB, free: 10.91 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002382/0.01088, allocations: 250.1 kB / 385.8 MB, free: 10.59 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.01088, allocations: 4 kB / 385.8 MB, free: 10.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003219/0.0112, allocations: 213.6 kB / 386.1 MB, free: 10.37 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.01122, allocations: 12.06 kB / 386.1 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.403e-05/0.01125, allocations: 20 kB / 386.1 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.01127, allocations: 4 kB / 386.1 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.0114, allocations: 43.91 kB / 386.1 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.096e-06/0.01141, allocations: 7.938 kB / 386.1 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001364/0.01154, allocations: 39.77 kB / 386.2 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.349e-05/0.01157, allocations: 16 kB / 386.2 MB, free: 10.23 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.0001142/0.01168, allocations: 183.4 kB / 386.4 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.066e-05/0.01175, allocations: 23.86 kB / 386.4 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002667/0.01202, allocations: 171.3 kB / 386.6 MB, free: 9.852 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.01202, allocations: 0 / 386.6 MB, free: 9.852 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.01203, allocations: 4 kB / 386.6 MB, free: 9.848 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.01203, allocations: 0 / 386.6 MB, free: 9.848 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003101/0.01234, allocations: 185.1 kB / 386.8 MB, free: 9.641 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.692e-05/0.01237, allocations: 23.94 kB / 386.8 MB, free: 9.617 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.854e-05/0.01243, allocations: 15.98 kB / 386.8 MB, free: 9.602 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.01244, allocations: 3.984 kB / 386.8 MB, free: 9.598 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.01245, allocations: 8 kB / 386.8 MB, free: 9.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.01246, allocations: 4 kB / 386.8 MB, free: 9.586 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.01246, allocations: 0 / 386.8 MB, free: 9.586 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002947/0.01275, allocations: 0.4984 MB / 387.3 MB, free: 9.066 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.658e-05/0.01278, allocations: 23.83 kB / 387.3 MB, free: 9.043 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.501e-05/0.0128, allocations: 8 kB / 387.3 MB, free: 9.035 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000152/0.01296, allocations: 4 kB / 387.3 MB, free: 9.031 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.992e-05/0.01301, allocations: 19.97 kB / 387.4 MB, free: 9.012 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.01302, allocations: 11.94 kB / 387.4 MB, free: 9 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.221e-05/0.01311, allocations: 189.1 kB / 387.6 MB, free: 8.82 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01311, allocations: 4 kB / 387.6 MB, free: 8.816 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004597/0.01357, allocations: 111.7 kB / 387.7 MB, free: 8.707 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.0002153/0.01379, allocations: 155.1 kB / 387.8 MB, free: 8.543 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002766/0.01406, allocations: 281.7 kB / 388.1 MB, free: 8.227 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01407, allocations: 0 / 388.1 MB, free: 8.227 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001338/0.0142, allocations: 210.9 kB / 388.3 MB, free: 7.98 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004431/0.01464, allocations: 52.47 kB / 388.4 MB, free: 7.926 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009732/0.01562, allocations: 0.5178 MB / 388.9 MB, free: 7.367 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.687e-05/0.0157, allocations: 115.9 kB / 389 MB, free: 7.234 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.186e-05/0.01578, allocations: 17.61 kB / 389 MB, free: 7.215 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001761/0.01595, allocations: 142.2 kB / 389.1 MB, free: 7.074 MB / 362.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01595, allocations: 0 / 389.1 MB, free: 7.074 MB / 362.7 MB Notification: Performance of Templates: time 0.007824/0.02378, allocations: 4.743 MB / 393.9 MB, free: 2.391 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_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_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.2231078571639955]