Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008484/0.0008484, allocations: 82.59 kB / 21.43 MB, free: 3.07 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009616/0.0009616, allocations: 171.9 kB / 24.82 MB, free: 9.273 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9605/0.9605, allocations: 177 MB / 205.1 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.255/0.255, allocations: 34.87 MB / 296.6 MB, free: 432 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 379.3 MB, free: 1.777 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.221e-05/1.374e-05, allocations: 2.312 kB / 379.3 MB, free: 1.773 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar): time 0.002037/0.002051, allocations: 1.984 MB / 381.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001179/0.003231, allocations: 1.106 MB / 382.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.217e-05/0.003303, allocations: 4 kB / 382.4 MB, free: 14.65 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002075/0.00351, allocations: 67.53 kB / 382.4 MB, free: 14.59 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001993/0.003709, allocations: 119.3 kB / 382.5 MB, free: 14.47 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003336/0.004043, allocations: 167.3 kB / 382.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000359/0.004402, allocations: 497.4 kB / 383.2 MB, free: 13.82 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.803e-05/0.00445, allocations: 17.19 kB / 383.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001545/0.004605, allocations: 211.2 kB / 383.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001593/0.004764, allocations: 167.4 kB / 383.6 MB, free: 13.43 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.26e-05/0.004786, allocations: 12 kB / 383.6 MB, free: 13.42 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002122/0.004999, allocations: 135.7 kB / 383.7 MB, free: 13.29 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.678e-05/0.005085, allocations: 111.5 kB / 383.8 MB, free: 13.18 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.307e-05/0.005168, allocations: 119.5 kB / 384 MB, free: 13.06 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004021/0.005571, allocations: 497.9 kB / 384.4 MB, free: 12.57 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.563e-06/0.005572, allocations: 0 / 384.4 MB, free: 12.57 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.005573, allocations: 0 / 384.4 MB, free: 12.57 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.005578, allocations: 0 / 384.4 MB, free: 12.57 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.000653/0.006231, allocations: 0.7768 MB / 385.2 MB, free: 11.76 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.084e-05/0.006262, allocations: 16.03 kB / 385.2 MB, free: 11.74 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.316e-05/0.006345, allocations: 92.59 kB / 385.3 MB, free: 11.65 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001736/0.006519, allocations: 215.9 kB / 385.5 MB, free: 11.41 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.475e-05/0.006543, allocations: 41.69 kB / 385.6 MB, free: 11.37 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.456e-05/0.006588, allocations: 48.38 kB / 385.6 MB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002941/0.006882, allocations: 315 kB / 385.9 MB, free: 11.01 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.006894, allocations: 7.922 kB / 385.9 MB, free: 11 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.516e-05/0.006919, allocations: 20 kB / 386 MB, free: 10.98 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.685e-05/0.006956, allocations: 33.3 kB / 386 MB, free: 10.95 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001778/0.007134, allocations: 173 kB / 386.2 MB, free: 10.78 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001125/0.008258, allocations: 1.013 MB / 387.2 MB, free: 9.742 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002751/0.008533, allocations: 176.9 kB / 387.3 MB, free: 9.559 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.396e-05/0.008597, allocations: 47.7 kB / 387.4 MB, free: 9.508 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.457e-05/0.008632, allocations: 19.81 kB / 387.4 MB, free: 9.488 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/0.008651, allocations: 37.39 kB / 387.4 MB, free: 9.441 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 1.453e-06/0.008653, allocations: 0 / 387.4 MB, free: 9.441 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.0003175/0.00897, allocations: 221.9 kB / 387.7 MB, free: 9.219 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.385e-05/0.008994, allocations: 63.34 kB / 387.7 MB, free: 9.145 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.009111, allocations: 257.7 kB / 388 MB, free: 8.875 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.00913, allocations: 29.7 kB / 388 MB, free: 8.84 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/0.009249, allocations: 302.7 kB / 388.3 MB, free: 8.539 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.103e-05/0.0093, allocations: 91.25 kB / 388.4 MB, free: 8.449 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.876e-05/0.009389, allocations: 103.6 kB / 388.5 MB, free: 8.336 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.009504, allocations: 0.5079 MB / 389 MB, free: 7.816 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.573e-05/0.00957, allocations: 36.3 kB / 389 MB, free: 7.781 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/0.009694, allocations: 184.4 kB / 389.2 MB, free: 7.543 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000282/0.009976, allocations: 298.4 kB / 389.5 MB, free: 7.195 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.009978, allocations: 4 kB / 389.5 MB, free: 7.191 MB / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0002881/0.01027, allocations: 269.9 kB / 389.8 MB, free: 6.922 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.01028, allocations: 8 kB / 389.8 MB, free: 6.914 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.049e-05/0.01032, allocations: 43.92 kB / 389.8 MB, free: 6.871 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.01033, allocations: 4.406 kB / 389.8 MB, free: 6.867 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.515e-05/0.01041, allocations: 39.92 kB / 389.9 MB, free: 6.828 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.01042, allocations: 8 kB / 389.9 MB, free: 6.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.699e-05/0.0105, allocations: 27.83 kB / 389.9 MB, free: 6.793 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.15e-05/0.01052, allocations: 20 kB / 389.9 MB, free: 6.773 MB / 362.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.0001342/0.01065, allocations: 188.4 kB / 390.1 MB, free: 6.578 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.836e-05/0.01069, allocations: 27.91 kB / 390.1 MB, free: 6.551 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003668/0.01106, allocations: 323.3 kB / 390.4 MB, free: 6.23 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.01106, allocations: 12 kB / 390.5 MB, free: 6.219 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.01106, allocations: 0 / 390.5 MB, free: 6.219 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.01107, allocations: 3.984 kB / 390.5 MB, free: 6.215 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002419/0.01131, allocations: 253 kB / 390.7 MB, free: 5.941 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.3e-05/0.01134, allocations: 43.92 kB / 390.8 MB, free: 5.898 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.109e-05/0.01141, allocations: 27.98 kB / 390.8 MB, free: 5.871 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.01142, allocations: 4 kB / 390.8 MB, free: 5.867 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.01143, allocations: 12 kB / 390.8 MB, free: 5.855 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.01143, allocations: 3.938 kB / 390.8 MB, free: 5.852 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.01143, allocations: 3.938 kB / 390.8 MB, free: 5.848 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003584/0.01179, allocations: 400.3 kB / 391.2 MB, free: 5.438 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.89e-05/0.01181, allocations: 27.86 kB / 391.2 MB, free: 5.41 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.08e-05/0.01184, allocations: 8 kB / 391.2 MB, free: 5.402 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.116e-05/0.0119, allocations: 4 kB / 391.2 MB, free: 5.398 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.239e-05/0.01194, allocations: 27.91 kB / 391.3 MB, free: 5.371 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.668e-05/0.01195, allocations: 16 kB / 391.3 MB, free: 5.355 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.788e-05/0.01201, allocations: 172.2 kB / 391.4 MB, free: 5.188 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01201, allocations: 0 / 391.4 MB, free: 5.188 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002816/0.01229, allocations: 171.4 kB / 391.6 MB, free: 5.02 MB / 362.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.0001755/0.01247, allocations: 163 kB / 391.8 MB, free: 4.848 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003099/0.01278, allocations: 0.4892 MB / 392.3 MB, free: 4.281 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.042e-06/0.01278, allocations: 0 / 392.3 MB, free: 4.281 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000181/0.01296, allocations: 404 kB / 392.7 MB, free: 3.809 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002019/0.01316, allocations: 39.92 kB / 392.7 MB, free: 3.77 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.01416, allocations: 0.8224 MB / 393.5 MB, free: 2.914 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.953e-05/0.01424, allocations: 156.5 kB / 393.7 MB, free: 2.742 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.211e-05/0.01431, allocations: 30.27 kB / 393.7 MB, free: 2.711 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002003/0.01451, allocations: 174.2 kB / 393.9 MB, free: 2.539 MB / 362.7 MB Notification: Performance of SimCode: time 8.32e-07/0.01451, allocations: 0 / 393.9 MB, free: 2.539 MB / 362.7 MB Notification: Performance of Templates: time 0.006796/0.0213, allocations: 6.007 MB / 399.9 MB, free: 12.59 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.045532943215221]