Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001117/0.001117, allocations: 79.69 kB / 21.7 MB, free: 2.852 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001245/0.001245, allocations: 163 kB / 24.99 MB, free: 9.324 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.038/1.038, allocations: 177 MB / 205.2 MB, free: 5.227 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2843/0.2843, allocations: 34.86 MB / 296.6 MB, free: 0.5078 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.545e-06/2.545e-06, allocations: 0 / 378.8 MB, free: 2.375 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.287e-05/3.542e-05, allocations: 3.156 kB / 378.8 MB, free: 2.371 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.003788/0.003823, allocations: 2.07 MB / 380.9 MB, free: 296 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001723/0.005546, allocations: 1.129 MB / 382 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001246/0.005671, allocations: 4 kB / 382 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002672/0.005938, allocations: 47.64 kB / 382 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001855/0.006124, allocations: 87.44 kB / 382.1 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005648/0.006688, allocations: 187.2 kB / 382.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004002/0.007089, allocations: 338.3 kB / 382.6 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.715e-05/0.007146, allocations: 8.938 kB / 382.6 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002731/0.007419, allocations: 159.5 kB / 382.8 MB, free: 14.34 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001463/0.007565, allocations: 119.6 kB / 382.9 MB, free: 14.22 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.558e-05/0.007591, allocations: 8 kB / 382.9 MB, free: 14.21 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003012/0.007892, allocations: 151.7 kB / 383.1 MB, free: 14.07 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001191/0.008011, allocations: 79.67 kB / 383.1 MB, free: 13.99 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001012/0.008112, allocations: 75.72 kB / 383.2 MB, free: 13.91 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004924/0.008605, allocations: 370.5 kB / 383.6 MB, free: 13.55 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.008609, allocations: 8 kB / 383.6 MB, free: 13.54 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.008611, allocations: 0 / 383.6 MB, free: 13.54 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.008619, allocations: 0 / 383.6 MB, free: 13.54 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.0009448/0.009563, allocations: 0.6479 MB / 384.2 MB, free: 12.86 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.667e-05/0.00962, allocations: 8.031 kB / 384.2 MB, free: 12.85 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003266/0.009947, allocations: 84.72 kB / 384.3 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000299/0.01025, allocations: 200.1 kB / 384.5 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/0.01027, allocations: 21.03 kB / 384.5 MB, free: 12.53 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.665e-05/0.0103, allocations: 28.12 kB / 384.6 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004236/0.01073, allocations: 302.7 kB / 384.9 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.01074, allocations: 0 / 384.9 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.42e-05/0.01076, allocations: 12 kB / 384.9 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.944e-05/0.0108, allocations: 20.59 kB / 384.9 MB, free: 12.14 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001921/0.01099, allocations: 119.8 kB / 385 MB, free: 12.03 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001036/0.01203, allocations: 1.09 MB / 386.1 MB, free: 10.88 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002292/0.01226, allocations: 141.3 kB / 386.2 MB, free: 10.71 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.681e-05/0.01234, allocations: 54.98 kB / 386.3 MB, free: 10.64 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.475e-05/0.01237, allocations: 7.938 kB / 386.3 MB, free: 10.63 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/0.0124, allocations: 41.39 kB / 386.3 MB, free: 10.58 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.563e-06/0.0124, allocations: 0 / 386.3 MB, free: 10.58 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003528/0.01275, allocations: 141.7 kB / 386.5 MB, free: 10.44 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.722e-05/0.01281, allocations: 114.8 kB / 386.6 MB, free: 10.3 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001987/0.01301, allocations: 308.2 kB / 386.9 MB, free: 9.984 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.01303, allocations: 25.7 kB / 386.9 MB, free: 9.953 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.01315, allocations: 259 kB / 387.2 MB, free: 9.695 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.533e-05/0.01318, allocations: 51.59 kB / 387.2 MB, free: 9.645 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.809e-05/0.01326, allocations: 71.58 kB / 387.3 MB, free: 9.562 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.01339, allocations: 0.5079 MB / 387.8 MB, free: 9.043 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.94e-05/0.01346, allocations: 24.2 kB / 387.8 MB, free: 9.02 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001502/0.01361, allocations: 207.2 kB / 388 MB, free: 8.742 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002346/0.01385, allocations: 246.2 kB / 388.3 MB, free: 8.426 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.01385, allocations: 7.938 kB / 388.3 MB, free: 8.418 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002998/0.01415, allocations: 229.5 kB / 388.5 MB, free: 8.188 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.01417, allocations: 4 kB / 388.5 MB, free: 8.184 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.847e-05/0.0142, allocations: 24 kB / 388.5 MB, free: 8.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.01421, allocations: 4 kB / 388.5 MB, free: 8.156 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.01434, allocations: 43.91 kB / 388.6 MB, free: 8.113 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.01435, allocations: 7.938 kB / 388.6 MB, free: 8.105 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.01446, allocations: 39.77 kB / 388.6 MB, free: 8.066 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.154e-05/0.01448, allocations: 19.98 kB / 388.6 MB, free: 8.047 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.0001154/0.0146, allocations: 186 kB / 388.8 MB, free: 7.855 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.357e-05/0.01465, allocations: 27.86 kB / 388.8 MB, free: 7.828 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002778/0.01493, allocations: 163.4 kB / 389 MB, free: 7.668 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.01494, allocations: 4 kB / 389 MB, free: 7.664 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.01494, allocations: 0 / 389 MB, free: 7.664 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.01495, allocations: 0 / 389 MB, free: 7.664 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002988/0.01525, allocations: 248.4 kB / 389.3 MB, free: 7.387 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.239e-05/0.01527, allocations: 19.98 kB / 389.3 MB, free: 7.367 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.437e-05/0.01533, allocations: 27.92 kB / 389.3 MB, free: 7.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.287e-06/0.01534, allocations: 0 / 389.3 MB, free: 7.34 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.01535, allocations: 8 kB / 389.3 MB, free: 7.332 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.01535, allocations: 0 / 389.3 MB, free: 7.332 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.01536, allocations: 7.984 kB / 389.3 MB, free: 7.324 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003572/0.01571, allocations: 0.5014 MB / 389.8 MB, free: 6.805 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.342e-05/0.01574, allocations: 15.91 kB / 389.8 MB, free: 6.789 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.41e-05/0.01576, allocations: 4 kB / 389.8 MB, free: 6.785 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.01587, allocations: 15.92 kB / 389.9 MB, free: 6.77 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.307e-05/0.01593, allocations: 19.97 kB / 389.9 MB, free: 6.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/0.01594, allocations: 12 kB / 389.9 MB, free: 6.738 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001002/0.01604, allocations: 193.1 kB / 390.1 MB, free: 6.551 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01604, allocations: 0 / 390.1 MB, free: 6.551 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003608/0.0164, allocations: 115.6 kB / 390.2 MB, free: 6.438 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.0002429/0.01665, allocations: 167 kB / 390.3 MB, free: 6.262 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003265/0.01697, allocations: 285.8 kB / 390.6 MB, free: 5.941 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.01698, allocations: 1.062 kB / 390.6 MB, free: 5.941 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001407/0.01712, allocations: 209.8 kB / 390.8 MB, free: 5.695 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/0.01747, allocations: 41.03 kB / 390.9 MB, free: 5.652 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.01854, allocations: 0.5294 MB / 391.4 MB, free: 5.082 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.299e-05/0.01863, allocations: 111.9 kB / 391.5 MB, free: 4.949 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.419e-05/0.01872, allocations: 37.59 kB / 391.5 MB, free: 4.91 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.137e-05/0.01876, allocations: 20.5 kB / 391.6 MB, free: 4.891 MB / 362.7 MB Notification: Performance of SimCode: time 8.72e-07/0.01876, allocations: 0 / 391.6 MB, free: 4.891 MB / 362.7 MB Notification: Performance of Templates: time 0.006576/0.02534, allocations: 4.342 MB / 395.9 MB, free: 0.6367 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.3351754078175873]