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.0009819/0.0009819, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.00091/0.00091, allocations: 174.4 kB / 24.92 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.9572/0.9572, allocations: 177.1 MB / 205.3 MB, free: 5.07 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.2543/0.2543, allocations: 34.26 MB / 296.1 MB, free: 0.6719 MB / 266.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.122e-06/1.122e-06, allocations: 0 / 325.3 MB, free: 7.676 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.747e-05/1.86e-05, allocations: 2.969 kB / 325.3 MB, free: 7.672 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.002432/0.002451, allocations: 2.246 MB / 327.5 MB, free: 5.41 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001536/0.003987, allocations: 1.169 MB / 328.7 MB, free: 4.238 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.472e-05/0.004082, allocations: 0 / 328.7 MB, free: 4.238 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002267/0.004308, allocations: 67.66 kB / 328.8 MB, free: 4.172 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002039/0.004512, allocations: 115.2 kB / 328.9 MB, free: 4.059 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004557/0.004968, allocations: 203.2 kB / 329.1 MB, free: 3.859 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003945/0.005362, allocations: 0.5208 MB / 329.6 MB, free: 3.336 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.99e-05/0.005422, allocations: 37.19 kB / 329.6 MB, free: 3.293 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002687/0.005691, allocations: 227.2 kB / 329.9 MB, free: 3.07 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002357/0.005927, allocations: 171.4 kB / 330 MB, free: 2.902 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.843e-05/0.005965, allocations: 16 kB / 330 MB, free: 2.887 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002854/0.00625, allocations: 135.8 kB / 330.2 MB, free: 2.754 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001008/0.006351, allocations: 107.5 kB / 330.3 MB, free: 2.648 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000122/0.006473, allocations: 119.5 kB / 330.4 MB, free: 2.531 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005172/0.00699, allocations: 0.4942 MB / 330.9 MB, free: 2.035 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.006993, allocations: 0 / 330.9 MB, free: 2.035 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.006993, allocations: 0 / 330.9 MB, free: 2.035 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.507e-06/0.006997, allocations: 0 / 330.9 MB, free: 2.035 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.003742/0.01074, allocations: 0.6374 MB / 331.5 MB, free: 1.375 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.01077, allocations: 15.97 kB / 331.5 MB, free: 1.359 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002952/0.01107, allocations: 100.9 kB / 331.6 MB, free: 1.262 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000441/0.01151, allocations: 213 kB / 331.8 MB, free: 1.027 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.034e-05/0.01154, allocations: 41.31 kB / 331.9 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.384e-05/0.01159, allocations: 40.38 kB / 331.9 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005207/0.01212, allocations: 415.8 kB / 332.3 MB, free: 0.5156 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.01213, allocations: 7.938 kB / 332.3 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.226e-05/0.01216, allocations: 16 kB / 332.4 MB, free: 0.4922 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.732e-05/0.0122, allocations: 24.98 kB / 332.4 MB, free: 476 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000239/0.01244, allocations: 168.5 kB / 332.5 MB, free: 308 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001222/0.01366, allocations: 1.015 MB / 333.6 MB, free: 15.25 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003226/0.01689, allocations: 169.3 kB / 333.7 MB, free: 15.05 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.225e-05/0.01696, allocations: 30.58 kB / 333.8 MB, free: 15.02 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.195e-05/0.017, allocations: 15.92 kB / 333.8 MB, free: 15 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.01702, allocations: 38.56 kB / 333.8 MB, free: 14.95 MB / 314.7 MB Notification: Performance of pre-optimization done (n=20): time 1.363e-06/0.01702, allocations: 0 / 333.8 MB, free: 14.95 MB / 314.7 MB Notification: Performance of matching and sorting (n=20): time 0.0003463/0.01737, allocations: 122.6 kB / 333.9 MB, free: 14.83 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.415e-05/0.01742, allocations: 106.8 kB / 334 MB, free: 14.7 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001532/0.01757, allocations: 229 kB / 334.3 MB, free: 14.46 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/0.01759, allocations: 29.7 kB / 334.3 MB, free: 14.43 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.0177, allocations: 244.1 kB / 334.5 MB, free: 14.18 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.207e-05/0.01776, allocations: 75.34 kB / 334.6 MB, free: 14.11 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/0.01786, allocations: 65.91 kB / 334.7 MB, free: 14.04 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.992e-05/0.01795, allocations: 339 kB / 335 MB, free: 13.7 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.204e-05/0.01803, allocations: 39.09 kB / 335 MB, free: 13.66 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000141/0.01817, allocations: 158.9 kB / 335.2 MB, free: 13.45 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002531/0.01843, allocations: 221.3 kB / 335.4 MB, free: 13.17 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.01843, allocations: 4 kB / 335.4 MB, free: 13.17 MB / 314.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000318/0.01875, allocations: 198.7 kB / 335.6 MB, free: 12.96 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.01876, allocations: 8 kB / 335.6 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.114e-05/0.01882, allocations: 27.98 kB / 335.6 MB, free: 12.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.01883, allocations: 7.938 kB / 335.6 MB, free: 12.92 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.01894, allocations: 31.92 kB / 335.7 MB, free: 12.89 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.537e-06/0.01895, allocations: 12.45 kB / 335.7 MB, free: 12.88 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00014/0.01909, allocations: 43.78 kB / 335.7 MB, free: 12.84 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.936e-05/0.01912, allocations: 11.98 kB / 335.7 MB, free: 12.82 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.0001282/0.01924, allocations: 144.5 kB / 335.9 MB, free: 12.67 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.485e-05/0.01932, allocations: 15.98 kB / 335.9 MB, free: 12.66 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003356/0.02268, allocations: 205.6 kB / 336.1 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.02268, allocations: 7.984 kB / 336.1 MB, free: 12.44 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.02269, allocations: 4 kB / 336.1 MB, free: 12.43 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.02269, allocations: 0 / 336.1 MB, free: 12.43 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003492/0.02304, allocations: 181.6 kB / 336.3 MB, free: 12.24 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-05/0.02308, allocations: 27.98 kB / 336.3 MB, free: 12.21 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.332e-05/0.02315, allocations: 19.92 kB / 336.3 MB, free: 12.19 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.02315, allocations: 0 / 336.3 MB, free: 12.19 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.704e-05/0.02316, allocations: 8 kB / 336.3 MB, free: 12.18 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.02317, allocations: 3.984 kB / 336.3 MB, free: 12.18 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.02317, allocations: 0 / 336.3 MB, free: 12.18 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000274/0.02344, allocations: 405.2 kB / 336.7 MB, free: 11.77 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.737e-05/0.02347, allocations: 19.86 kB / 336.8 MB, free: 11.75 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.282e-05/0.0235, allocations: 8 kB / 336.8 MB, free: 11.74 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001599/0.02366, allocations: 11.92 kB / 336.8 MB, free: 11.73 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.062e-05/0.02372, allocations: 27.97 kB / 336.8 MB, free: 11.7 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.792e-05/0.02374, allocations: 4 kB / 336.8 MB, free: 11.7 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.24e-05/0.0238, allocations: 70.78 kB / 336.9 MB, free: 11.63 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0238, allocations: 0 / 336.9 MB, free: 11.63 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000474/0.02428, allocations: 159.4 kB / 337 MB, free: 11.47 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.0002098/0.02449, allocations: 140.2 kB / 337.2 MB, free: 11.33 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003758/0.02486, allocations: 450.7 kB / 337.6 MB, free: 10.81 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/0.02487, allocations: 4 kB / 337.6 MB, free: 10.81 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000202/0.02507, allocations: 373.4 kB / 338 MB, free: 10.37 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003986/0.02547, allocations: 42.91 kB / 338 MB, free: 10.33 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004399/0.02987, allocations: 0.7415 MB / 338.8 MB, free: 9.551 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.792e-05/0.02997, allocations: 128.4 kB / 338.9 MB, free: 9.406 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.009e-05/0.03004, allocations: 25.77 kB / 338.9 MB, free: 9.379 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000239/0.03028, allocations: 151.3 kB / 339.1 MB, free: 9.23 MB / 314.7 MB Notification: Performance of SimCode: time 7.71e-07/0.03028, allocations: 0 / 339.1 MB, free: 9.23 MB / 314.7 MB Notification: Performance of Templates: time 0.01751/0.04779, allocations: 5.931 MB / 345 MB, free: 3.387 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 -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.1034008031710982]