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.001345/0.001345, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.001361/0.001361, allocations: 160.2 kB / 24.91 MB, free: 8.77 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 1.072/1.072, allocations: 177 MB / 205.2 MB, free: 5.078 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.2769/0.2769, allocations: 34.86 MB / 296.6 MB, free: 464 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.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.683e-06/1.683e-06, allocations: 0 / 326 MB, free: 7.109 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.615e-05/2.783e-05, allocations: 5.406 kB / 326 MB, free: 7.105 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.002665/0.002693, allocations: 1.987 MB / 328 MB, free: 5.105 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001122/0.003815, allocations: 0.8342 MB / 328.8 MB, free: 4.266 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.859e-05/0.003884, allocations: 0 / 328.8 MB, free: 4.266 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002319/0.004116, allocations: 51.67 kB / 328.9 MB, free: 4.215 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002654/0.004381, allocations: 91.48 kB / 329 MB, free: 4.125 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002208/0.004602, allocations: 83.66 kB / 329 MB, free: 4.043 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002494/0.004851, allocations: 275.3 kB / 329.3 MB, free: 3.773 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.7e-05/0.004898, allocations: 14.55 kB / 329.3 MB, free: 3.762 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002033/0.005102, allocations: 131.5 kB / 329.4 MB, free: 3.633 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001356/0.005237, allocations: 107.6 kB / 329.5 MB, free: 3.527 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.961e-05/0.005257, allocations: 8 kB / 329.6 MB, free: 3.52 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001581/0.005415, allocations: 75.83 kB / 329.6 MB, free: 3.445 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.302e-05/0.005488, allocations: 71.69 kB / 329.7 MB, free: 3.375 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.91e-05/0.005547, allocations: 63.73 kB / 329.8 MB, free: 3.312 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00249/0.008038, allocations: 271 kB / 330 MB, free: 3.047 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.008044, allocations: 0 / 330 MB, free: 3.047 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.008046, allocations: 0 / 330 MB, free: 3.047 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.148e-05/0.008057, allocations: 0 / 330 MB, free: 3.047 MB / 298.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.0009432/0.009001, allocations: 453.3 kB / 330.5 MB, free: 2.582 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/0.009052, allocations: 12.03 kB / 330.5 MB, free: 2.57 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.523e-05/0.009147, allocations: 40.84 kB / 330.5 MB, free: 2.531 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002757/0.009423, allocations: 163.8 kB / 330.7 MB, free: 2.348 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.462e-05/0.009448, allocations: 12.88 kB / 330.7 MB, free: 2.336 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.551e-05/0.009483, allocations: 28.38 kB / 330.7 MB, free: 2.309 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004369/0.00992, allocations: 232.9 kB / 331 MB, free: 2.07 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.009935, allocations: 3.938 kB / 331 MB, free: 2.066 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.868e-05/0.009964, allocations: 12 kB / 331 MB, free: 2.055 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.998e-05/0.01002, allocations: 24.62 kB / 331 MB, free: 2.031 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000198/0.01022, allocations: 104.5 kB / 331.1 MB, free: 1.926 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00106/0.01128, allocations: 0.514 MB / 331.6 MB, free: 1.395 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002768/0.01156, allocations: 136.1 kB / 331.7 MB, free: 1.25 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.996e-05/0.01162, allocations: 24.84 kB / 331.8 MB, free: 1.223 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.271e-05/0.01165, allocations: 8 kB / 331.8 MB, free: 1.215 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.42e-05/0.01169, allocations: 38.53 kB / 331.8 MB, free: 1.168 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.804e-06/0.01169, allocations: 0 / 331.8 MB, free: 1.168 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002762/0.01196, allocations: 103.6 kB / 331.9 MB, free: 1.062 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.658e-05/0.012, allocations: 55.41 kB / 332 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.01211, allocations: 174.4 kB / 332.1 MB, free: 0.8125 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.01213, allocations: 29.7 kB / 332.2 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.244e-05/0.01221, allocations: 184.3 kB / 332.3 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.665e-05/0.01225, allocations: 59.52 kB / 332.4 MB, free: 0.5352 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.482e-05/0.01232, allocations: 49.88 kB / 332.5 MB, free: 488 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.674e-05/0.0124, allocations: 326.8 kB / 332.8 MB, free: 152 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.19e-05/0.01245, allocations: 35.27 kB / 332.8 MB, free: 116 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001007/0.01255, allocations: 108 kB / 332.9 MB, free: 15.97 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001588/0.01271, allocations: 163.3 kB / 333.1 MB, free: 15.77 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.01272, allocations: 0 / 333.1 MB, free: 15.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002126/0.01293, allocations: 156.1 kB / 333.2 MB, free: 15.61 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.01295, allocations: 8.375 kB / 333.2 MB, free: 15.6 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.01295, allocations: 11.94 kB / 333.2 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.01297, allocations: 4 kB / 333.2 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004141/0.01338, allocations: 91.88 kB / 333.3 MB, free: 15.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0012/0.01458, allocations: 3.561 MB / 336.9 MB, free: 11.78 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.01469, allocations: 27.84 kB / 336.9 MB, free: 11.75 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.977e-05/0.01471, allocations: 15.98 kB / 336.9 MB, free: 11.74 MB / 314.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 0.0002634/0.01497, allocations: 124.5 kB / 337.1 MB, free: 11.61 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.003e-05/0.015, allocations: 19.98 kB / 337.1 MB, free: 11.59 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002269/0.01523, allocations: 144.3 kB / 337.2 MB, free: 11.44 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.01523, allocations: 12 kB / 337.2 MB, free: 11.43 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.01523, allocations: 0 / 337.2 MB, free: 11.43 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.01524, allocations: 0 / 337.2 MB, free: 11.43 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000181/0.01542, allocations: 137.7 kB / 337.4 MB, free: 11.28 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.01542, allocations: 0 / 337.4 MB, free: 11.28 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002435/0.01566, allocations: 79.95 kB / 337.4 MB, free: 11.2 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.01567, allocations: 0 / 337.4 MB, free: 11.2 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.01568, allocations: 7.984 kB / 337.5 MB, free: 11.19 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001083/0.01676, allocations: 3.567 MB / 341 MB, free: 7.469 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.01676, allocations: 4 kB / 341 MB, free: 7.465 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001689/0.01693, allocations: 231.2 kB / 341.2 MB, free: 7.223 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.741e-05/0.01695, allocations: 19.83 kB / 341.3 MB, free: 7.203 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.938e-05/0.01697, allocations: 11.98 kB / 341.3 MB, free: 7.191 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.567e-05/0.01703, allocations: 4.281 kB / 341.3 MB, free: 7.188 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.499e-05/0.01708, allocations: 19.97 kB / 341.3 MB, free: 7.168 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.287e-06/0.01709, allocations: 0 / 341.3 MB, free: 7.168 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.354e-05/0.01712, allocations: 45.86 kB / 341.3 MB, free: 7.121 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01712, allocations: 0 / 341.3 MB, free: 7.121 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002544/0.01738, allocations: 91.72 kB / 341.4 MB, free: 7.031 MB / 314.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.000202/0.01758, allocations: 120.2 kB / 341.6 MB, free: 6.906 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003353/0.01791, allocations: 144.6 kB / 341.7 MB, free: 6.762 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.785e-06/0.01792, allocations: 8.75 kB / 341.7 MB, free: 6.754 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002015/0.01812, allocations: 104.7 kB / 341.8 MB, free: 6.648 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001866/0.01831, allocations: 35.84 kB / 341.8 MB, free: 6.613 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000775/0.01908, allocations: 481.2 kB / 342.3 MB, free: 6.113 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.416e-05/0.01915, allocations: 115.7 kB / 342.4 MB, free: 5.98 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.713e-05/0.01921, allocations: 13.48 kB / 342.4 MB, free: 5.969 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.026e-05/0.0193, allocations: 79.34 kB / 342.5 MB, free: 5.891 MB / 314.7 MB Notification: Performance of SimCode: time 5.92e-07/0.01931, allocations: 0 / 342.5 MB, free: 5.891 MB / 314.7 MB Notification: Performance of Templates: time 0.006428/0.02573, allocations: 4.411 MB / 346.9 MB, free: 1.566 MB / 314.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 -s gbode -gbm=radauIIA3 -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.161612269934267]