Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.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.0009616/0.0009616, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001077/0.001077, allocations: 169.9 kB / 24.92 MB, free: 9.18 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.9963/0.9963, allocations: 177.1 MB / 205.3 MB, free: 5.457 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.2859/0.2859, allocations: 32.8 MB / 294.6 MB, free: 1.254 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.Plate.kc_laminar,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|cp.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|velocity.[0-9,]+.|Nu.[0-9,]+.|Pr.[0-9,]+.|Re.[0-9,]+.|input_v_0.y|input_v_1.y|input_v_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|cp.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|velocity.[0-9,]+.|Nu.[0-9,]+.|Pr.[0-9,]+.|Re.[0-9,]+.|input_v_0.y|input_v_1.y|input_v_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 323.2 MB, free: 9.695 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.647e-05/2.778e-05, allocations: 3.188 kB / 323.3 MB, free: 9.691 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar): time 0.002342/0.00237, allocations: 1.866 MB / 325.1 MB, free: 7.812 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001222/0.003591, allocations: 1.001 MB / 326.1 MB, free: 6.805 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.013e-05/0.003662, allocations: 0 / 326.1 MB, free: 6.805 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002148/0.003876, allocations: 47.69 kB / 326.2 MB, free: 6.758 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002089/0.004085, allocations: 75.53 kB / 326.2 MB, free: 6.684 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003013/0.004386, allocations: 131.4 kB / 326.4 MB, free: 6.555 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002267/0.004613, allocations: 223 kB / 326.6 MB, free: 6.336 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.39e-05/0.004657, allocations: 10.45 kB / 326.6 MB, free: 6.328 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001974/0.004855, allocations: 115.6 kB / 326.7 MB, free: 6.215 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/0.004975, allocations: 87.7 kB / 326.8 MB, free: 6.129 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.016e-05/0.004995, allocations: 8 kB / 326.8 MB, free: 6.121 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000153/0.005148, allocations: 103.8 kB / 326.9 MB, free: 6.02 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.996e-05/0.005208, allocations: 59.81 kB / 327 MB, free: 5.961 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.755e-05/0.005256, allocations: 55.78 kB / 327 MB, free: 5.906 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003033/0.005559, allocations: 243.1 kB / 327.3 MB, free: 5.668 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.005562, allocations: 0 / 327.3 MB, free: 5.668 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.005563, allocations: 0 / 327.3 MB, free: 5.668 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.005568, allocations: 0 / 327.3 MB, free: 5.668 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0006852/0.006253, allocations: 421.1 kB / 327.7 MB, free: 5.23 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.006293, allocations: 8.031 kB / 327.7 MB, free: 5.223 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002797/0.006573, allocations: 56.88 kB / 327.7 MB, free: 5.168 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001953/0.006768, allocations: 154.8 kB / 327.9 MB, free: 4.992 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.006781, allocations: 8.609 kB / 327.9 MB, free: 4.984 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.006e-05/0.006801, allocations: 12.36 kB / 327.9 MB, free: 4.973 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002915/0.007092, allocations: 178.8 kB / 328.1 MB, free: 4.773 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.007102, allocations: 4.188 kB / 328.1 MB, free: 4.77 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.728e-05/0.007119, allocations: 384 / 328.1 MB, free: 4.77 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.844e-05/0.007158, allocations: 20.17 kB / 328.1 MB, free: 4.75 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000144/0.007302, allocations: 63.42 kB / 328.2 MB, free: 4.688 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006879/0.00799, allocations: 0.5721 MB / 328.7 MB, free: 4.086 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/0.008105, allocations: 126.5 kB / 328.9 MB, free: 3.934 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.77e-05/0.008142, allocations: 26.56 kB / 328.9 MB, free: 3.898 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.944e-05/0.008172, allocations: 4 kB / 328.9 MB, free: 3.895 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.008197, allocations: 50.56 kB / 328.9 MB, free: 3.836 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.412e-06/0.008198, allocations: 0 / 328.9 MB, free: 3.836 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002148/0.008413, allocations: 89.81 kB / 329 MB, free: 3.742 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.008457, allocations: 106.8 kB / 329.1 MB, free: 3.613 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.00856, allocations: 180.2 kB / 329.3 MB, free: 3.426 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.008573, allocations: 29.7 kB / 329.3 MB, free: 3.391 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.375e-05/0.008627, allocations: 124.2 kB / 329.5 MB, free: 3.262 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.543e-05/0.008653, allocations: 51.56 kB / 329.5 MB, free: 3.211 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.603e-05/0.008699, allocations: 29.69 kB / 329.5 MB, free: 3.176 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.71e-05/0.008776, allocations: 322.8 kB / 329.8 MB, free: 2.852 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.662e-05/0.008812, allocations: 18.81 kB / 329.9 MB, free: 2.832 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.199e-05/0.008864, allocations: 55.52 kB / 329.9 MB, free: 2.762 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001033/0.008968, allocations: 103.1 kB / 330 MB, free: 2.637 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.008971, allocations: 4 kB / 330 MB, free: 2.633 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001324/0.009103, allocations: 105.2 kB / 330.1 MB, free: 2.52 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.009117, allocations: 8 kB / 330.1 MB, free: 2.512 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.69e-05/0.009134, allocations: 7.984 kB / 330.1 MB, free: 2.504 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.009147, allocations: 4.156 kB / 330.1 MB, free: 2.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.009254, allocations: 35.92 kB / 330.2 MB, free: 2.465 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.009258, allocations: 3.984 kB / 330.2 MB, free: 2.461 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.283e-05/0.009321, allocations: 15.89 kB / 330.2 MB, free: 2.445 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/0.009335, allocations: 11.98 kB / 330.2 MB, free: 2.434 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 initialization (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 6.868e-05/0.009404, allocations: 116.7 kB / 330.3 MB, free: 2.309 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.903e-05/0.009443, allocations: 11.94 kB / 330.3 MB, free: 2.297 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001443/0.009587, allocations: 107 kB / 330.4 MB, free: 2.184 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.009593, allocations: 7.984 kB / 330.5 MB, free: 2.176 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.009594, allocations: 4 kB / 330.5 MB, free: 2.172 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.009598, allocations: 0 / 330.5 MB, free: 2.172 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000181/0.009778, allocations: 113.8 kB / 330.6 MB, free: 2.043 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.927e-06/0.009787, allocations: 4 kB / 330.6 MB, free: 2.039 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.634e-05/0.009854, allocations: 31.91 kB / 330.6 MB, free: 2.008 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.009856, allocations: 0 / 330.6 MB, free: 2.008 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.009865, allocations: 4 kB / 330.6 MB, free: 2.004 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.009869, allocations: 7.922 kB / 330.6 MB, free: 1.996 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.009869, allocations: 0 / 330.6 MB, free: 1.996 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001963/0.01007, allocations: 368.8 kB / 331 MB, free: 1.617 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.958e-05/0.0101, allocations: 23.83 kB / 331 MB, free: 1.594 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.816e-05/0.01012, allocations: 4 kB / 331 MB, free: 1.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/0.01029, allocations: 15.92 kB / 331 MB, free: 1.574 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.377e-05/0.01035, allocations: 15.92 kB / 331 MB, free: 1.559 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/0.01036, allocations: 11.98 kB / 331 MB, free: 1.547 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.208e-05/0.01041, allocations: 49.88 kB / 331.1 MB, free: 1.496 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01041, allocations: 0 / 331.1 MB, free: 1.496 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004065/0.01082, allocations: 75.77 kB / 331.2 MB, free: 1.422 MB / 298.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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0002319/0.01105, allocations: 132.3 kB / 331.3 MB, free: 1.285 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002106/0.01126, allocations: 142.8 kB / 331.4 MB, free: 1.125 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/0.01127, allocations: 320 / 331.4 MB, free: 1.125 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.305e-05/0.01136, allocations: 121.9 kB / 331.6 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004404/0.0118, allocations: 27.97 kB / 331.6 MB, free: 0.957 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/0.01288, allocations: 424 kB / 332 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.668e-05/0.01295, allocations: 87.27 kB / 332.1 MB, free: 412 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.819e-05/0.01302, allocations: 16.64 kB / 332.1 MB, free: 396 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001572/0.01318, allocations: 83.36 kB / 332.2 MB, free: 312 kB / 298.7 MB Notification: Performance of SimCode: time 9.42e-07/0.01318, allocations: 4 kB / 332.2 MB, free: 308 kB / 298.7 MB Notification: Performance of Templates: time 0.005441/0.01862, allocations: 3.198 MB / 335.4 MB, free: 13.18 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Plate/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.147016132250428]