Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001385/0.001385, allocations: 114.5 kB / 21.17 MB, free: 0.6172 MB / 14.72 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.001496/0.001496, allocations: 206.2 kB / 24.47 MB, free: 4.023 MB / 14.72 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.504/1.504, allocations: 230.2 MB / 257.8 MB, free: 8.512 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2379/0.2379, allocations: 46.89 MB / 361.1 MB, free: 4.652 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003206/0.003206, allocations: 83.88 kB / 0.4968 GB, free: 7.789 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3679/0.3711, allocations: 65.98 MB / 0.5612 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.004605/0.3757, allocations: 2.06 MB / 0.5632 GB, free: 2.961 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002136/0.3778, allocations: 1.162 MB / 0.5644 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001218/0.3779, allocations: 3.938 kB / 0.5644 GB, free: 1.793 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000306/0.3782, allocations: 67.66 kB / 0.5644 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002165/0.3784, allocations: 75.53 kB / 0.5645 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00068/0.3791, allocations: 183.1 kB / 0.5647 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005532/0.3797, allocations: 326.4 kB / 0.565 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.439e-05/0.3797, allocations: 16.75 kB / 0.565 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003529/0.3801, allocations: 119.4 kB / 0.5651 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002168/0.3803, allocations: 143.3 kB / 0.5653 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.037e-05/0.3803, allocations: 8 kB / 0.5653 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005082/0.3809, allocations: 211.7 kB / 0.5655 GB, free: 0.668 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001372/0.381, allocations: 75.61 kB / 0.5655 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001361/0.3811, allocations: 119.2 kB / 0.5657 GB, free: 488 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005836/0.3817, allocations: 413 kB / 0.5661 GB, free: 76 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3817, allocations: 4 kB / 0.5661 GB, free: 72 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3817, allocations: 0 / 0.5661 GB, free: 72 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.922e-06/0.3817, allocations: 4 kB / 0.5661 GB, free: 68 kB / 398.1 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.001256/0.383, allocations: 0.6311 MB / 0.5667 GB, free: 15.38 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.383, allocations: 11.97 kB / 0.5667 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000381/0.3834, allocations: 72.66 kB / 0.5668 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003708/0.3838, allocations: 263.7 kB / 0.567 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.3838, allocations: 20.5 kB / 0.567 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.786e-05/0.3838, allocations: 28 kB / 0.5671 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008131/0.3846, allocations: 437.8 kB / 0.5675 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.3847, allocations: 0 / 0.5675 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.07e-05/0.3847, allocations: 16 kB / 0.5675 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.214e-05/0.3847, allocations: 12.56 kB / 0.5675 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006924/0.3854, allocations: 321.9 kB / 0.5678 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001751/0.3872, allocations: 1.101 MB / 0.5689 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005026/0.3877, allocations: 235.7 kB / 0.5691 GB, free: 12.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002898/0.388, allocations: 106.5 kB / 0.5692 GB, free: 12.63 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.564e-05/0.388, allocations: 3.984 kB / 0.5692 GB, free: 12.63 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.388, allocations: 38.5 kB / 0.5692 GB, free: 12.58 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.633e-06/0.388, allocations: 4 kB / 0.5693 GB, free: 12.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.001035/0.3891, allocations: 349.1 kB / 0.5696 GB, free: 12.23 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.036e-05/0.3891, allocations: 119 kB / 0.5697 GB, free: 12.09 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004706/0.3896, allocations: 405.5 kB / 0.5701 GB, free: 11.68 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.748e-05/0.3896, allocations: 29.7 kB / 0.5701 GB, free: 11.65 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001693/0.3898, allocations: 200 kB / 0.5703 GB, free: 11.45 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.661e-05/0.3899, allocations: 47.58 kB / 0.5703 GB, free: 11.4 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001173/0.39, allocations: 69.88 kB / 0.5704 GB, free: 11.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002145/0.3902, allocations: 338.8 kB / 0.5707 GB, free: 10.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003066/0.3905, allocations: 124 kB / 0.5709 GB, free: 10.86 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005137/0.391, allocations: 235.8 kB / 0.5711 GB, free: 10.57 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007417/0.3918, allocations: 371.2 kB / 0.5714 GB, free: 10.16 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.3918, allocations: 0 / 0.5714 GB, free: 10.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009828/0.3927, allocations: 405.3 kB / 0.5718 GB, free: 9.754 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.3928, allocations: 6.5 kB / 0.5718 GB, free: 9.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-05/0.3928, allocations: 27.98 kB / 0.5719 GB, free: 9.723 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.229e-05/0.3928, allocations: 4 kB / 0.5719 GB, free: 9.719 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003448/0.3932, allocations: 51.89 kB / 0.5719 GB, free: 9.668 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.64e-05/0.3932, allocations: 19.86 kB / 0.5719 GB, free: 9.648 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002848/0.3935, allocations: 59.61 kB / 0.572 GB, free: 9.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.332e-05/0.3935, allocations: 15.98 kB / 0.572 GB, free: 9.574 MB / 414.1 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.0002641/0.3938, allocations: 177.8 kB / 0.5722 GB, free: 9.391 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.86e-05/0.3939, allocations: 31.8 kB / 0.5722 GB, free: 9.359 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006433/0.3945, allocations: 284.2 kB / 0.5725 GB, free: 9.074 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.3945, allocations: 4 kB / 0.5725 GB, free: 9.07 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.291e-06/0.3945, allocations: 3.938 kB / 0.5725 GB, free: 9.066 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3945, allocations: 7.938 kB / 0.5725 GB, free: 9.059 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004949/0.395, allocations: 301.4 kB / 0.5728 GB, free: 8.715 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.063e-05/0.3951, allocations: 20 kB / 0.5728 GB, free: 8.695 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001525/0.3952, allocations: 27.97 kB / 0.5728 GB, free: 8.668 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.3952, allocations: 0 / 0.5728 GB, free: 8.668 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.135e-05/0.3953, allocations: 4 kB / 0.5728 GB, free: 8.664 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.3953, allocations: 4 kB / 0.5728 GB, free: 8.66 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/0.3953, allocations: 3.938 kB / 0.5728 GB, free: 8.656 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007854/0.396, allocations: 0.5055 MB / 0.5733 GB, free: 8.133 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002129/0.3963, allocations: 116.8 kB / 0.5734 GB, free: 8 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.811e-05/0.3963, allocations: 0 / 0.5734 GB, free: 8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002679/0.3966, allocations: 27.97 kB / 0.5735 GB, free: 7.973 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.163e-05/0.3967, allocations: 23.91 kB / 0.5735 GB, free: 7.949 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.602e-05/0.3967, allocations: 4 kB / 0.5735 GB, free: 7.945 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003844/0.3971, allocations: 295.1 kB / 0.5738 GB, free: 7.656 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3971, allocations: 0 / 0.5738 GB, free: 7.656 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006555/0.3977, allocations: 91.88 kB / 0.5739 GB, free: 7.566 MB / 414.1 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.0002964/0.398, allocations: 151.1 kB / 0.574 GB, free: 7.41 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009707/0.399, allocations: 429.7 kB / 0.5744 GB, free: 6.953 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.399, allocations: 3.938 kB / 0.5744 GB, free: 6.949 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004194/0.3994, allocations: 263.2 kB / 0.5747 GB, free: 6.656 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006184/0.4, allocations: 77.91 kB / 0.5747 GB, free: 6.582 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001473/0.4015, allocations: 0.6194 MB / 0.5753 GB, free: 5.926 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007501/0.4022, allocations: 0.7987 MB / 0.5761 GB, free: 5.102 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001927/0.4024, allocations: 62.92 kB / 0.5762 GB, free: 5.043 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.962e-05/0.4025, allocations: 19.44 kB / 0.5762 GB, free: 5.023 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4025, allocations: 0 / 0.5762 GB, free: 5.023 MB / 414.1 MB Notification: Performance of Templates: time 0.01177/0.4143, allocations: 5.857 MB / 0.5819 GB, free: 15.24 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_turbulent/kc_turbulent.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.417111554183066]