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_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.001151/0.001151, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.00453/0.00453, allocations: 161 kB / 24.56 MB, free: 16 kB / 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 1.064/1.064, allocations: 177.1 MB / 205 MB, free: 5.625 MB / 186.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.2555/0.2555, allocations: 32.81 MB / 294.3 MB, free: 1.281 MB / 266.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_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.0.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.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 376.1 MB, free: 4.621 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.769e-05/1.924e-05, allocations: 2.312 kB / 376.1 MB, free: 4.617 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.002494/0.002513, allocations: 2.254 MB / 378.3 MB, free: 2.344 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001333/0.003846, allocations: 1.157 MB / 379.5 MB, free: 1.184 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.786e-05/0.003934, allocations: 0 / 379.5 MB, free: 1.184 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002498/0.004184, allocations: 63.59 kB / 379.5 MB, free: 1.121 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001988/0.004382, allocations: 115.2 kB / 379.6 MB, free: 1.008 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003948/0.004777, allocations: 195.2 kB / 379.8 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003902/0.005167, allocations: 0.517 MB / 380.4 MB, free: 304 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.276e-05/0.00522, allocations: 21.28 kB / 380.4 MB, free: 280 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000244/0.005464, allocations: 231.1 kB / 380.6 MB, free: 48 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001685/0.005633, allocations: 171.4 kB / 380.8 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.05e-05/0.005663, allocations: 20 kB / 380.8 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002131/0.005876, allocations: 143.8 kB / 380.9 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.963e-05/0.005966, allocations: 103.5 kB / 381 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.65e-05/0.006062, allocations: 123.5 kB / 381.2 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004577/0.00652, allocations: 0.4903 MB / 381.6 MB, free: 15 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.245e-06/0.006522, allocations: 0 / 381.6 MB, free: 15 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.006523, allocations: 0 / 381.6 MB, free: 15 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.006529, allocations: 0 / 381.6 MB, free: 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.0007503/0.007279, allocations: 0.7881 MB / 382.4 MB, free: 14.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.007313, allocations: 8.031 kB / 382.4 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002431/0.007556, allocations: 120.6 kB / 382.6 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002617/0.007817, allocations: 235.9 kB / 382.8 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.512e-05/0.007843, allocations: 41.31 kB / 382.8 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.895e-05/0.007881, allocations: 40.38 kB / 382.9 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004966/0.008378, allocations: 460.3 kB / 383.3 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.008394, allocations: 3.938 kB / 383.3 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.643e-05/0.00842, allocations: 20 kB / 383.3 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.731e-05/0.008457, allocations: 25 kB / 383.4 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002436/0.008701, allocations: 169.8 kB / 383.5 MB, free: 13.03 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001186/0.009886, allocations: 1.399 MB / 384.9 MB, free: 11.58 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002234/0.01011, allocations: 157.2 kB / 385.1 MB, free: 11.39 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.354e-05/0.0102, allocations: 67.11 kB / 385.1 MB, free: 11.31 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.115e-05/0.01024, allocations: 15.88 kB / 385.2 MB, free: 11.29 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.342e-05/0.01027, allocations: 41.39 kB / 385.2 MB, free: 11.24 MB / 362.7 MB Notification: Performance of pre-optimization done (n=20): time 1.452e-06/0.01027, allocations: 4 kB / 385.2 MB, free: 11.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.0004235/0.01069, allocations: 189.5 kB / 385.4 MB, free: 11.05 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/0.01074, allocations: 110.8 kB / 385.5 MB, free: 10.91 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001851/0.01092, allocations: 312.2 kB / 385.8 MB, free: 10.59 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.01094, allocations: 25.7 kB / 385.8 MB, free: 10.56 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.01106, allocations: 310.9 kB / 386.1 MB, free: 10.25 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.133e-05/0.01111, allocations: 75.36 kB / 386.2 MB, free: 10.18 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.151e-05/0.0112, allocations: 91.59 kB / 386.3 MB, free: 10.07 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.01132, allocations: 0.5117 MB / 386.8 MB, free: 9.551 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.528e-05/0.01142, allocations: 40.5 kB / 386.8 MB, free: 9.512 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001637/0.01158, allocations: 219.3 kB / 387.1 MB, free: 9.223 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000275/0.01186, allocations: 288.5 kB / 387.3 MB, free: 8.867 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.01186, allocations: 0 / 387.3 MB, free: 8.867 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003597/0.01222, allocations: 272.5 kB / 387.6 MB, free: 8.598 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.01224, allocations: 9.719 kB / 387.6 MB, free: 8.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-05/0.01228, allocations: 43.97 kB / 387.7 MB, free: 8.547 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.0123, allocations: 8 kB / 387.7 MB, free: 8.539 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.01241, allocations: 39.91 kB / 387.7 MB, free: 8.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.01242, allocations: 4 kB / 387.7 MB, free: 8.496 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/0.01252, allocations: 44.23 kB / 387.8 MB, free: 8.453 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.672e-05/0.01255, allocations: 27.92 kB / 387.8 MB, free: 8.426 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: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].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.0001133/0.01266, allocations: 176.5 kB / 388 MB, free: 8.242 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.701e-05/0.01272, allocations: 27.8 kB / 388 MB, free: 8.215 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003672/0.01309, allocations: 271.4 kB / 388.2 MB, free: 7.945 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.01309, allocations: 4 kB / 388.3 MB, free: 7.941 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.0131, allocations: 0 / 388.3 MB, free: 7.941 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.0131, allocations: 7.984 kB / 388.3 MB, free: 7.934 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000331/0.01343, allocations: 332.3 kB / 388.6 MB, free: 7.574 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.705e-05/0.01347, allocations: 35.98 kB / 388.6 MB, free: 7.539 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.567e-05/0.01352, allocations: 19.98 kB / 388.6 MB, free: 7.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.01353, allocations: 4 kB / 388.6 MB, free: 7.516 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/0.01354, allocations: 12 kB / 388.7 MB, free: 7.504 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.01355, allocations: 3.984 kB / 388.7 MB, free: 7.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.01355, allocations: 3.938 kB / 388.7 MB, free: 7.496 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003472/0.01389, allocations: 0.5533 MB / 389.2 MB, free: 6.922 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.481e-05/0.01392, allocations: 19.86 kB / 389.2 MB, free: 6.902 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.98e-05/0.01395, allocations: 4 kB / 389.2 MB, free: 6.898 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.01406, allocations: 11.98 kB / 389.3 MB, free: 6.887 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.158e-05/0.01412, allocations: 31.91 kB / 389.3 MB, free: 6.855 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/0.01414, allocations: 12 kB / 389.3 MB, free: 6.844 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.043e-05/0.01423, allocations: 197.1 kB / 389.5 MB, free: 6.652 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01423, allocations: 0 / 389.5 MB, free: 6.652 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003629/0.01459, allocations: 163.4 kB / 389.6 MB, free: 6.492 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 (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.0002114/0.0148, allocations: 162.9 kB / 389.8 MB, free: 6.324 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003934/0.01519, allocations: 479.3 kB / 390.3 MB, free: 5.781 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.0152, allocations: 5 kB / 390.3 MB, free: 5.777 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001984/0.01539, allocations: 388 kB / 390.7 MB, free: 5.32 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003403/0.01573, allocations: 48.58 kB / 390.7 MB, free: 5.273 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001278/0.01701, allocations: 0.7642 MB / 391.5 MB, free: 4.473 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.44e-05/0.01711, allocations: 139.9 kB / 391.6 MB, free: 4.316 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.115e-05/0.01719, allocations: 37.84 kB / 391.6 MB, free: 4.273 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.42e-05/0.01723, allocations: 28.48 kB / 391.7 MB, free: 4.242 MB / 362.7 MB Notification: Performance of SimCode: time 1.162e-06/0.01723, allocations: 0 / 391.7 MB, free: 4.242 MB / 362.7 MB Notification: Performance of Templates: time 0.006915/0.02415, allocations: 5.558 MB / 397.2 MB, free: 14.79 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.4990239762701094]