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.002479/0.002479, allocations: 103.5 kB / 20.97 MB, free: 3.449 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.002912/0.002912, allocations: 156.8 kB / 24.27 MB, free: 156 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.645/1.645, allocations: 177 MB / 204.4 MB, free: 5.629 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.3539/0.3539, allocations: 34.26 MB / 295.2 MB, free: 0.6367 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.783e-06/1.783e-06, allocations: 0 / 377.2 MB, free: 2.879 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.071e-05/3.249e-05, allocations: 2.312 kB / 377.2 MB, free: 2.875 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.003981/0.004014, allocations: 1.915 MB / 379.2 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001664/0.005678, allocations: 0.8179 MB / 380 MB, free: 124 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.243e-05/0.005741, allocations: 0 / 380 MB, free: 124 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002899/0.006031, allocations: 47.62 kB / 380 MB, free: 76 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003744/0.006405, allocations: 95.48 kB / 380.1 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003239/0.006729, allocations: 87.66 kB / 380.2 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003839/0.007113, allocations: 274.5 kB / 380.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.944e-05/0.007162, allocations: 8.594 kB / 380.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002918/0.007454, allocations: 135.5 kB / 380.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000216/0.00767, allocations: 103.6 kB / 380.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.18e-05/0.007702, allocations: 4 kB / 380.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002179/0.00792, allocations: 83.81 kB / 380.8 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001088/0.008029, allocations: 67.69 kB / 380.9 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001085/0.008137, allocations: 63.73 kB / 380.9 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004884/0.008626, allocations: 294.9 kB / 381.2 MB, free: 14.88 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.00863, allocations: 0 / 381.2 MB, free: 14.88 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.008631, allocations: 0 / 381.2 MB, free: 14.88 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.008637, allocations: 0 / 381.2 MB, free: 14.88 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.001056/0.009693, allocations: 0.5814 MB / 381.8 MB, free: 14.26 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.00974, allocations: 8.031 kB / 381.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001227/0.009862, allocations: 48.75 kB / 381.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003382/0.0102, allocations: 188.1 kB / 382 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.82e-05/0.01023, allocations: 20.88 kB / 382.1 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.278e-05/0.01027, allocations: 28.31 kB / 382.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005325/0.0108, allocations: 245.5 kB / 382.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.01082, allocations: 3.938 kB / 382.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.808e-05/0.01085, allocations: 8 kB / 382.3 MB, free: 13.69 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.074e-05/0.0109, allocations: 28.64 kB / 382.4 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004369/0.01134, allocations: 190.5 kB / 382.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001425/0.01276, allocations: 0.7222 MB / 383.3 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003457/0.01311, allocations: 125.2 kB / 383.4 MB, free: 12.58 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001409/0.01325, allocations: 51.72 kB / 383.4 MB, free: 12.53 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.626e-05/0.01328, allocations: 4 kB / 383.4 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.761e-05/0.01332, allocations: 37.39 kB / 383.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 1.082e-06/0.01332, allocations: 0 / 383.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005862/0.01391, allocations: 177.5 kB / 383.7 MB, free: 12.3 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.144e-05/0.01396, allocations: 59.34 kB / 383.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002593/0.01422, allocations: 261.7 kB / 384 MB, free: 11.95 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.738e-05/0.01425, allocations: 25.7 kB / 384 MB, free: 11.92 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001922/0.01444, allocations: 239.1 kB / 384.2 MB, free: 11.68 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.411e-05/0.0145, allocations: 63.52 kB / 384.3 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001262/0.01463, allocations: 75.53 kB / 384.4 MB, free: 11.54 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002812/0.01491, allocations: 0.5001 MB / 384.9 MB, free: 11.02 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/0.01506, allocations: 48.42 kB / 384.9 MB, free: 10.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000267/0.01533, allocations: 176.8 kB / 385.1 MB, free: 10.75 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000584/0.01591, allocations: 238.2 kB / 385.3 MB, free: 10.46 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.01592, allocations: 0 / 385.3 MB, free: 10.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005273/0.01644, allocations: 241.1 kB / 385.6 MB, free: 10.22 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.01646, allocations: 8 kB / 385.6 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.01647, allocations: 4 kB / 385.6 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.522e-05/0.01649, allocations: 7.938 kB / 385.6 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006004/0.0171, allocations: 123.9 kB / 385.7 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003642/0.02074, allocations: 5.419 MB / 391.1 MB, free: 4.492 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001744/0.02091, allocations: 31.72 kB / 391.1 MB, free: 4.461 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.782e-05/0.02095, allocations: 19.98 kB / 391.2 MB, free: 4.441 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.0002251/0.02117, allocations: 204.7 kB / 391.4 MB, free: 4.23 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.579e-05/0.02124, allocations: 31.84 kB / 391.4 MB, free: 4.199 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005899/0.02183, allocations: 203.2 kB / 391.6 MB, free: 3.996 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.02183, allocations: 0 / 391.6 MB, free: 3.996 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.02184, allocations: 0 / 391.6 MB, free: 3.996 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.02184, allocations: 0 / 391.6 MB, free: 3.996 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003519/0.02219, allocations: 228.5 kB / 391.8 MB, free: 3.738 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.02219, allocations: 0 / 391.8 MB, free: 3.738 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005384/0.02273, allocations: 115.9 kB / 391.9 MB, free: 3.625 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.231e-06/0.02274, allocations: 7.938 kB / 391.9 MB, free: 3.617 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.275e-05/0.02276, allocations: 8 kB / 391.9 MB, free: 3.609 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003823/0.02658, allocations: 5.418 MB / 397.4 MB, free: 14.02 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.02659, allocations: 0 / 397.4 MB, free: 14.02 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004852/0.02707, allocations: 310.4 kB / 397.7 MB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.338e-05/0.0271, allocations: 19.84 kB / 397.7 MB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.765e-05/0.02714, allocations: 8 kB / 397.7 MB, free: 13.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.02729, allocations: 7.984 kB / 397.7 MB, free: 13.66 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.178e-05/0.02736, allocations: 11.98 kB / 397.7 MB, free: 13.65 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.191e-05/0.02738, allocations: 7.984 kB / 397.7 MB, free: 13.64 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001552/0.02754, allocations: 180.2 kB / 397.9 MB, free: 13.47 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02754, allocations: 0 / 397.9 MB, free: 13.47 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004255/0.02796, allocations: 87.81 kB / 398 MB, free: 13.38 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.0003199/0.02828, allocations: 131.1 kB / 398.1 MB, free: 13.25 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008561/0.02914, allocations: 239.5 kB / 398.3 MB, free: 13.01 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.02914, allocations: 0 / 398.3 MB, free: 13.01 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005631/0.0297, allocations: 159.5 kB / 398.5 MB, free: 12.85 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003416/0.03004, allocations: 28.34 kB / 398.5 MB, free: 12.82 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/0.03109, allocations: 488 kB / 399 MB, free: 12.31 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002017/0.03129, allocations: 172.7 kB / 399.2 MB, free: 12.12 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001618/0.03145, allocations: 57.41 kB / 399.2 MB, free: 12.07 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.857e-05/0.03151, allocations: 16.5 kB / 399.2 MB, free: 12.05 MB / 378.7 MB Notification: Performance of SimCode: time 6.81e-07/0.03151, allocations: 0 / 399.2 MB, free: 12.05 MB / 378.7 MB Notification: Performance of Templates: time 0.009815/0.04133, allocations: 4.058 MB / 403.3 MB, free: 8.09 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","/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.4690351309254766]