Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.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.0009409/0.0009409, allocations: 95.31 kB / 20.43 MB, free: 4.145 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.0008994/0.0008994, allocations: 165 kB / 23.8 MB, free: 0.7773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.7835/0.7835, allocations: 158.6 MB / 185.7 MB, free: 2.922 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1191/0.1191, allocations: 32.38 MB / 270.4 MB, free: 14.71 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Channel.kc_evenGapLaminar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|dimlesslength|abscissa.[0-9,]+.|length|Pr.[0-9,]+.|Re.[0-9,]+.|velocity.[0-9,]+.|cp.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|Nu_1.[0-9,]+.|Nu_2.[0-9,]+.|Nu_3.[0-9,]+.|Nu_4.[0-9,]+.|m_flow.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|dimlesslength|abscissa.[0-9,]+.|length|Pr.[0-9,]+.|Re.[0-9,]+.|velocity.[0-9,]+.|cp.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|Nu_1.[0-9,]+.|Nu_2.[0-9,]+.|Nu_3.[0-9,]+.|Nu_4.[0-9,]+.|m_flow.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 347.7 MB, free: 9.406 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.449e-05/1.564e-05, allocations: 9.406 kB / 347.7 MB, free: 9.398 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar): time 0.001796/0.001811, allocations: 1.986 MB / 349.7 MB, free: 7.398 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001175/0.002987, allocations: 1.146 MB / 350.9 MB, free: 6.246 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.225e-05/0.003059, allocations: 4 kB / 350.9 MB, free: 6.242 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002325/0.003291, allocations: 67.53 kB / 350.9 MB, free: 6.176 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001962/0.003487, allocations: 103.4 kB / 351 MB, free: 6.074 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003222/0.00381, allocations: 163.3 kB / 351.2 MB, free: 5.914 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000294/0.004104, allocations: 0.4936 MB / 351.7 MB, free: 5.418 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.348e-05/0.004157, allocations: 13.25 kB / 351.7 MB, free: 5.406 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.004279, allocations: 207.2 kB / 351.9 MB, free: 5.203 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001495/0.004429, allocations: 179.4 kB / 352.1 MB, free: 5.027 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.574e-05/0.004455, allocations: 8 kB / 352.1 MB, free: 5.02 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001979/0.004652, allocations: 139.7 kB / 352.2 MB, free: 4.883 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.54e-05/0.004728, allocations: 107.5 kB / 352.3 MB, free: 4.777 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.275e-05/0.004811, allocations: 115.5 kB / 352.4 MB, free: 4.664 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003512/0.005162, allocations: 494 kB / 352.9 MB, free: 4.18 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.005164, allocations: 3.938 kB / 352.9 MB, free: 4.176 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.005165, allocations: 0 / 352.9 MB, free: 4.176 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.00517, allocations: 0 / 352.9 MB, free: 4.176 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.0005744/0.005744, allocations: 0.7729 MB / 353.7 MB, free: 3.367 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.005778, allocations: 12.03 kB / 353.7 MB, free: 3.355 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.575e-05/0.005863, allocations: 92.55 kB / 353.8 MB, free: 3.266 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001928/0.006056, allocations: 234.2 kB / 354 MB, free: 3.012 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.965e-05/0.006086, allocations: 41.67 kB / 354.1 MB, free: 2.973 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.552e-05/0.006131, allocations: 52.36 kB / 354.1 MB, free: 2.922 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003531/0.006484, allocations: 359 kB / 354.5 MB, free: 2.562 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.006497, allocations: 3.938 kB / 354.5 MB, free: 2.559 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.643e-05/0.006523, allocations: 23.98 kB / 354.5 MB, free: 2.535 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.608e-05/0.006559, allocations: 33.3 kB / 354.5 MB, free: 2.504 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002482/0.006807, allocations: 215.7 kB / 354.7 MB, free: 2.293 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001176/0.007984, allocations: 1.13 MB / 355.9 MB, free: 1.125 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003568/0.008341, allocations: 187.3 kB / 356 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.873e-05/0.008429, allocations: 55.72 kB / 356.1 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.481e-05/0.008464, allocations: 11.98 kB / 356.1 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.637e-05/0.00848, allocations: 41.33 kB / 356.2 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of pre-optimization done (n=25): time 1.784e-06/0.008482, allocations: 0 / 356.2 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of matching and sorting (n=25): time 0.0004313/0.008914, allocations: 235.5 kB / 356.4 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.302e-05/0.008937, allocations: 55.41 kB / 356.4 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.009065, allocations: 274.5 kB / 356.7 MB, free: 228 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.009082, allocations: 29.7 kB / 356.7 MB, free: 192 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.009195, allocations: 303 kB / 357 MB, free: 15.88 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.117e-05/0.009256, allocations: 95.22 kB / 357.1 MB, free: 15.79 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.902e-05/0.009355, allocations: 99.62 kB / 357.2 MB, free: 15.68 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.009471, allocations: 0.5079 MB / 357.7 MB, free: 15.16 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/0.009572, allocations: 48.3 kB / 357.8 MB, free: 15.11 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001652/0.009737, allocations: 188.5 kB / 358 MB, free: 14.87 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003821/0.01012, allocations: 323.9 kB / 358.3 MB, free: 14.5 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.01012, allocations: 4 kB / 358.3 MB, free: 14.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0003762/0.0105, allocations: 289.9 kB / 358.6 MB, free: 14.21 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.01051, allocations: 7.75 kB / 358.6 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.363e-05/0.01055, allocations: 47.88 kB / 358.6 MB, free: 14.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.01057, allocations: 7.984 kB / 358.6 MB, free: 14.15 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.85e-05/0.01067, allocations: 35.92 kB / 358.7 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.01067, allocations: 4.406 kB / 358.7 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.242e-05/0.01076, allocations: 31.88 kB / 358.7 MB, free: 14.08 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.572e-05/0.01078, allocations: 24 kB / 358.7 MB, free: 14.05 MB / 298.7 MB Warning: Assuming fixed start value for the following 1 variables: dimlesslength:VARIABLE(start = 0.01 unit = \"m\" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (41): * Single equations (assignments): 29 * 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.0001776/0.01096, allocations: 188.7 kB / 358.9 MB, free: 13.86 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.606e-05/0.011, allocations: 31.84 kB / 358.9 MB, free: 13.83 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004377/0.01144, allocations: 335.6 kB / 359.3 MB, free: 13.49 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.01145, allocations: 4 kB / 359.3 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.01145, allocations: 0 / 359.3 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.01146, allocations: 11.98 kB / 359.3 MB, free: 13.47 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003009/0.01176, allocations: 348.4 kB / 359.6 MB, free: 13.1 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001008/0.01186, allocations: 35.98 kB / 359.7 MB, free: 13.06 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.936e-05/0.01194, allocations: 31.98 kB / 359.7 MB, free: 13.03 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.01194, allocations: 0 / 359.7 MB, free: 13.03 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.566e-05/0.01197, allocations: 19.94 kB / 359.7 MB, free: 13.01 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.01197, allocations: 4 kB / 359.7 MB, free: 13.01 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.01197, allocations: 0 / 359.7 MB, free: 13.01 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004574/0.01243, allocations: 424.3 kB / 360.1 MB, free: 12.57 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.169e-05/0.01245, allocations: 23.83 kB / 360.1 MB, free: 12.55 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.711e-05/0.01247, allocations: 7.938 kB / 360.2 MB, free: 12.54 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.471e-05/0.01254, allocations: 12.03 kB / 360.2 MB, free: 12.53 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.146e-05/0.01258, allocations: 23.97 kB / 360.2 MB, free: 12.51 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.811e-05/0.0126, allocations: 19.98 kB / 360.2 MB, free: 12.49 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.727e-05/0.01267, allocations: 171.4 kB / 360.4 MB, free: 12.32 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01267, allocations: 0 / 360.4 MB, free: 12.32 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002958/0.01296, allocations: 175.4 kB / 360.5 MB, free: 12.15 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (dimlesslength) * 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 (28): * Single equations (assignments): 16 * 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.0002183/0.01318, allocations: 175 kB / 360.7 MB, free: 11.97 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003879/0.01357, allocations: 0.4959 MB / 361.2 MB, free: 11.39 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.01357, allocations: 0.8125 kB / 361.2 MB, free: 11.39 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003269/0.0139, allocations: 409 kB / 361.6 MB, free: 10.92 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002196/0.01412, allocations: 41.19 kB / 361.7 MB, free: 10.88 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/0.01523, allocations: 0.8295 MB / 362.5 MB, free: 10.02 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.255e-05/0.01532, allocations: 160.5 kB / 362.6 MB, free: 9.84 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.1e-05/0.01541, allocations: 58.2 kB / 362.7 MB, free: 9.785 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.326e-05/0.01545, allocations: 24.5 kB / 362.7 MB, free: 9.762 MB / 298.7 MB Notification: Performance of SimCode: time 6.22e-07/0.01545, allocations: 0 / 362.7 MB, free: 9.762 MB / 298.7 MB Notification: Performance of Templates: time 0.007183/0.02263, allocations: 6.262 MB / 369 MB, free: 3.566 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapLaminar/kc_evenGapLaminar.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: 2.9252016660757363]