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.0009727/0.0009727, allocations: 80.8 kB / 21.49 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.001016/0.001016, allocations: 170.2 kB / 24.92 MB, free: 9.184 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.9764/0.9764, allocations: 177.1 MB / 205.3 MB, free: 5.461 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.2481/0.2481, allocations: 34.26 MB / 296.1 MB, free: 0.7227 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 2.054e-06/2.054e-06, allocations: 0 / 325.3 MB, free: 7.609 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.972e-05/2.177e-05, allocations: 2.312 kB / 325.3 MB, free: 7.605 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar): time 0.00349/0.003512, allocations: 2.04 MB / 327.4 MB, free: 5.543 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001994/0.005506, allocations: 1.146 MB / 328.5 MB, free: 4.395 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001075/0.005613, allocations: 4 kB / 328.5 MB, free: 4.391 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002963/0.005909, allocations: 67.59 kB / 328.6 MB, free: 4.324 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003014/0.006211, allocations: 107.3 kB / 328.7 MB, free: 4.219 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004914/0.006702, allocations: 159.3 kB / 328.8 MB, free: 4.062 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005594/0.007262, allocations: 0.5013 MB / 329.3 MB, free: 3.559 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.024e-05/0.007342, allocations: 23.2 kB / 329.4 MB, free: 3.535 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002722/0.007614, allocations: 207.2 kB / 329.6 MB, free: 3.332 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002691/0.007883, allocations: 171.4 kB / 329.7 MB, free: 3.164 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.614e-05/0.007919, allocations: 16 kB / 329.8 MB, free: 3.148 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003336/0.008253, allocations: 131.8 kB / 329.9 MB, free: 3.02 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001093/0.008362, allocations: 111.5 kB / 330 MB, free: 2.91 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001241/0.008486, allocations: 115.5 kB / 330.1 MB, free: 2.797 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000583/0.009069, allocations: 0.4912 MB / 330.6 MB, free: 2.305 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.009072, allocations: 0 / 330.6 MB, free: 2.305 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.009072, allocations: 0 / 330.6 MB, free: 2.305 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.009079, allocations: 0 / 330.6 MB, free: 2.305 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.0007919/0.009871, allocations: 0.6222 MB / 331.2 MB, free: 1.66 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.009905, allocations: 12.03 kB / 331.2 MB, free: 1.648 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001154/0.01002, allocations: 72.89 kB / 331.3 MB, free: 1.578 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002639/0.01028, allocations: 197.2 kB / 331.5 MB, free: 1.359 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.121e-05/0.01032, allocations: 33.69 kB / 331.5 MB, free: 1.328 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.079e-05/0.01039, allocations: 48.38 kB / 331.6 MB, free: 1.281 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005257/0.01091, allocations: 357.8 kB / 331.9 MB, free: 0.918 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/0.01093, allocations: 3.938 kB / 331.9 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.998e-05/0.01097, allocations: 24 kB / 331.9 MB, free: 0.8906 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.978e-05/0.01102, allocations: 29.3 kB / 332 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003089/0.01133, allocations: 165 kB / 332.1 MB, free: 0.7031 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001609/0.01294, allocations: 0.8799 MB / 333 MB, free: 15.8 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004414/0.01338, allocations: 196.4 kB / 333.2 MB, free: 15.6 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.503e-05/0.01347, allocations: 32.84 kB / 333.2 MB, free: 15.57 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.133e-05/0.01351, allocations: 11.98 kB / 333.3 MB, free: 15.55 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.01354, allocations: 38.56 kB / 333.3 MB, free: 15.51 MB / 314.7 MB Notification: Performance of pre-optimization done (n=25): time 2.214e-06/0.01354, allocations: 0 / 333.3 MB, free: 15.51 MB / 314.7 MB Notification: Performance of matching and sorting (n=25): time 0.000402/0.01395, allocations: 147.5 kB / 333.4 MB, free: 15.36 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.999e-05/0.01398, allocations: 55.41 kB / 333.5 MB, free: 15.29 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001454/0.01412, allocations: 190.4 kB / 333.7 MB, free: 15.09 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.977e-05/0.01415, allocations: 33.69 kB / 333.7 MB, free: 15.05 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.01427, allocations: 256 kB / 334 MB, free: 14.8 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.893e-05/0.01434, allocations: 87.25 kB / 334 MB, free: 14.71 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001278/0.01447, allocations: 73.98 kB / 334.1 MB, free: 14.63 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.293e-05/0.01456, allocations: 326.8 kB / 334.4 MB, free: 14.3 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001082/0.01467, allocations: 43.08 kB / 334.5 MB, free: 14.26 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001658/0.01484, allocations: 132.8 kB / 334.6 MB, free: 14.09 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000415/0.01525, allocations: 245.6 kB / 334.8 MB, free: 13.81 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.94e-06/0.01526, allocations: 4 kB / 334.9 MB, free: 13.8 MB / 314.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0003761/0.01563, allocations: 194 kB / 335 MB, free: 13.61 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.01565, allocations: 8 kB / 335 MB, free: 13.6 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.519e-05/0.01571, allocations: 23.98 kB / 335.1 MB, free: 13.58 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.01573, allocations: 11.88 kB / 335.1 MB, free: 13.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001549/0.01588, allocations: 44.31 kB / 335.1 MB, free: 13.52 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.01589, allocations: 8 kB / 335.1 MB, free: 13.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001408/0.01603, allocations: 27.78 kB / 335.2 MB, free: 13.49 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.861e-05/0.01607, allocations: 19.98 kB / 335.2 MB, free: 13.47 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.0001675/0.01624, allocations: 132.6 kB / 335.3 MB, free: 13.33 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.95e-05/0.0163, allocations: 19.98 kB / 335.3 MB, free: 13.31 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005007/0.0168, allocations: 259.6 kB / 335.6 MB, free: 13.05 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.236e-06/0.01681, allocations: 7.938 kB / 335.6 MB, free: 13.04 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.01681, allocations: 8 kB / 335.6 MB, free: 13.04 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.01682, allocations: 3.984 kB / 335.6 MB, free: 13.03 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003619/0.01718, allocations: 197.6 kB / 335.8 MB, free: 12.82 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.096e-05/0.01724, allocations: 27.98 kB / 335.8 MB, free: 12.79 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001271/0.01737, allocations: 27.98 kB / 335.9 MB, free: 12.77 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.01737, allocations: 0 / 335.9 MB, free: 12.77 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.988e-05/0.0174, allocations: 8 kB / 335.9 MB, free: 12.76 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.0174, allocations: 0 / 335.9 MB, free: 12.76 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.0174, allocations: 0 / 335.9 MB, free: 12.76 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004853/0.01789, allocations: 335.2 kB / 336.2 MB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.815e-05/0.01791, allocations: 23.83 kB / 336.2 MB, free: 12.39 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.019e-05/0.01795, allocations: 12.03 kB / 336.2 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/0.01807, allocations: 4 kB / 336.2 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.75e-05/0.01813, allocations: 23.91 kB / 336.2 MB, free: 12.35 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.824e-05/0.01815, allocations: 11.98 kB / 336.3 MB, free: 12.34 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.168e-05/0.01821, allocations: 41.88 kB / 336.3 MB, free: 12.3 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01821, allocations: 0 / 336.3 MB, free: 12.3 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004672/0.01867, allocations: 179.4 kB / 336.5 MB, free: 12.12 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.0002515/0.01893, allocations: 152.1 kB / 336.6 MB, free: 11.96 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004512/0.01938, allocations: 470.6 kB / 337.1 MB, free: 11.43 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.718e-06/0.01939, allocations: 8 kB / 337.1 MB, free: 11.42 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002574/0.01964, allocations: 385.6 kB / 337.5 MB, free: 10.96 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002598/0.0199, allocations: 35.97 kB / 337.5 MB, free: 10.93 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001562/0.02147, allocations: 0.811 MB / 338.3 MB, free: 10.09 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001149/0.02158, allocations: 140.6 kB / 338.5 MB, free: 9.93 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.535e-05/0.02168, allocations: 26.28 kB / 338.5 MB, free: 9.902 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003194/0.02199, allocations: 147.3 kB / 338.6 MB, free: 9.758 MB / 314.7 MB Notification: Performance of SimCode: time 6.81e-07/0.022, allocations: 0 / 338.6 MB, free: 9.758 MB / 314.7 MB Notification: Performance of Templates: time 0.01016/0.03215, allocations: 6.008 MB / 344.6 MB, free: 3.832 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 -s gbode -gbm=radauIIA3 -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.114709106273949]