Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001007/0.001007, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.001107/0.001107, allocations: 170 kB / 24.91 MB, free: 9.207 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.9523/0.9523, allocations: 177.1 MB / 205.3 MB, free: 5.453 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.2705/0.2705, allocations: 34.25 MB / 296.1 MB, free: 0.7266 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.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_4.1.0_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_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 325.3 MB, free: 7.66 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.919e-05/2.053e-05, allocations: 2.312 kB / 325.3 MB, free: 7.656 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar): time 0.002426/0.002447, allocations: 1.997 MB / 327.3 MB, free: 5.637 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001353/0.0038, allocations: 1.142 MB / 328.4 MB, free: 4.492 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.732e-05/0.003897, allocations: 4 kB / 328.4 MB, free: 4.488 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000226/0.004123, allocations: 63.59 kB / 328.5 MB, free: 4.426 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002208/0.004344, allocations: 111.3 kB / 328.6 MB, free: 4.316 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003998/0.004744, allocations: 163.3 kB / 328.7 MB, free: 4.156 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003758/0.005119, allocations: 0.5052 MB / 329.3 MB, free: 3.648 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.41e-05/0.005174, allocations: 19.72 kB / 329.3 MB, free: 3.629 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001693/0.005343, allocations: 203.2 kB / 329.5 MB, free: 3.43 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001826/0.005525, allocations: 175.3 kB / 329.6 MB, free: 3.258 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.382e-05/0.005549, allocations: 8 kB / 329.7 MB, free: 3.25 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002281/0.005777, allocations: 131.8 kB / 329.8 MB, free: 3.121 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.587e-05/0.005863, allocations: 107.5 kB / 329.9 MB, free: 3.016 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.014e-05/0.005953, allocations: 119.5 kB / 330 MB, free: 2.898 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000421/0.006374, allocations: 0.4901 MB / 330.5 MB, free: 2.406 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.006377, allocations: 4 kB / 330.5 MB, free: 2.402 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.006378, allocations: 0 / 330.5 MB, free: 2.402 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.006383, allocations: 0 / 330.5 MB, free: 2.402 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.0005822/0.006965, allocations: 0.6183 MB / 331.1 MB, free: 1.762 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.735e-05/0.006992, allocations: 8.031 kB / 331.1 MB, free: 1.754 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.834e-05/0.007071, allocations: 76.89 kB / 331.2 MB, free: 1.68 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001876/0.007258, allocations: 195.5 kB / 331.4 MB, free: 1.465 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.448e-05/0.007283, allocations: 37.69 kB / 331.4 MB, free: 1.43 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.097e-05/0.007344, allocations: 48.38 kB / 331.5 MB, free: 1.383 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003321/0.007676, allocations: 365.7 kB / 331.8 MB, free: 1.016 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.007689, allocations: 11.92 kB / 331.8 MB, free: 1.004 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.677e-05/0.007716, allocations: 23.98 kB / 331.9 MB, free: 0.9805 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.522e-05/0.007751, allocations: 33.3 kB / 331.9 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001767/0.007928, allocations: 157.1 kB / 332 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001136/0.009063, allocations: 0.8798 MB / 332.9 MB, free: 15.89 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002993/0.009363, allocations: 195 kB / 333.1 MB, free: 15.7 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.458e-05/0.009427, allocations: 36.84 kB / 333.2 MB, free: 15.66 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.274e-05/0.00946, allocations: 8 kB / 333.2 MB, free: 15.65 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.009482, allocations: 34.56 kB / 333.2 MB, free: 15.61 MB / 314.7 MB Notification: Performance of pre-optimization done (n=25): time 1.493e-06/0.009483, allocations: 4 kB / 333.2 MB, free: 15.6 MB / 314.7 MB Notification: Performance of matching and sorting (n=25): time 0.000274/0.009757, allocations: 146.8 kB / 333.3 MB, free: 15.45 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.798e-05/0.009785, allocations: 51.41 kB / 333.4 MB, free: 15.39 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.009887, allocations: 190.5 kB / 333.6 MB, free: 15.19 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.009906, allocations: 29.7 kB / 333.6 MB, free: 15.16 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.836e-05/0.009995, allocations: 252 kB / 333.9 MB, free: 14.91 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.825e-05/0.01004, allocations: 91.25 kB / 333.9 MB, free: 14.82 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.047e-05/0.01012, allocations: 77.98 kB / 334 MB, free: 14.73 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0003219/0.01045, allocations: 326.8 kB / 334.3 MB, free: 14.4 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.976e-05/0.01051, allocations: 39.12 kB / 334.4 MB, free: 14.36 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001064/0.01062, allocations: 136.8 kB / 334.5 MB, free: 14.19 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00027/0.01089, allocations: 249.5 kB / 334.8 MB, free: 13.9 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.01089, allocations: 0 / 334.8 MB, free: 13.9 MB / 314.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0002522/0.01115, allocations: 198.2 kB / 334.9 MB, free: 13.7 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.01116, allocations: 8 kB / 335 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.82e-05/0.0112, allocations: 23.98 kB / 335 MB, free: 13.67 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.01122, allocations: 7.938 kB / 335 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.694e-05/0.01131, allocations: 39.91 kB / 335 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.01132, allocations: 4 kB / 335 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.427e-05/0.0114, allocations: 27.78 kB / 335.1 MB, free: 13.59 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.469e-05/0.01143, allocations: 19.98 kB / 335.1 MB, free: 13.57 MB / 314.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_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 (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.0001522/0.01158, allocations: 144.7 kB / 335.2 MB, free: 13.42 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.585e-05/0.01162, allocations: 15.98 kB / 335.2 MB, free: 13.41 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003355/0.01195, allocations: 251.7 kB / 335.5 MB, free: 13.16 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.01196, allocations: 11.94 kB / 335.5 MB, free: 13.14 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/0.01196, allocations: 0 / 335.5 MB, free: 13.14 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.01196, allocations: 3.984 kB / 335.5 MB, free: 13.14 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002626/0.01223, allocations: 201.6 kB / 335.7 MB, free: 12.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.08e-05/0.01226, allocations: 23.98 kB / 335.7 MB, free: 12.9 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.532e-05/0.01233, allocations: 27.92 kB / 335.7 MB, free: 12.88 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.01234, allocations: 11.98 kB / 335.8 MB, free: 12.86 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/0.01235, allocations: 4 kB / 335.8 MB, free: 12.86 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.588e-06/0.01236, allocations: 8 kB / 335.8 MB, free: 12.85 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.01236, allocations: 0 / 335.8 MB, free: 12.85 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003445/0.0127, allocations: 327.2 kB / 336.1 MB, free: 12.52 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.244e-05/0.01273, allocations: 23.83 kB / 336.1 MB, free: 12.49 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.566e-05/0.01275, allocations: 4 kB / 336.1 MB, free: 12.49 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.289e-05/0.01281, allocations: 8 kB / 336.1 MB, free: 12.48 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.589e-05/0.01285, allocations: 23.91 kB / 336.1 MB, free: 12.46 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.01286, allocations: 8 kB / 336.2 MB, free: 12.45 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.752e-05/0.0129, allocations: 49.84 kB / 336.2 MB, free: 12.4 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0129, allocations: 4.031 kB / 336.2 MB, free: 12.39 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003577/0.01326, allocations: 183.4 kB / 336.4 MB, free: 12.21 MB / 314.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.0002322/0.01349, allocations: 145.1 kB / 336.5 MB, free: 12.06 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003346/0.01383, allocations: 461.8 kB / 337 MB, free: 11.54 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.699e-06/0.01384, allocations: 11.94 kB / 337 MB, free: 11.52 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001753/0.01401, allocations: 389.6 kB / 337.4 MB, free: 11.07 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001878/0.0142, allocations: 36.8 kB / 337.4 MB, free: 11.03 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001193/0.01539, allocations: 0.8031 MB / 338.2 MB, free: 10.2 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.176e-05/0.01547, allocations: 140.6 kB / 338.3 MB, free: 10.04 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.703e-05/0.01555, allocations: 30.2 kB / 338.4 MB, free: 10.01 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002032/0.01576, allocations: 147.3 kB / 338.5 MB, free: 9.863 MB / 314.7 MB Notification: Performance of SimCode: time 9.12e-07/0.01576, allocations: 0 / 338.5 MB, free: 9.863 MB / 314.7 MB Notification: Performance of Templates: time 0.009617/0.02537, allocations: 6.019 MB / 344.5 MB, free: 3.93 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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: 3.1557814199477434]