Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.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.0009758/0.0009758, allocations: 87.67 kB / 21.19 MB, free: 3.367 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.001025/0.001025, allocations: 156.5 kB / 24.55 MB, free: 12 kB / 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 0.9439/0.9439, allocations: 177 MB / 204.8 MB, free: 5.176 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.2705/0.2705, allocations: 34.86 MB / 296.3 MB, free: 496 kB / 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.HelicalPipe.kc_turbulent_KC,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|n_nt.[0-9,]+.|cp.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|Nu.[0-9,]+.|m_flow_1.[0-9,]+.|m_flow_2.[0-9,]+.|m_flow_3.[0-9,]+.|kc_1.[0-9,]+.|kc_2.[0-9,]+.|kc_3.[0-9,]+.|Re_1.[0-9,]+.|Re_2.[0-9,]+.|Re_3.[0-9,]+.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|n_nt.[0-9,]+.|cp.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|Nu.[0-9,]+.|m_flow_1.[0-9,]+.|m_flow_2.[0-9,]+.|m_flow_3.[0-9,]+.|kc_1.[0-9,]+.|kc_2.[0-9,]+.|kc_3.[0-9,]+.|Re_1.[0-9,]+.|Re_2.[0-9,]+.|Re_3.[0-9,]+.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 378.8 MB, free: 2.023 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.924e-05/2.098e-05, allocations: 4.984 kB / 378.8 MB, free: 2.02 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC): time 0.002299/0.00232, allocations: 2.063 MB / 380.9 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001067/0.003388, allocations: 0.9151 MB / 381.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.696e-05/0.003455, allocations: 4 kB / 381.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002466/0.003701, allocations: 59.56 kB / 381.8 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003203/0.004022, allocations: 135.2 kB / 382 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000201/0.004223, allocations: 95.64 kB / 382.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003057/0.004528, allocations: 405.9 kB / 382.5 MB, free: 14.33 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.254e-05/0.004581, allocations: 16.94 kB / 382.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002529/0.004834, allocations: 195.2 kB / 382.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001699/0.005004, allocations: 171.4 kB / 382.8 MB, free: 13.96 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.344e-05/0.005027, allocations: 12 kB / 382.9 MB, free: 13.95 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001347/0.005162, allocations: 67.84 kB / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.514e-05/0.005247, allocations: 103.5 kB / 383 MB, free: 13.78 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.982e-05/0.005327, allocations: 95.59 kB / 383.1 MB, free: 13.68 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003342/0.005661, allocations: 382.4 kB / 383.5 MB, free: 13.31 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.005663, allocations: 0 / 383.5 MB, free: 13.31 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.005664, allocations: 0 / 383.5 MB, free: 13.31 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.678e-06/0.005669, allocations: 0 / 383.5 MB, free: 13.31 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.000885/0.006554, allocations: 0.6949 MB / 384.2 MB, free: 12.58 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.006601, allocations: 12.03 kB / 384.2 MB, free: 12.57 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.752e-05/0.006689, allocations: 68.66 kB / 384.3 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002295/0.006918, allocations: 221.2 kB / 384.5 MB, free: 12.26 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.006937, allocations: 25.38 kB / 384.5 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.753e-05/0.006975, allocations: 40.36 kB / 384.5 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003755/0.00735, allocations: 319.6 kB / 384.9 MB, free: 11.88 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.007362, allocations: 192 / 384.9 MB, free: 11.88 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.532e-05/0.007387, allocations: 12.38 kB / 384.9 MB, free: 11.86 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-05/0.007441, allocations: 52.84 kB / 384.9 MB, free: 11.81 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002971/0.007738, allocations: 217.9 kB / 385.1 MB, free: 11.6 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009788/0.008717, allocations: 0.9098 MB / 386 MB, free: 10.65 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002393/0.008956, allocations: 135 kB / 386.2 MB, free: 10.51 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.949e-05/0.009035, allocations: 43.67 kB / 386.2 MB, free: 10.46 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.2e-05/0.009067, allocations: 11.98 kB / 386.2 MB, free: 10.45 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.00909, allocations: 49.42 kB / 386.3 MB, free: 10.39 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 1.083e-06/0.009091, allocations: 0 / 386.3 MB, free: 10.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.000361/0.009452, allocations: 190.7 kB / 386.5 MB, free: 10.2 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.539e-05/0.009478, allocations: 51.41 kB / 386.5 MB, free: 10.14 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.876e-05/0.009576, allocations: 207.3 kB / 386.7 MB, free: 9.918 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.009595, allocations: 33.7 kB / 386.7 MB, free: 9.879 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.992e-05/0.009685, allocations: 259.2 kB / 387 MB, free: 9.617 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.328e-05/0.009738, allocations: 79.33 kB / 387.1 MB, free: 9.539 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.221e-05/0.009801, allocations: 59.34 kB / 387.1 MB, free: 9.473 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.009907, allocations: 0.4962 MB / 387.6 MB, free: 8.965 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.76e-05/0.009975, allocations: 35.97 kB / 387.7 MB, free: 8.93 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.473e-05/0.01004, allocations: 38.48 kB / 387.7 MB, free: 8.895 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001474/0.01019, allocations: 86.47 kB / 387.8 MB, free: 8.809 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.01019, allocations: 0 / 387.8 MB, free: 8.809 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002197/0.01041, allocations: 157.5 kB / 387.9 MB, free: 8.648 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.01042, allocations: 4 kB / 387.9 MB, free: 8.645 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.01043, allocations: 3.984 kB / 387.9 MB, free: 8.641 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.01044, allocations: 4 kB / 388 MB, free: 8.637 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000403/0.01084, allocations: 163.9 kB / 388.1 MB, free: 8.477 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002281/0.01312, allocations: 8.149 MB / 396.3 MB, free: 72 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.35e-05/0.01319, allocations: 15.89 kB / 396.3 MB, free: 56 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/0.0132, allocations: 11.98 kB / 396.3 MB, free: 44 kB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 initialization (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 9 systems {1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001013/0.01331, allocations: 164.6 kB / 396.4 MB, free: 15.87 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.837e-05/0.01334, allocations: 31.83 kB / 396.5 MB, free: 15.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003284/0.01367, allocations: 246.5 kB / 396.7 MB, free: 15.59 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.01368, allocations: 4 kB / 396.7 MB, free: 15.59 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.01368, allocations: 0 / 396.7 MB, free: 15.59 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.01368, allocations: 0 / 396.7 MB, free: 15.59 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002342/0.01392, allocations: 300.4 kB / 397 MB, free: 15.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.083e-06/0.01392, allocations: 4.031 kB / 397 MB, free: 15.26 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003204/0.01424, allocations: 151.9 kB / 397.2 MB, free: 15.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.01424, allocations: 3.984 kB / 397.2 MB, free: 15.11 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.01426, allocations: 8 kB / 397.2 MB, free: 15.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002194/0.01645, allocations: 8.137 MB / 405.3 MB, free: 6.703 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.01645, allocations: 4 kB / 405.3 MB, free: 6.699 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000265/0.01672, allocations: 322.4 kB / 405.6 MB, free: 6.367 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.758e-05/0.01674, allocations: 20.16 kB / 405.7 MB, free: 6.348 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.043e-05/0.01676, allocations: 8 kB / 405.7 MB, free: 6.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.968e-05/0.01683, allocations: 8 kB / 405.7 MB, free: 6.332 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.377e-05/0.01688, allocations: 23.95 kB / 405.7 MB, free: 6.309 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/0.01689, allocations: 8 kB / 405.7 MB, free: 6.301 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.407e-05/0.01695, allocations: 155.4 kB / 405.9 MB, free: 6.152 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.01695, allocations: 0 / 405.9 MB, free: 6.152 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002468/0.0172, allocations: 127.6 kB / 406 MB, free: 6.027 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 9 systems {1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003337/0.01753, allocations: 143 kB / 406.1 MB, free: 5.875 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006532/0.01818, allocations: 247.4 kB / 406.4 MB, free: 5.629 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.01818, allocations: 0 / 406.4 MB, free: 5.629 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000478/0.01866, allocations: 206.3 kB / 406.6 MB, free: 5.426 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002352/0.0189, allocations: 27.98 kB / 406.6 MB, free: 5.398 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009393/0.01984, allocations: 0.6467 MB / 407.2 MB, free: 4.723 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.441e-05/0.01991, allocations: 135.9 kB / 407.4 MB, free: 4.57 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.891e-05/0.02, allocations: 49.42 kB / 407.4 MB, free: 4.52 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.717e-05/0.02005, allocations: 24.48 kB / 407.4 MB, free: 4.496 MB / 378.7 MB Notification: Performance of SimCode: time 7.32e-07/0.02005, allocations: 0 / 407.4 MB, free: 4.496 MB / 378.7 MB Notification: Performance of Templates: time 0.006147/0.02619, allocations: 4.987 MB / 412.4 MB, free: 15.62 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_turbulent_KC/kc_turbulent_KC.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.550833520013839]