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.001187/0.001187, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.001505/0.001505, allocations: 161 kB / 24.56 MB, free: 12 kB / 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.005/1.005, allocations: 177.1 MB / 205 MB, free: 5.219 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.2935/0.2935, allocations: 32.8 MB / 294.3 MB, free: 1.234 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.492e-06/1.492e-06, allocations: 0 / 376 MB, free: 4.652 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.68e-05/2.829e-05, allocations: 2.312 kB / 376 MB, free: 4.648 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.002876/0.002904, allocations: 2.082 MB / 378.1 MB, free: 2.555 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001507/0.004411, allocations: 1.125 MB / 379.3 MB, free: 1.426 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001276/0.004538, allocations: 4 kB / 379.3 MB, free: 1.422 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002974/0.004836, allocations: 51.62 kB / 379.3 MB, free: 1.371 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002331/0.005069, allocations: 95.38 kB / 379.4 MB, free: 1.277 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006486/0.005717, allocations: 183.2 kB / 379.6 MB, free: 1.098 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003704/0.006088, allocations: 338.3 kB / 379.9 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.096e-05/0.006139, allocations: 12.94 kB / 379.9 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002494/0.006388, allocations: 163.4 kB / 380.1 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001472/0.006535, allocations: 115.6 kB / 380.2 MB, free: 492 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.54e-05/0.006561, allocations: 8 kB / 380.2 MB, free: 484 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002733/0.006834, allocations: 147.8 kB / 380.3 MB, free: 336 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.222e-05/0.006916, allocations: 79.67 kB / 380.4 MB, free: 256 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 8.612e-05/0.007002, allocations: 79.66 kB / 380.5 MB, free: 176 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004364/0.007439, allocations: 378.5 kB / 380.9 MB, free: 15.8 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.007442, allocations: 0 / 380.9 MB, free: 15.8 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.007443, allocations: 0 / 380.9 MB, free: 15.8 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.007449, allocations: 0 / 380.9 MB, free: 15.8 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.0007472/0.008196, allocations: 0.6479 MB / 381.5 MB, free: 15.12 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.008236, allocations: 8.031 kB / 381.5 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002547/0.008491, allocations: 84.72 kB / 381.6 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002605/0.008752, allocations: 200.1 kB / 381.8 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.494e-05/0.008776, allocations: 21.03 kB / 381.8 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.132e-05/0.008808, allocations: 28.12 kB / 381.9 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004062/0.009214, allocations: 306.7 kB / 382.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.009225, allocations: 0 / 382.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.243e-05/0.009247, allocations: 12 kB / 382.2 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.562e-05/0.009283, allocations: 12.66 kB / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001681/0.009451, allocations: 111.8 kB / 382.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009806/0.01043, allocations: 1.09 MB / 383.4 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002223/0.01065, allocations: 153.2 kB / 383.5 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.223e-05/0.01073, allocations: 54.92 kB / 383.6 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.951e-05/0.01077, allocations: 4 kB / 383.6 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.01079, allocations: 41.39 kB / 383.6 MB, free: 12.84 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.853e-06/0.01079, allocations: 0 / 383.6 MB, free: 12.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003494/0.01114, allocations: 145.4 kB / 383.8 MB, free: 12.7 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.01118, allocations: 106.8 kB / 383.9 MB, free: 12.57 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001754/0.01136, allocations: 304.2 kB / 384.2 MB, free: 12.25 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.01138, allocations: 29.95 kB / 384.2 MB, free: 12.21 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.01149, allocations: 258.9 kB / 384.5 MB, free: 11.96 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.953e-05/0.01152, allocations: 51.59 kB / 384.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.851e-05/0.01158, allocations: 67.59 kB / 384.6 MB, free: 11.83 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003839/0.01197, allocations: 0.5117 MB / 385.1 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.594e-05/0.01203, allocations: 28.22 kB / 385.1 MB, free: 11.28 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001327/0.01217, allocations: 203.2 kB / 385.3 MB, free: 11 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002195/0.01239, allocations: 250.1 kB / 385.5 MB, free: 10.68 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/0.01239, allocations: 8 kB / 385.6 MB, free: 10.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002866/0.01268, allocations: 217.5 kB / 385.8 MB, free: 10.46 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.0127, allocations: 15.02 kB / 385.8 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.782e-05/0.01272, allocations: 24 kB / 385.8 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.01274, allocations: 4 kB / 385.8 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.01287, allocations: 47.91 kB / 385.9 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.01288, allocations: 11.88 kB / 385.9 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.01299, allocations: 39.77 kB / 385.9 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.782e-05/0.013, allocations: 12 kB / 385.9 MB, free: 10.31 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_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 (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.0001112/0.01312, allocations: 184.4 kB / 386.1 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.103e-05/0.01317, allocations: 27.86 kB / 386.1 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002458/0.01341, allocations: 175.3 kB / 386.3 MB, free: 9.918 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.01342, allocations: 4 kB / 386.3 MB, free: 9.914 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.01342, allocations: 0 / 386.3 MB, free: 9.914 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.01342, allocations: 0 / 386.3 MB, free: 9.914 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002666/0.01369, allocations: 252.4 kB / 386.5 MB, free: 9.633 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.067e-05/0.01371, allocations: 23.98 kB / 386.6 MB, free: 9.609 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.478e-05/0.01377, allocations: 15.98 kB / 386.6 MB, free: 9.594 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.01377, allocations: 0 / 386.6 MB, free: 9.594 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.01378, allocations: 4 kB / 386.6 MB, free: 9.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.01379, allocations: 8 kB / 386.6 MB, free: 9.582 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.01379, allocations: 0 / 386.6 MB, free: 9.582 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002953/0.01408, allocations: 0.5175 MB / 387.1 MB, free: 9.043 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.197e-05/0.0141, allocations: 15.91 kB / 387.1 MB, free: 9.027 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.183e-05/0.01413, allocations: 0 / 387.1 MB, free: 9.027 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.926e-05/0.01423, allocations: 15.98 kB / 387.1 MB, free: 9.012 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.51e-05/0.01428, allocations: 15.98 kB / 387.2 MB, free: 8.996 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.01429, allocations: 11.98 kB / 387.2 MB, free: 8.984 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.26e-05/0.01439, allocations: 193.1 kB / 387.4 MB, free: 8.801 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01439, allocations: 0 / 387.4 MB, free: 8.801 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000379/0.01476, allocations: 115.6 kB / 387.5 MB, free: 8.688 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.0002538/0.01502, allocations: 155.1 kB / 387.6 MB, free: 8.523 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003058/0.01532, allocations: 293.5 kB / 387.9 MB, free: 8.195 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01533, allocations: 0 / 387.9 MB, free: 8.195 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001224/0.01545, allocations: 213.8 kB / 388.1 MB, free: 7.945 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003396/0.01579, allocations: 32.11 kB / 388.2 MB, free: 7.914 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000966/0.01675, allocations: 0.5295 MB / 388.7 MB, free: 7.344 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.413e-05/0.01683, allocations: 115.9 kB / 388.8 MB, free: 7.207 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.723e-05/0.01692, allocations: 33.59 kB / 388.8 MB, free: 7.172 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.902e-05/0.01695, allocations: 24.48 kB / 388.9 MB, free: 7.148 MB / 362.7 MB Notification: Performance of SimCode: time 1.222e-06/0.01696, allocations: 0 / 388.9 MB, free: 7.148 MB / 362.7 MB Notification: Performance of Templates: time 0.00728/0.02424, allocations: 4.917 MB / 393.8 MB, free: 2.312 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.2513614492490888]