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.001009/0.001009, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001088/0.001088, allocations: 167.3 kB / 24.99 MB, free: 8.746 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.9764/0.9764, allocations: 177.1 MB / 205.3 MB, free: 5.645 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.2494/0.2494, allocations: 32.81 MB / 294.6 MB, free: 1.285 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.613e-06/1.613e-06, allocations: 0 / 376 MB, free: 4.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.835e-05/1.996e-05, allocations: 10.25 kB / 376 MB, free: 4.961 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.004859/0.004879, allocations: 2.071 MB / 378.1 MB, free: 2.879 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001583/0.006462, allocations: 1.122 MB / 379.2 MB, free: 1.754 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.942e-05/0.006561, allocations: 3.938 kB / 379.2 MB, free: 1.75 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000269/0.00683, allocations: 55.67 kB / 379.3 MB, free: 1.695 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002029/0.007033, allocations: 91.33 kB / 379.4 MB, free: 1.605 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004439/0.007477, allocations: 179.2 kB / 379.6 MB, free: 1.43 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003052/0.007782, allocations: 342.3 kB / 379.9 MB, free: 1.094 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.403e-05/0.007836, allocations: 12.94 kB / 379.9 MB, free: 1.082 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002196/0.008056, allocations: 155.5 kB / 380 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001257/0.008182, allocations: 115.6 kB / 380.2 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.209e-05/0.008204, allocations: 12 kB / 380.2 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002065/0.00841, allocations: 159.7 kB / 380.3 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.353e-05/0.008484, allocations: 71.69 kB / 380.4 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.309e-05/0.008557, allocations: 87.64 kB / 380.5 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003947/0.008952, allocations: 362.6 kB / 380.8 MB, free: 140 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.275e-06/0.008954, allocations: 0 / 380.8 MB, free: 140 kB / 346.7 MB Notification: Performance of FrontEnd: time 6.52e-07/0.008955, allocations: 0 / 380.8 MB, free: 140 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.469e-06/0.008959, allocations: 0 / 380.8 MB, free: 140 kB / 346.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.0006864/0.009646, allocations: 0.6479 MB / 381.5 MB, free: 15.45 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.009682, allocations: 12.03 kB / 381.5 MB, free: 15.44 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000228/0.00991, allocations: 84.7 kB / 381.6 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002167/0.01013, allocations: 196.1 kB / 381.8 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/0.01014, allocations: 21.03 kB / 381.8 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.886e-05/0.01017, allocations: 32.06 kB / 381.8 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003596/0.01053, allocations: 310.7 kB / 382.1 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.01055, allocations: 0 / 382.1 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.999e-05/0.01057, allocations: 8 kB / 382.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-05/0.0106, allocations: 28.64 kB / 382.2 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001696/0.01077, allocations: 103.8 kB / 382.3 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008758/0.01165, allocations: 1.082 MB / 383.3 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001913/0.01184, allocations: 153.2 kB / 383.5 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.722e-05/0.01191, allocations: 46.98 kB / 383.5 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.887e-05/0.01194, allocations: 8 kB / 383.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.01196, allocations: 45.31 kB / 383.6 MB, free: 13.18 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.072e-06/0.01196, allocations: 0 / 383.6 MB, free: 13.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003173/0.01228, allocations: 145.5 kB / 383.7 MB, free: 13.03 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/0.01232, allocations: 106.8 kB / 383.8 MB, free: 12.9 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001827/0.0125, allocations: 308.2 kB / 384.1 MB, free: 12.58 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.01252, allocations: 25.7 kB / 384.2 MB, free: 12.55 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.01263, allocations: 262.9 kB / 384.4 MB, free: 12.29 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.905e-05/0.01266, allocations: 47.59 kB / 384.5 MB, free: 12.24 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.547e-05/0.01274, allocations: 75.58 kB / 384.5 MB, free: 12.15 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.01287, allocations: 0.504 MB / 385 MB, free: 11.64 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.051e-05/0.01294, allocations: 32.2 kB / 385.1 MB, free: 11.61 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001494/0.01309, allocations: 199.3 kB / 385.3 MB, free: 11.34 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002243/0.01331, allocations: 254.4 kB / 385.5 MB, free: 11.01 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.01332, allocations: 0 / 385.5 MB, free: 11.01 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002909/0.01361, allocations: 233.3 kB / 385.8 MB, free: 10.78 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.01362, allocations: 8 kB / 385.8 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.496e-05/0.01364, allocations: 20 kB / 385.8 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.01366, allocations: 8 kB / 385.8 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.01377, allocations: 43.84 kB / 385.8 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.01378, allocations: 11.98 kB / 385.8 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001067/0.01389, allocations: 31.78 kB / 385.9 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.064e-05/0.01391, allocations: 20.27 kB / 385.9 MB, free: 10.64 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.0001031/0.01401, allocations: 191.4 kB / 386.1 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.927e-05/0.01406, allocations: 23.86 kB / 386.1 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002377/0.0143, allocations: 167.7 kB / 386.3 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.0143, allocations: 8 kB / 386.3 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.01431, allocations: 0 / 386.3 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.01431, allocations: 4 kB / 386.3 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002643/0.01458, allocations: 248.4 kB / 386.5 MB, free: 9.965 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.879e-05/0.01459, allocations: 24 kB / 386.5 MB, free: 9.941 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.228e-05/0.01465, allocations: 15.98 kB / 386.6 MB, free: 9.926 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.01465, allocations: 0 / 386.6 MB, free: 9.926 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/0.01466, allocations: 19.92 kB / 386.6 MB, free: 9.906 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.01467, allocations: 0 / 386.6 MB, free: 9.906 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.01467, allocations: 0 / 386.6 MB, free: 9.906 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002706/0.01494, allocations: 0.5125 MB / 387.1 MB, free: 9.375 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.877e-05/0.01496, allocations: 11.91 kB / 387.1 MB, free: 9.363 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.419e-05/0.01498, allocations: 11.98 kB / 387.1 MB, free: 9.352 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.01508, allocations: 8 kB / 387.1 MB, free: 9.344 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.641e-05/0.01514, allocations: 23.91 kB / 387.1 MB, free: 9.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.01515, allocations: 8 kB / 387.2 MB, free: 9.312 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.178e-05/0.01524, allocations: 197.1 kB / 387.3 MB, free: 9.125 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.01524, allocations: 0 / 387.3 MB, free: 9.125 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003354/0.01558, allocations: 111.7 kB / 387.5 MB, free: 9.016 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.0001971/0.01577, allocations: 155.1 kB / 387.6 MB, free: 8.852 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000281/0.01605, allocations: 281.6 kB / 387.9 MB, free: 8.535 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.01606, allocations: 1.062 kB / 387.9 MB, free: 8.535 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001206/0.01618, allocations: 213.8 kB / 388.1 MB, free: 8.285 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003271/0.0165, allocations: 40.59 kB / 388.1 MB, free: 8.242 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009189/0.01742, allocations: 0.5333 MB / 388.7 MB, free: 7.668 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.158e-05/0.01749, allocations: 107.9 kB / 388.8 MB, free: 7.539 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.635e-05/0.01758, allocations: 45.58 kB / 388.8 MB, free: 7.492 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.622e-05/0.01762, allocations: 20.5 kB / 388.8 MB, free: 7.473 MB / 362.7 MB Notification: Performance of SimCode: time 6.52e-07/0.01762, allocations: 0 / 388.8 MB, free: 7.473 MB / 362.7 MB Notification: Performance of Templates: time 0.005726/0.02334, allocations: 4.33 MB / 393.2 MB, free: 3.227 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.2856952662114054]