Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004596/0.005868, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001588/0.002853, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.122/1.122, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1282/1.251, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3493/0.3493, allocations: 32.79 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03302/0.3823, allocations: 12.53 MB / 289.3 MB, free: 8.684 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|cp.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|m_flow.[0-9,]+.|Re_1.[0-9,]+.|Nu_1.[0-9,]+.|Nu_2.[0-9,]+.|Re|Pr.[0-9,]+.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_4.0.0_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.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|m_flow.[0-9,]+.|Re_1.[0-9,]+.|Nu_1.[0-9,]+.|Nu_2.[0-9,]+.|Re|Pr.[0-9,]+.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 290.6 MB, free: 7.648 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.578e-05/2.759e-05, allocations: 2.312 kB / 290.6 MB, free: 7.645 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.003276/0.003304, allocations: 2.122 MB / 292.7 MB, free: 5.969 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001777/0.005081, allocations: 1.142 MB / 293.9 MB, free: 5.016 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001744/0.005255, allocations: 7.938 kB / 293.9 MB, free: 5.008 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002648/0.00552, allocations: 55.61 kB / 293.9 MB, free: 4.953 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000256/0.005776, allocations: 83.39 kB / 294 MB, free: 4.871 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007011/0.006477, allocations: 175.3 kB / 294.2 MB, free: 4.699 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004244/0.006901, allocations: 350.2 kB / 294.5 MB, free: 4.355 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.053e-05/0.006972, allocations: 22.88 kB / 294.6 MB, free: 4.336 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003687/0.007341, allocations: 172.2 kB / 294.7 MB, free: 4.168 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001939/0.007535, allocations: 123.5 kB / 294.9 MB, free: 4.047 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.776e-05/0.007562, allocations: 8 kB / 294.9 MB, free: 4.039 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003745/0.007937, allocations: 159.8 kB / 295 MB, free: 3.883 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001081/0.008045, allocations: 59.72 kB / 295.1 MB, free: 3.824 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.722e-05/0.008132, allocations: 63.81 kB / 295.1 MB, free: 3.762 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005057/0.008638, allocations: 330.8 kB / 295.5 MB, free: 3.438 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.607e-05/0.008654, allocations: 0 / 295.5 MB, free: 3.438 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.008656, allocations: 4 kB / 295.5 MB, free: 3.434 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.931e-05/0.008676, allocations: 0 / 295.5 MB, free: 3.434 MB / 282.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.0009385/0.009614, allocations: 0.5664 MB / 296 MB, free: 2.844 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.00966, allocations: 8.031 kB / 296 MB, free: 2.836 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003029/0.009963, allocations: 150 kB / 296.2 MB, free: 2.672 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002477/0.01021, allocations: 185 kB / 296.4 MB, free: 2.465 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.151e-05/0.01023, allocations: 20.66 kB / 296.4 MB, free: 2.441 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.592e-05/0.01026, allocations: 24 kB / 296.4 MB, free: 2.418 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003523/0.01061, allocations: 286.2 kB / 296.7 MB, free: 2.117 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.01062, allocations: 3.938 kB / 296.7 MB, free: 2.113 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.199e-05/0.01064, allocations: 15.98 kB / 296.7 MB, free: 2.098 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.464e-05/0.01068, allocations: 12.66 kB / 296.7 MB, free: 2.086 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001407/0.01082, allocations: 110.1 kB / 296.8 MB, free: 1.973 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009096/0.01173, allocations: 0.7595 MB / 297.6 MB, free: 1.184 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001908/0.01192, allocations: 160.1 kB / 297.7 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.666e-05/0.01197, allocations: 26.58 kB / 297.8 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.73e-05/0.012, allocations: 8 kB / 297.8 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/0.01203, allocations: 34.55 kB / 297.8 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of pre-optimization done (n=14): time 2.424e-06/0.01204, allocations: 0 / 297.8 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002744/0.01231, allocations: 102.2 kB / 297.9 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.47e-05/0.01237, allocations: 106.8 kB / 298 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/0.01252, allocations: 229.1 kB / 298.2 MB, free: 448 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.01254, allocations: 33.7 kB / 298.3 MB, free: 408 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.816e-05/0.01263, allocations: 188.2 kB / 298.5 MB, free: 216 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.341e-05/0.01267, allocations: 55.5 kB / 298.5 MB, free: 160 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.017e-05/0.01274, allocations: 57.86 kB / 298.6 MB, free: 92 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.01285, allocations: 334.7 kB / 298.9 MB, free: 15.75 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.367e-05/0.01291, allocations: 27.8 kB / 298.9 MB, free: 15.73 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001053/0.01302, allocations: 136.3 kB / 299.1 MB, free: 15.54 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002125/0.01323, allocations: 213.8 kB / 299.3 MB, free: 15.27 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.01324, allocations: 4 kB / 299.3 MB, free: 15.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002326/0.01347, allocations: 173 kB / 299.4 MB, free: 15.09 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.01349, allocations: 7.938 kB / 299.4 MB, free: 15.08 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.126e-05/0.01352, allocations: 24.02 kB / 299.5 MB, free: 15.06 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.01353, allocations: 4 kB / 299.5 MB, free: 15.05 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000143/0.01367, allocations: 47.91 kB / 299.5 MB, free: 15.01 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.01368, allocations: 8 kB / 299.5 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001036/0.01378, allocations: 31.83 kB / 299.6 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.919e-05/0.0138, allocations: 12 kB / 299.6 MB, free: 14.96 MB / 298.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_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 (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.0001319/0.01393, allocations: 140.5 kB / 299.7 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.716e-05/0.01398, allocations: 12 kB / 299.7 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002287/0.01421, allocations: 139.3 kB / 299.9 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.01421, allocations: 3.984 kB / 299.9 MB, free: 14.65 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.01422, allocations: 7.984 kB / 299.9 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.01422, allocations: 0 / 299.9 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000254/0.01448, allocations: 149.6 kB / 300 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.875e-05/0.0145, allocations: 12 kB / 300 MB, free: 14.47 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.09e-05/0.01457, allocations: 19.97 kB / 300 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.41e-05/0.01459, allocations: 19.86 kB / 300.1 MB, free: 14.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.01459, allocations: 4 kB / 300.1 MB, free: 14.43 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.0146, allocations: 4 kB / 300.1 MB, free: 14.42 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.01461, allocations: 7.984 kB / 300.1 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.01461, allocations: 0 / 300.1 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002368/0.01484, allocations: 386.1 kB / 300.5 MB, free: 14.02 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.22e-05/0.01487, allocations: 0 / 300.5 MB, free: 14.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.01497, allocations: 12 kB / 300.5 MB, free: 14.01 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.239e-05/0.01502, allocations: 15.97 kB / 300.5 MB, free: 13.99 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.01503, allocations: 4 kB / 300.5 MB, free: 13.99 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.001e-05/0.01509, allocations: 70.78 kB / 300.6 MB, free: 13.92 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01509, allocations: 4 kB / 300.6 MB, free: 13.91 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003679/0.01546, allocations: 107.7 kB / 300.7 MB, free: 13.81 MB / 298.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.0002703/0.01573, allocations: 144.2 kB / 300.8 MB, free: 13.66 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002711/0.016, allocations: 259 kB / 301.1 MB, free: 13.37 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.552e-05/0.01602, allocations: 8 kB / 301.1 MB, free: 13.36 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001141/0.01613, allocations: 204 kB / 301.3 MB, free: 13.12 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003237/0.01646, allocations: 56.53 kB / 301.3 MB, free: 13.07 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002278/0.01873, allocations: 0.5439 MB / 301.9 MB, free: 12.48 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.875e-05/0.01881, allocations: 107.9 kB / 302 MB, free: 12.36 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.164e-05/0.01888, allocations: 9.656 kB / 302 MB, free: 12.35 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001624/0.01905, allocations: 111.3 kB / 302.1 MB, free: 12.24 MB / 298.7 MB Notification: Performance of SimCode: time 1.413e-06/0.01905, allocations: 0 / 302.1 MB, free: 12.24 MB / 298.7 MB Notification: Performance of Templates: time 0.007785/0.02683, allocations: 4.698 MB / 306.8 MB, free: 7.629 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_turbulent/kc_turbulent.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.378664616495371]