Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.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.001014/0.001014, allocations: 81.81 kB / 21.42 MB, free: 3.07 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.0009778/0.0009778, allocations: 166.8 kB / 24.82 MB, free: 8.922 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 0.9721/0.9721, allocations: 177 MB / 205.1 MB, free: 5.469 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.2835/0.2835, allocations: 34.86 MB / 296.6 MB, free: 0.5 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_KC,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|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,]+.|kc.[0-9,]+.|Re_1.[0-9,]+.|Re_2.[0-9,]+.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|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,]+.|kc.[0-9,]+.|Re_1.[0-9,]+.|Re_2.[0-9,]+.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 379.3 MB, free: 1.809 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.027e-05/2.167e-05, allocations: 6.953 kB / 379.3 MB, free: 1.801 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.002353/0.002374, allocations: 1.925 MB / 381.2 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009965/0.003371, allocations: 0.8216 MB / 382 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.318e-05/0.003434, allocations: 4 kB / 382 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002164/0.00365, allocations: 51.67 kB / 382.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002362/0.003887, allocations: 87.5 kB / 382.2 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000205/0.004092, allocations: 91.58 kB / 382.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002172/0.004309, allocations: 270.6 kB / 382.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.137e-05/0.00435, allocations: 16.58 kB / 382.5 MB, free: 14.53 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001747/0.004525, allocations: 135.4 kB / 382.7 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001316/0.004657, allocations: 115.6 kB / 382.8 MB, free: 14.28 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.915e-05/0.004676, allocations: 8 kB / 382.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001266/0.004802, allocations: 67.95 kB / 382.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.333e-05/0.004866, allocations: 63.7 kB / 382.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.36e-05/0.004919, allocations: 75.7 kB / 383 MB, free: 14.07 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002505/0.00517, allocations: 262.9 kB / 383.2 MB, free: 13.81 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.005172, allocations: 0 / 383.2 MB, free: 13.81 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.12e-07/0.005172, allocations: 0 / 383.2 MB, free: 13.81 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.005176, allocations: 0 / 383.2 MB, free: 13.81 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0005123/0.005688, allocations: 0.5972 MB / 383.8 MB, free: 13.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.005721, allocations: 12.03 kB / 383.8 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.64e-05/0.005777, allocations: 52.73 kB / 383.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.005912, allocations: 164.2 kB / 384.1 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.005926, allocations: 20.88 kB / 384.1 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.244e-05/0.005949, allocations: 28.36 kB / 384.1 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002092/0.006158, allocations: 194.2 kB / 384.3 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.006166, allocations: 3.938 kB / 384.3 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.00618, allocations: 8 kB / 384.3 MB, free: 12.67 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.084e-05/0.006211, allocations: 24.64 kB / 384.3 MB, free: 12.65 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001131/0.006324, allocations: 112.5 kB / 384.4 MB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006324/0.006957, allocations: 0.6213 MB / 385.1 MB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.007089, allocations: 98.94 kB / 385.2 MB, free: 11.78 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.033e-05/0.00713, allocations: 31.73 kB / 385.2 MB, free: 11.74 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/0.007153, allocations: 7.938 kB / 385.2 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.007e-05/0.007173, allocations: 41.38 kB / 385.2 MB, free: 11.68 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 1.172e-06/0.007174, allocations: 0 / 385.2 MB, free: 11.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002142/0.007388, allocations: 131.9 kB / 385.4 MB, free: 11.55 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.609e-05/0.007414, allocations: 59.28 kB / 385.4 MB, free: 11.48 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.007534, allocations: 261.7 kB / 385.7 MB, free: 11.21 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.00755, allocations: 29.7 kB / 385.7 MB, free: 11.17 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.836e-05/0.007638, allocations: 239 kB / 385.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.068e-05/0.007669, allocations: 59.52 kB / 386 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.246e-05/0.007731, allocations: 67.53 kB / 386.1 MB, free: 10.8 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.007847, allocations: 0.5079 MB / 386.6 MB, free: 10.28 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.655e-05/0.007884, allocations: 16.45 kB / 386.6 MB, free: 10.26 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.461e-05/0.007979, allocations: 160.8 kB / 386.7 MB, free: 10.05 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001477/0.008126, allocations: 195.6 kB / 386.9 MB, free: 9.805 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.008128, allocations: 4 kB / 386.9 MB, free: 9.801 MB / 362.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002/0.008328, allocations: 200 kB / 387.1 MB, free: 9.602 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.00834, allocations: 8 kB / 387.1 MB, free: 9.594 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.008346, allocations: 4 kB / 387.1 MB, free: 9.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.008356, allocations: 4 kB / 387.2 MB, free: 9.586 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002693/0.008625, allocations: 123.9 kB / 387.3 MB, free: 9.465 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001454/0.01008, allocations: 5.414 MB / 392.7 MB, free: 3.879 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.138e-05/0.01016, allocations: 27.78 kB / 392.7 MB, free: 3.852 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.445e-05/0.01018, allocations: 11.98 kB / 392.7 MB, free: 3.84 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_1[1].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[3].roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.286e-05/0.01027, allocations: 180.8 kB / 392.9 MB, free: 3.652 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.951e-05/0.0103, allocations: 27.84 kB / 392.9 MB, free: 3.625 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002308/0.01053, allocations: 175.2 kB / 393.1 MB, free: 3.449 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.01053, allocations: 4 kB / 393.1 MB, free: 3.445 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-06/0.01053, allocations: 0 / 393.1 MB, free: 3.445 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.01054, allocations: 0 / 393.1 MB, free: 3.445 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000159/0.0107, allocations: 181.1 kB / 393.3 MB, free: 3.242 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.0107, allocations: 0 / 393.3 MB, free: 3.242 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002065/0.0109, allocations: 115.9 kB / 393.4 MB, free: 3.129 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.01091, allocations: 0 / 393.4 MB, free: 3.129 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.01092, allocations: 8 kB / 393.4 MB, free: 3.121 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00144/0.01236, allocations: 5.418 MB / 398.8 MB, free: 13.53 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.01236, allocations: 0 / 398.8 MB, free: 13.53 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001988/0.01256, allocations: 275.7 kB / 399.1 MB, free: 13.24 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.341e-05/0.01257, allocations: 15.84 kB / 399.1 MB, free: 13.23 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/0.01258, allocations: 0 / 399.1 MB, free: 13.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.129e-05/0.01265, allocations: 15.98 kB / 399.1 MB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.969e-05/0.01269, allocations: 11.98 kB / 399.1 MB, free: 13.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.236e-05/0.0127, allocations: 11.98 kB / 399.1 MB, free: 13.19 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.037e-05/0.01278, allocations: 160.2 kB / 399.3 MB, free: 13.03 MB / 378.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01278, allocations: 0 / 399.3 MB, free: 13.03 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002388/0.01302, allocations: 83.84 kB / 399.4 MB, free: 12.95 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 (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001833/0.0132, allocations: 139.1 kB / 399.5 MB, free: 12.8 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004157/0.01362, allocations: 201.9 kB / 399.7 MB, free: 12.61 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.01362, allocations: 0 / 399.7 MB, free: 12.61 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002247/0.01384, allocations: 139.5 kB / 399.9 MB, free: 12.46 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002265/0.01407, allocations: 38.22 kB / 399.9 MB, free: 12.43 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007735/0.01484, allocations: 486.8 kB / 400.4 MB, free: 11.92 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.42e-05/0.01492, allocations: 107.9 kB / 400.5 MB, free: 11.79 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.069e-05/0.01498, allocations: 21.47 kB / 400.5 MB, free: 11.77 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.806e-05/0.01507, allocations: 98.19 kB / 400.6 MB, free: 11.68 MB / 378.7 MB Notification: Performance of SimCode: time 7.82e-07/0.01507, allocations: 0 / 400.6 MB, free: 11.68 MB / 378.7 MB Notification: Performance of Templates: time 0.005675/0.02074, allocations: 4.429 MB / 405 MB, free: 7.309 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.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/StraightPipe/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.1220498052425683]