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.002272/0.002272, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.002801/0.002801, allocations: 156.9 kB / 24.27 MB, free: 172 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.505/1.505, allocations: 177 MB / 204.5 MB, free: 5.613 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.3859/0.3859, allocations: 34.25 MB / 295.2 MB, free: 0.6562 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,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.|m_flow.1.|m_flow.2.|m_flow.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Re|Pr.1.|Pr.2.|Pr.3.|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.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|m_flow.1.|m_flow.2.|m_flow.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Re|Pr.1.|Pr.2.|Pr.3.|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 2.936e-06/2.936e-06, allocations: 0 / 377.2 MB, free: 2.859 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.343e-05/3.637e-05, allocations: 2.312 kB / 377.3 MB, free: 2.855 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.003831/0.003868, allocations: 1.978 MB / 379.2 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002054/0.005922, allocations: 1.059 MB / 380.3 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.716e-05/0.006019, allocations: 0 / 380.3 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003122/0.006331, allocations: 55.62 kB / 380.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002535/0.006585, allocations: 87.39 kB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006334/0.007218, allocations: 183.2 kB / 380.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004476/0.007666, allocations: 334.4 kB / 380.9 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.072e-05/0.007726, allocations: 12.94 kB / 380.9 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003427/0.008069, allocations: 163.4 kB / 381.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002035/0.008273, allocations: 115.6 kB / 381.2 MB, free: 14.87 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.644e-05/0.008309, allocations: 12 kB / 381.2 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003357/0.008645, allocations: 155.8 kB / 381.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001175/0.008762, allocations: 71.62 kB / 381.5 MB, free: 14.63 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001283/0.008891, allocations: 83.7 kB / 381.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00059/0.009481, allocations: 406.5 kB / 381.9 MB, free: 14.15 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.009485, allocations: 4 kB / 381.9 MB, free: 14.15 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.009486, allocations: 0 / 381.9 MB, free: 14.15 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.022e-06/0.009492, allocations: 0 / 381.9 MB, free: 14.15 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.001238/0.01073, allocations: 0.5518 MB / 382.5 MB, free: 13.57 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.01077, allocations: 8.031 kB / 382.5 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004455/0.01121, allocations: 88.7 kB / 382.6 MB, free: 13.47 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003499/0.01156, allocations: 213.2 kB / 382.8 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.076e-05/0.0116, allocations: 21.03 kB / 382.8 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.912e-05/0.01165, allocations: 28.12 kB / 382.8 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008206/0.01248, allocations: 430.6 kB / 383.3 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.01249, allocations: 0 / 383.3 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.747e-05/0.01252, allocations: 12 kB / 383.3 MB, free: 12.74 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.406e-05/0.01256, allocations: 16.64 kB / 383.3 MB, free: 12.72 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007764/0.01333, allocations: 326.3 kB / 383.6 MB, free: 12.4 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00173/0.01506, allocations: 0.9538 MB / 384.6 MB, free: 11.4 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005618/0.01563, allocations: 235.7 kB / 384.8 MB, free: 11.14 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003002/0.01593, allocations: 106.4 kB / 384.9 MB, free: 11.03 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.255e-05/0.01597, allocations: 8 kB / 384.9 MB, free: 11.02 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.629e-05/0.01601, allocations: 38.5 kB / 384.9 MB, free: 10.98 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.382e-06/0.01601, allocations: 0 / 384.9 MB, free: 10.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.001119/0.01713, allocations: 357.3 kB / 385.3 MB, free: 10.62 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.327e-05/0.01721, allocations: 106.8 kB / 385.4 MB, free: 10.49 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003098/0.01752, allocations: 261.6 kB / 385.6 MB, free: 10.23 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.165e-05/0.01756, allocations: 29.7 kB / 385.7 MB, free: 10.2 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001712/0.01773, allocations: 204.2 kB / 385.9 MB, free: 9.992 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.055e-05/0.01779, allocations: 55.58 kB / 385.9 MB, free: 9.938 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000124/0.01792, allocations: 61.92 kB / 386 MB, free: 9.867 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001859/0.0181, allocations: 334.7 kB / 386.3 MB, free: 9.531 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003293/0.01843, allocations: 124.2 kB / 386.4 MB, free: 9.41 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004456/0.01888, allocations: 228.3 kB / 386.7 MB, free: 9.133 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007875/0.01966, allocations: 363 kB / 387 MB, free: 8.723 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.01967, allocations: 4 kB / 387 MB, free: 8.719 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009632/0.02063, allocations: 404.8 kB / 387.4 MB, free: 8.316 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.02065, allocations: 4 kB / 387.4 MB, free: 8.312 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.452e-05/0.02071, allocations: 27.98 kB / 387.4 MB, free: 8.285 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.774e-05/0.02073, allocations: 4 kB / 387.5 MB, free: 8.281 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002608/0.021, allocations: 48.41 kB / 387.5 MB, free: 8.234 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.576e-05/0.02101, allocations: 15.98 kB / 387.5 MB, free: 8.219 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002515/0.02126, allocations: 39.77 kB / 387.6 MB, free: 8.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.898e-05/0.0213, allocations: 19.98 kB / 387.6 MB, free: 8.16 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.0002411/0.02154, allocations: 173.7 kB / 387.7 MB, free: 7.98 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.02164, allocations: 27.86 kB / 387.8 MB, free: 7.953 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006685/0.02231, allocations: 275.2 kB / 388 MB, free: 7.684 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.02232, allocations: 4 kB / 388 MB, free: 7.68 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.02233, allocations: 0 / 388 MB, free: 7.68 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.02233, allocations: 0 / 388 MB, free: 7.68 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004556/0.02278, allocations: 229.1 kB / 388.3 MB, free: 7.426 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.79e-05/0.02282, allocations: 19.98 kB / 388.3 MB, free: 7.406 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001581/0.02298, allocations: 23.97 kB / 388.3 MB, free: 7.383 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.02298, allocations: 4 kB / 388.3 MB, free: 7.379 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.235e-05/0.023, allocations: 11.94 kB / 388.3 MB, free: 7.367 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.02301, allocations: 4 kB / 388.3 MB, free: 7.363 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.02301, allocations: 4 kB / 388.3 MB, free: 7.359 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008351/0.02385, allocations: 0.4933 MB / 388.8 MB, free: 6.852 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.992e-05/0.0239, allocations: 27.8 kB / 388.9 MB, free: 6.824 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.193e-05/0.02394, allocations: 11.98 kB / 388.9 MB, free: 6.812 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002694/0.02421, allocations: 15.98 kB / 388.9 MB, free: 6.797 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.835e-05/0.0243, allocations: 19.97 kB / 388.9 MB, free: 6.777 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.41e-05/0.02433, allocations: 12 kB / 388.9 MB, free: 6.766 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002153/0.02455, allocations: 177.2 kB / 389.1 MB, free: 6.59 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02455, allocations: 0 / 389.1 MB, free: 6.59 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005852/0.02513, allocations: 107.7 kB / 389.2 MB, free: 6.484 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.0003668/0.0255, allocations: 163 kB / 389.3 MB, free: 6.312 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009034/0.0264, allocations: 434.5 kB / 389.8 MB, free: 5.852 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.0264, allocations: 0 / 389.8 MB, free: 5.852 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004296/0.02683, allocations: 266.1 kB / 390 MB, free: 5.555 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000535/0.02737, allocations: 43.59 kB / 390.1 MB, free: 5.516 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001246/0.02861, allocations: 0.5808 MB / 390.7 MB, free: 4.895 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002301/0.02884, allocations: 189.5 kB / 390.8 MB, free: 4.695 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001411/0.02898, allocations: 45.58 kB / 390.9 MB, free: 4.648 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.246e-05/0.02905, allocations: 24.5 kB / 390.9 MB, free: 4.625 MB / 362.7 MB Notification: Performance of SimCode: time 8.51e-07/0.02905, allocations: 0 / 390.9 MB, free: 4.625 MB / 362.7 MB Notification: Performance of Templates: time 0.009796/0.03884, allocations: 4.334 MB / 395.2 MB, free: 380 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.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.046292013954371]