Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.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.001063/0.001063, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 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.001133/0.001133, allocations: 170.1 kB / 24.91 MB, free: 8.723 MB / 18.57 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 0.9746/0.9746, allocations: 177.1 MB / 205.3 MB, free: 4.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.1547/0.1547, allocations: 34.26 MB / 296.1 MB, free: 13.99 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_laminar,tolerance=1e-07,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,]+.|Nu_3.[0-9,]+.|Nu_4.[0-9,]+.|Re|Pr.[0-9,]+.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar,tolerance=1e-07,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,]+.|Nu_3.[0-9,]+.|Nu_4.[0-9,]+.|Re|Pr.[0-9,]+.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 325.3 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.064e-05/1.201e-05, allocations: 2.312 kB / 325.3 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.002467/0.002479, allocations: 2.292 MB / 327.6 MB, free: 14.39 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001739/0.004217, allocations: 1.16 MB / 328.8 MB, free: 13.22 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.234e-05/0.00431, allocations: 0 / 328.8 MB, free: 13.22 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002347/0.004544, allocations: 75.59 kB / 328.9 MB, free: 13.15 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002091/0.004754, allocations: 115.2 kB / 329 MB, free: 13.04 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003899/0.005143, allocations: 195.2 kB / 329.2 MB, free: 12.84 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003797/0.005523, allocations: 0.5208 MB / 329.7 MB, free: 12.32 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.148e-05/0.005585, allocations: 29.25 kB / 329.7 MB, free: 12.29 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003042/0.005889, allocations: 227.2 kB / 329.9 MB, free: 12.06 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001901/0.006079, allocations: 167.4 kB / 330.1 MB, free: 11.9 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.153e-05/0.00611, allocations: 16 kB / 330.1 MB, free: 11.88 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002648/0.006375, allocations: 143.8 kB / 330.3 MB, free: 11.74 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.889e-05/0.006474, allocations: 107.5 kB / 330.4 MB, free: 11.64 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001091/0.006583, allocations: 119.5 kB / 330.5 MB, free: 11.52 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000504/0.007087, allocations: 0.4981 MB / 331 MB, free: 11.02 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.00709, allocations: 4 kB / 331 MB, free: 11.02 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.007091, allocations: 0 / 331 MB, free: 11.02 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.007099, allocations: 0 / 331 MB, free: 11.02 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.0007311/0.00783, allocations: 0.6282 MB / 331.6 MB, free: 10.36 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.996e-05/0.00786, allocations: 15.97 kB / 331.6 MB, free: 10.35 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002307/0.00809, allocations: 104.8 kB / 331.7 MB, free: 10.25 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000212/0.008302, allocations: 209 kB / 331.9 MB, free: 10.02 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.109e-05/0.008323, allocations: 41.31 kB / 332 MB, free: 9.977 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.448e-05/0.008358, allocations: 44.38 kB / 332 MB, free: 9.934 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004022/0.00876, allocations: 415.8 kB / 332.4 MB, free: 9.504 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.008774, allocations: 7.922 kB / 332.4 MB, free: 9.496 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.453e-05/0.008798, allocations: 19.98 kB / 332.4 MB, free: 9.477 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.292e-05/0.008831, allocations: 21 kB / 332.5 MB, free: 9.453 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001878/0.009019, allocations: 172.5 kB / 332.6 MB, free: 9.285 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009855/0.01, allocations: 1.007 MB / 333.6 MB, free: 8.242 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001818/0.01019, allocations: 177.3 kB / 333.8 MB, free: 8.039 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.622e-05/0.01024, allocations: 26.58 kB / 333.8 MB, free: 8.004 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.539e-05/0.01028, allocations: 19.92 kB / 333.9 MB, free: 7.984 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/0.0103, allocations: 34.56 kB / 333.9 MB, free: 7.941 MB / 314.7 MB Notification: Performance of pre-optimization done (n=20): time 1.573e-06/0.0103, allocations: 0 / 333.9 MB, free: 7.941 MB / 314.7 MB Notification: Performance of matching and sorting (n=20): time 0.0002833/0.01058, allocations: 124.8 kB / 334 MB, free: 7.816 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/0.01063, allocations: 110.8 kB / 334.1 MB, free: 7.684 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.01075, allocations: 228.9 kB / 334.3 MB, free: 7.445 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.87e-05/0.01077, allocations: 29.7 kB / 334.4 MB, free: 7.41 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.356e-05/0.01087, allocations: 248.4 kB / 334.6 MB, free: 7.164 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.87e-05/0.01091, allocations: 75.36 kB / 334.7 MB, free: 7.09 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.668e-05/0.01098, allocations: 65.94 kB / 334.8 MB, free: 7.016 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.75e-05/0.01106, allocations: 334.7 kB / 335.1 MB, free: 6.68 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.253e-05/0.01112, allocations: 35.09 kB / 335.1 MB, free: 6.645 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001146/0.01124, allocations: 156.6 kB / 335.3 MB, free: 6.438 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002082/0.01145, allocations: 221.3 kB / 335.5 MB, free: 6.16 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.01145, allocations: 0 / 335.5 MB, free: 6.16 MB / 314.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003871/0.01184, allocations: 200.5 kB / 335.7 MB, free: 5.953 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.01185, allocations: 10.34 kB / 335.7 MB, free: 5.945 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.109e-05/0.01189, allocations: 28.52 kB / 335.7 MB, free: 5.918 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.0119, allocations: 11.94 kB / 335.7 MB, free: 5.906 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.11e-05/0.01199, allocations: 35.91 kB / 335.8 MB, free: 5.871 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.012, allocations: 11.94 kB / 335.8 MB, free: 5.859 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.65e-05/0.0121, allocations: 43.72 kB / 335.8 MB, free: 5.816 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.139e-05/0.01212, allocations: 12 kB / 335.8 MB, free: 5.805 MB / 314.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: 12 (m_flow_IN_con_1[1].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[3].target,m_flow_IN_con_2[1].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[3].target,m_flow_IN_con_3[1].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[3].target,m_flow_IN_con_4[1].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[3].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0001073/0.01223, allocations: 148.5 kB / 336 MB, free: 5.648 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.881e-05/0.01228, allocations: 11.98 kB / 336 MB, free: 5.637 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002752/0.01255, allocations: 203.5 kB / 336.2 MB, free: 5.426 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.01256, allocations: 7.984 kB / 336.2 MB, free: 5.418 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.01256, allocations: 4 kB / 336.2 MB, free: 5.414 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.01256, allocations: 0 / 336.2 MB, free: 5.414 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002427/0.01281, allocations: 177.6 kB / 336.4 MB, free: 5.223 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.282e-05/0.01284, allocations: 23.98 kB / 336.4 MB, free: 5.199 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.109e-05/0.01289, allocations: 23.91 kB / 336.4 MB, free: 5.176 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.01289, allocations: 4 kB / 336.4 MB, free: 5.172 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.01291, allocations: 4 kB / 336.4 MB, free: 5.168 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.01291, allocations: 4 kB / 336.4 MB, free: 5.164 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.01291, allocations: 0 / 336.4 MB, free: 5.164 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002444/0.01315, allocations: 405.2 kB / 336.8 MB, free: 4.75 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.321e-05/0.01318, allocations: 27.8 kB / 336.9 MB, free: 4.723 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.395e-05/0.0132, allocations: 11.92 kB / 336.9 MB, free: 4.711 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.688e-05/0.0133, allocations: 8 kB / 336.9 MB, free: 4.703 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.013e-05/0.01336, allocations: 23.97 kB / 336.9 MB, free: 4.68 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.368e-05/0.01337, allocations: 3.984 kB / 336.9 MB, free: 4.676 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.751e-05/0.01342, allocations: 66.8 kB / 337 MB, free: 4.613 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01342, allocations: 0 / 337 MB, free: 4.613 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003256/0.01375, allocations: 167.4 kB / 337.1 MB, free: 4.449 MB / 314.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 (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0001884/0.01393, allocations: 148.2 kB / 337.3 MB, free: 4.297 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003125/0.01425, allocations: 446.2 kB / 337.7 MB, free: 3.785 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.226e-06/0.01425, allocations: 4 kB / 337.7 MB, free: 3.781 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001636/0.01442, allocations: 371.9 kB / 338.1 MB, free: 3.344 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002865/0.0147, allocations: 47.45 kB / 338.1 MB, free: 3.301 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.01571, allocations: 0.7416 MB / 338.9 MB, free: 2.523 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.841e-05/0.01579, allocations: 132.1 kB / 339 MB, free: 2.375 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.508e-05/0.01584, allocations: 25.83 kB / 339 MB, free: 2.348 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001928/0.01604, allocations: 139.3 kB / 339.2 MB, free: 2.211 MB / 314.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01604, allocations: 0 / 339.2 MB, free: 2.211 MB / 314.7 MB Notification: Performance of Templates: time 0.1333/0.1493, allocations: 5.921 MB / 345.1 MB, free: 29.32 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_laminar/kc_laminar.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.1011111242696643]