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.0009683/0.0009683, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.001035/0.001035, allocations: 156.5 kB / 24.55 MB, free: 20 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.9728/0.9728, allocations: 177 MB / 204.8 MB, free: 5.609 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.2594/0.2594, allocations: 34.86 MB / 296.3 MB, free: 0.5352 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 6.983e-06/6.983e-06, allocations: 4 kB / 378.8 MB, free: 2.055 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.52e-05/3.218e-05, allocations: 2.312 kB / 378.8 MB, free: 2.051 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.002593/0.002625, allocations: 2.075 MB / 380.9 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001711/0.004336, allocations: 1.133 MB / 382 MB, free: 14.83 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001046/0.004441, allocations: 0 / 382 MB, free: 14.83 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002667/0.004707, allocations: 55.61 kB / 382.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001963/0.004904, allocations: 83.44 kB / 382.1 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005601/0.005464, allocations: 191.1 kB / 382.3 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003302/0.005794, allocations: 342.3 kB / 382.7 MB, free: 14.17 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.013e-05/0.005844, allocations: 12.94 kB / 382.7 MB, free: 14.16 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002432/0.006087, allocations: 159.4 kB / 382.8 MB, free: 14 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001376/0.006225, allocations: 115.6 kB / 382.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.541e-05/0.00625, allocations: 12 kB / 383 MB, free: 13.88 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002517/0.006502, allocations: 155.7 kB / 383.1 MB, free: 13.72 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.205e-05/0.006584, allocations: 79.67 kB / 383.2 MB, free: 13.64 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.691e-05/0.006661, allocations: 75.72 kB / 383.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003999/0.007061, allocations: 374.5 kB / 383.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.007064, allocations: 0 / 383.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.007065, allocations: 0 / 383.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.411e-06/0.007071, allocations: 0 / 383.6 MB, free: 13.2 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.0006899/0.00776, allocations: 0.6479 MB / 384.3 MB, free: 12.52 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.007799, allocations: 8.031 kB / 384.3 MB, free: 12.51 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002533/0.008052, allocations: 88.7 kB / 384.4 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002282/0.00828, allocations: 192.1 kB / 384.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.008298, allocations: 21.03 kB / 384.6 MB, free: 12.19 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.146e-05/0.008329, allocations: 32.12 kB / 384.6 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003902/0.008719, allocations: 306.8 kB / 384.9 MB, free: 11.83 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.008731, allocations: 0 / 384.9 MB, free: 11.83 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.095e-05/0.008751, allocations: 12 kB / 384.9 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.207e-05/0.008784, allocations: 16.59 kB / 384.9 MB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000178/0.008962, allocations: 107.9 kB / 385 MB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009111/0.009873, allocations: 1.09 MB / 386.1 MB, free: 10.55 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002056/0.01008, allocations: 153.2 kB / 386.3 MB, free: 10.37 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.055e-05/0.01015, allocations: 50.98 kB / 386.3 MB, free: 10.3 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.439e-05/0.01018, allocations: 4 kB / 386.3 MB, free: 10.3 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.0102, allocations: 33.39 kB / 386.4 MB, free: 10.26 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.903e-06/0.0102, allocations: 4 kB / 386.4 MB, free: 10.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003306/0.01053, allocations: 141.7 kB / 386.5 MB, free: 10.11 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/0.01058, allocations: 110.8 kB / 386.6 MB, free: 9.977 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001808/0.01076, allocations: 300.2 kB / 386.9 MB, free: 9.668 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.01077, allocations: 33.7 kB / 386.9 MB, free: 9.629 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.01089, allocations: 262.9 kB / 387.2 MB, free: 9.367 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.924e-05/0.01091, allocations: 51.59 kB / 387.3 MB, free: 9.316 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.358e-05/0.01099, allocations: 63.59 kB / 387.3 MB, free: 9.242 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.01111, allocations: 0.5117 MB / 387.8 MB, free: 8.719 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.122e-05/0.01118, allocations: 28.22 kB / 387.9 MB, free: 8.691 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001355/0.01132, allocations: 199.2 kB / 388 MB, free: 8.422 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004769/0.01179, allocations: 262.3 kB / 388.3 MB, free: 8.09 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.0118, allocations: 0 / 388.3 MB, free: 8.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002957/0.01209, allocations: 225.5 kB / 388.5 MB, free: 7.863 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.01211, allocations: 8 kB / 388.5 MB, free: 7.855 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.038e-05/0.01214, allocations: 27.98 kB / 388.6 MB, free: 7.828 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.01216, allocations: 11.92 kB / 388.6 MB, free: 7.816 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.01228, allocations: 35.97 kB / 388.6 MB, free: 7.781 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.01229, allocations: 11.94 kB / 388.6 MB, free: 7.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.844e-05/0.01239, allocations: 39.77 kB / 388.7 MB, free: 7.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.969e-05/0.01241, allocations: 16 kB / 388.7 MB, free: 7.715 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.0001082/0.01251, allocations: 184.5 kB / 388.9 MB, free: 7.523 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.344e-05/0.01257, allocations: 27.84 kB / 388.9 MB, free: 7.496 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002543/0.01282, allocations: 167.3 kB / 389 MB, free: 7.332 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.01283, allocations: 0 / 389 MB, free: 7.332 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.01283, allocations: 4 kB / 389 MB, free: 7.328 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.01283, allocations: 0 / 389 MB, free: 7.328 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002568/0.01309, allocations: 248.4 kB / 389.3 MB, free: 7.051 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.138e-05/0.01311, allocations: 19.98 kB / 389.3 MB, free: 7.031 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.184e-05/0.01317, allocations: 19.98 kB / 389.3 MB, free: 7.012 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.01318, allocations: 4 kB / 389.3 MB, free: 7.008 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.01319, allocations: 8 kB / 389.3 MB, free: 7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.01319, allocations: 0 / 389.3 MB, free: 7 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.01319, allocations: 0 / 389.3 MB, free: 7 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002752/0.01347, allocations: 0.5097 MB / 389.8 MB, free: 6.469 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.643e-05/0.01349, allocations: 23.89 kB / 389.9 MB, free: 6.445 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.021e-05/0.01351, allocations: 0 / 389.9 MB, free: 6.445 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.01362, allocations: 11.98 kB / 389.9 MB, free: 6.434 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.356e-05/0.01368, allocations: 19.98 kB / 389.9 MB, free: 6.414 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/0.0137, allocations: 12 kB / 389.9 MB, free: 6.402 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001067/0.0138, allocations: 197.1 kB / 390.1 MB, free: 6.211 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0138, allocations: 0 / 390.1 MB, free: 6.211 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003546/0.01416, allocations: 111.7 kB / 390.2 MB, free: 6.102 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.0003002/0.01446, allocations: 159 kB / 390.4 MB, free: 5.934 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003438/0.0148, allocations: 285.8 kB / 390.7 MB, free: 5.613 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.0148, allocations: 4 kB / 390.7 MB, free: 5.609 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001359/0.01494, allocations: 211.2 kB / 390.9 MB, free: 5.363 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003863/0.01533, allocations: 50.14 kB / 390.9 MB, free: 5.312 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/0.01635, allocations: 0.5256 MB / 391.4 MB, free: 4.746 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.858e-05/0.01641, allocations: 107.9 kB / 391.5 MB, free: 4.617 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.473e-05/0.01649, allocations: 41.58 kB / 391.6 MB, free: 4.574 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.89e-05/0.01653, allocations: 20.5 kB / 391.6 MB, free: 4.555 MB / 362.7 MB Notification: Performance of SimCode: time 7.91e-07/0.01653, allocations: 0 / 391.6 MB, free: 4.555 MB / 362.7 MB Notification: Performance of Templates: time 0.006565/0.02309, allocations: 4.342 MB / 395.9 MB, free: 308 kB / 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.394183832220733]