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.001984/0.001984, allocations: 92.27 kB / 20.96 MB, free: 3.441 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.002576/0.002576, allocations: 160.9 kB / 24.26 MB, free: 144 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 1.493/1.493, allocations: 177 MB / 204.4 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.3667/0.3667, allocations: 34.25 MB / 295.2 MB, free: 0.6641 MB / 266.7 MB " [Timeout remaining time 179] 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.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|kc.1.|kc.2.|kc.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|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.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|kc.1.|kc.2.|kc.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|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.954e-06/1.954e-06, allocations: 0 / 377.2 MB, free: 2.875 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.222e-05/4.417e-05, allocations: 10.25 kB / 377.2 MB, free: 2.863 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.003583/0.003627, allocations: 1.862 MB / 379.1 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001652/0.005279, allocations: 0.7672 MB / 379.9 MB, free: 220 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.463e-05/0.005363, allocations: 0 / 379.9 MB, free: 220 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003324/0.005696, allocations: 59.61 kB / 379.9 MB, free: 160 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003736/0.006069, allocations: 83.5 kB / 380 MB, free: 76 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003441/0.006413, allocations: 87.66 kB / 380.1 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003868/0.0068, allocations: 270.5 kB / 380.4 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.862e-05/0.006859, allocations: 16.58 kB / 380.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000313/0.007172, allocations: 131.6 kB / 380.5 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001943/0.007366, allocations: 107.6 kB / 380.6 MB, free: 15.47 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.946e-05/0.007396, allocations: 15.94 kB / 380.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001929/0.007589, allocations: 71.83 kB / 380.7 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001096/0.007698, allocations: 71.69 kB / 380.8 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001028/0.007801, allocations: 67.72 kB / 380.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004489/0.00825, allocations: 286.9 kB / 381.1 MB, free: 14.97 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.008253, allocations: 0 / 381.1 MB, free: 14.97 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.011e-06/0.008254, allocations: 0 / 381.1 MB, free: 14.97 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.105e-06/0.008262, allocations: 4 kB / 381.1 MB, free: 14.96 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.0009211/0.009183, allocations: 493.4 kB / 381.6 MB, free: 14.45 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.009223, allocations: 8.031 kB / 381.6 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001162/0.009339, allocations: 52.75 kB / 381.7 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003075/0.009646, allocations: 193.2 kB / 381.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.771e-05/0.009674, allocations: 16.88 kB / 381.9 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.525e-05/0.009719, allocations: 24.36 kB / 381.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007213/0.01044, allocations: 373.4 kB / 382.3 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.01046, allocations: 3.938 kB / 382.3 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.252e-05/0.01049, allocations: 11.98 kB / 382.3 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.765e-05/0.01054, allocations: 24.64 kB / 382.3 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007037/0.01124, allocations: 374.3 kB / 382.7 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001625/0.01286, allocations: 0.6956 MB / 383.4 MB, free: 12.63 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005248/0.01339, allocations: 252.8 kB / 383.6 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002224/0.01361, allocations: 96.77 kB / 383.7 MB, free: 12.28 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.459e-05/0.01365, allocations: 4 kB / 383.7 MB, free: 12.28 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.01368, allocations: 30.56 kB / 383.7 MB, free: 12.24 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 1.312e-06/0.01368, allocations: 4 kB / 383.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008537/0.01454, allocations: 329.4 kB / 384.1 MB, free: 11.91 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/0.01459, allocations: 55.41 kB / 384.1 MB, free: 11.84 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002349/0.01482, allocations: 194.3 kB / 384.3 MB, free: 11.64 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.431e-05/0.01486, allocations: 33.7 kB / 384.3 MB, free: 11.6 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001439/0.015, allocations: 176.4 kB / 384.5 MB, free: 11.43 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.177e-05/0.01506, allocations: 59.48 kB / 384.6 MB, free: 11.37 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001147/0.01518, allocations: 61.92 kB / 384.6 MB, free: 11.3 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001906/0.01537, allocations: 330.8 kB / 384.9 MB, free: 10.96 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002361/0.0156, allocations: 100.3 kB / 385 MB, free: 10.87 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003305/0.01593, allocations: 188 kB / 385.2 MB, free: 10.64 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005818/0.01651, allocations: 309.2 kB / 385.5 MB, free: 10.3 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.01652, allocations: 0 / 385.5 MB, free: 10.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007096/0.01723, allocations: 341.1 kB / 385.9 MB, free: 9.965 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.01725, allocations: 8 kB / 385.9 MB, free: 9.957 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.01726, allocations: 7.938 kB / 385.9 MB, free: 9.949 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.817e-05/0.01728, allocations: 7.938 kB / 385.9 MB, free: 9.941 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006583/0.01794, allocations: 123.9 kB / 386 MB, free: 9.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002855/0.0208, allocations: 3.653 MB / 389.7 MB, free: 6.027 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001986/0.021, allocations: 27.84 kB / 389.7 MB, free: 6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.556e-05/0.02103, allocations: 15.98 kB / 389.7 MB, free: 5.984 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_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 (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 0.0003264/0.02136, allocations: 186.2 kB / 389.9 MB, free: 5.793 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.119e-05/0.02142, allocations: 19.84 kB / 389.9 MB, free: 5.773 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007912/0.02221, allocations: 318.9 kB / 390.2 MB, free: 5.457 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.02221, allocations: 0 / 390.2 MB, free: 5.457 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.02222, allocations: 4 kB / 390.2 MB, free: 5.453 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-06/0.02222, allocations: 0 / 390.2 MB, free: 5.453 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006026/0.02282, allocations: 225.2 kB / 390.4 MB, free: 5.203 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.02283, allocations: 4 kB / 390.4 MB, free: 5.199 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005322/0.02336, allocations: 111.9 kB / 390.6 MB, free: 5.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-05/0.02337, allocations: 7.922 kB / 390.6 MB, free: 5.082 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.843e-05/0.02339, allocations: 4 kB / 390.6 MB, free: 5.078 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002758/0.02615, allocations: 3.657 MB / 394.2 MB, free: 1.281 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/0.02615, allocations: 4 kB / 394.2 MB, free: 1.277 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006168/0.02677, allocations: 345.9 kB / 394.6 MB, free: 0.9258 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.537e-05/0.0268, allocations: 19.86 kB / 394.6 MB, free: 0.9062 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.698e-05/0.02684, allocations: 4 kB / 394.6 MB, free: 0.9023 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001586/0.027, allocations: 11.98 kB / 394.6 MB, free: 0.8906 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.884e-05/0.02709, allocations: 15.91 kB / 394.6 MB, free: 0.875 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.052e-05/0.02711, allocations: 8.188 kB / 394.6 MB, free: 0.8672 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001476/0.02726, allocations: 135.2 kB / 394.8 MB, free: 0.7344 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02726, allocations: 0 / 394.8 MB, free: 0.7344 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004777/0.02773, allocations: 87.77 kB / 394.8 MB, free: 0.6484 MB / 362.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.0002778/0.02801, allocations: 131.1 kB / 395 MB, free: 0.5117 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009807/0.02899, allocations: 319.5 kB / 395.3 MB, free: 204 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.02899, allocations: 0 / 395.3 MB, free: 204 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006454/0.02964, allocations: 192.5 kB / 395.5 MB, free: 12 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003428/0.02998, allocations: 35.83 kB / 395.5 MB, free: 15.98 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/0.03115, allocations: 0.531 MB / 396 MB, free: 15.41 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002129/0.03137, allocations: 188.8 kB / 396.2 MB, free: 15.21 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001848/0.03155, allocations: 65.39 kB / 396.3 MB, free: 15.15 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.269e-05/0.03161, allocations: 24.42 kB / 396.3 MB, free: 15.12 MB / 378.7 MB Notification: Performance of SimCode: time 5.71e-07/0.03161, allocations: 0 / 396.3 MB, free: 15.12 MB / 378.7 MB Notification: Performance of Templates: time 0.009488/0.0411, allocations: 4.073 MB / 400.4 MB, free: 11.14 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.282058438053355]