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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|velocity.1.|velocity.2.|velocity.3.|Nu.1.|Nu.2.|Nu.3.|Pr.1.|Pr.2.|Pr.3.|Re.1.|Re.2.|Re.3.|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=5000,variableFilter="time|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|velocity.1.|velocity.2.|velocity.3.|Nu.1.|Nu.2.|Nu.3.|Pr.1.|Pr.2.|Pr.3.|Re.1.|Re.2.|Re.3.|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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 112.7 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001099/0.0011, allocations: 181.2 kB / 19.38 MB, free: 3.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.245/1.245, allocations: 222.9 MB / 243.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1942/0.1942, allocations: 44.19 MB / 337.4 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 59.91 kB / 471.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2978/0.299, allocations: 60.82 MB / 0.5196 GB, free: 3.637 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar): time 0.002533/0.3016, allocations: 1.813 MB / 0.5214 GB, free: 2.387 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001267/0.3029, allocations: 0.9547 MB / 0.5223 GB, free: 1.719 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.127e-05/0.3029, allocations: 1.156 kB / 0.5223 GB, free: 1.719 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002113/0.3032, allocations: 38.03 kB / 0.5223 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002181/0.3034, allocations: 73.5 kB / 0.5224 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003124/0.3037, allocations: 114.8 kB / 0.5225 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002577/0.304, allocations: 215.2 kB / 0.5227 GB, free: 1.516 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.758e-05/0.304, allocations: 16.62 kB / 0.5227 GB, free: 1.504 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001366/0.3042, allocations: 85.02 kB / 0.5228 GB, free: 1.469 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001526/0.3043, allocations: 96.98 kB / 0.5229 GB, free: 1.434 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.841e-05/0.3044, allocations: 8.25 kB / 0.5229 GB, free: 1.434 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002269/0.3046, allocations: 116.9 kB / 0.523 GB, free: 1.395 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.756e-05/0.3047, allocations: 54.33 kB / 0.5231 GB, free: 1.375 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.921e-05/0.3048, allocations: 85.73 kB / 0.5231 GB, free: 1.324 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003188/0.3051, allocations: 239 kB / 0.5234 GB, free: 1.238 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.3051, allocations: 5.5 kB / 0.5234 GB, free: 1.234 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.3051, allocations: 0 / 0.5234 GB, free: 1.234 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.3051, allocations: 0 / 0.5234 GB, free: 1.234 MB / 382.1 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.0009054/0.306, allocations: 0.5244 MB / 0.5239 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.3061, allocations: 13.5 kB / 0.5239 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.477e-05/0.3061, allocations: 17.22 kB / 0.5239 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001738/0.3063, allocations: 225.1 kB / 0.5241 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.3063, allocations: 9.172 kB / 0.5241 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.642e-05/0.3064, allocations: 12.69 kB / 0.5242 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005183/0.3069, allocations: 270.9 kB / 0.5244 GB, free: 428 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.3069, allocations: 1.531 kB / 0.5244 GB, free: 428 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.127e-05/0.307, allocations: 9.344 kB / 0.5244 GB, free: 420 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.855e-05/0.307, allocations: 12.08 kB / 0.5244 GB, free: 420 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005621/0.3076, allocations: 230.7 kB / 0.5247 GB, free: 376 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001014/0.3086, allocations: 0.8058 MB / 0.5254 GB, free: 15.75 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000397/0.309, allocations: 198.7 kB / 0.5256 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002664/0.3093, allocations: 100.6 kB / 0.5257 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.306e-05/0.3093, allocations: 2.406 kB / 0.5257 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.3093, allocations: 37.75 kB / 0.5258 GB, free: 15.57 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.453e-06/0.3093, allocations: 4 kB / 0.5258 GB, free: 15.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009744/0.3103, allocations: 313.9 kB / 0.5261 GB, free: 15.49 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.4e-05/0.3104, allocations: 110.1 kB / 0.5262 GB, free: 15.36 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002619/0.3107, allocations: 258.7 kB / 0.5264 GB, free: 15.22 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.898e-05/0.3107, allocations: 31.42 kB / 0.5265 GB, free: 15.19 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.237e-05/0.3108, allocations: 138.4 kB / 0.5266 GB, free: 15.06 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.911e-05/0.3108, allocations: 35.16 kB / 0.5266 GB, free: 15.04 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.475e-05/0.3109, allocations: 37.64 kB / 0.5267 GB, free: 15.01 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.3111, allocations: 333.5 kB / 0.527 GB, free: 14.69 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002648/0.3113, allocations: 99.91 kB / 0.5271 GB, free: 14.65 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002729/0.3116, allocations: 135.1 kB / 0.5272 GB, free: 14.56 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005239/0.3121, allocations: 231 kB / 0.5274 GB, free: 14.43 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3121, allocations: 0 / 0.5274 GB, free: 14.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006307/0.3128, allocations: 272.5 kB / 0.5277 GB, free: 14.29 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.3128, allocations: 5.5 kB / 0.5277 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.74e-05/0.3128, allocations: 14.86 kB / 0.5277 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.3129, allocations: 2.75 kB / 0.5277 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002374/0.3131, allocations: 40.84 kB / 0.5277 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.3131, allocations: 10.69 kB / 0.5277 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002141/0.3133, allocations: 33.56 kB / 0.5278 GB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.104e-05/0.3134, allocations: 6.875 kB / 0.5278 GB, free: 14.24 MB / 398.1 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 0.0001234/0.3135, allocations: 140.9 kB / 0.5279 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.126e-05/0.3136, allocations: 21.5 kB / 0.5279 GB, free: 14.1 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004798/0.3141, allocations: 217.9 kB / 0.5282 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.3141, allocations: 2.281 kB / 0.5282 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.3141, allocations: 1.188 kB / 0.5282 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.3141, allocations: 1.469 kB / 0.5282 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003919/0.3145, allocations: 262.2 kB / 0.5284 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.925e-05/0.3145, allocations: 10.28 kB / 0.5284 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001825/0.3147, allocations: 34.92 kB / 0.5284 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.3147, allocations: 1.25 kB / 0.5284 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/0.3148, allocations: 3.625 kB / 0.5285 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.3148, allocations: 5.047 kB / 0.5285 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.3148, allocations: 5.938 kB / 0.5285 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006514/0.3154, allocations: 483.5 kB / 0.5289 GB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.181e-05/0.3155, allocations: 101.5 kB / 0.529 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.933e-05/0.3156, allocations: 1.375 kB / 0.529 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002546/0.3158, allocations: 19.2 kB / 0.529 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.505e-05/0.3159, allocations: 17.48 kB / 0.5291 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.812e-05/0.3159, allocations: 11.61 kB / 0.5291 GB, free: 13.18 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001772/0.3161, allocations: 193.2 kB / 0.5293 GB, free: 13.05 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3161, allocations: 0 / 0.5293 GB, free: 13.05 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004395/0.3166, allocations: 70.5 kB / 0.5293 GB, free: 13.04 MB / 398.1 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.0002467/0.3168, allocations: 148.8 kB / 0.5295 GB, free: 12.92 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006532/0.3175, allocations: 289.4 kB / 0.5297 GB, free: 12.74 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3175, allocations: 0 / 0.5297 GB, free: 12.74 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003091/0.3178, allocations: 182.7 kB / 0.5299 GB, free: 12.61 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005348/0.3184, allocations: 40.11 kB / 0.53 GB, free: 12.59 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009986/0.3194, allocations: 484 kB / 0.5304 GB, free: 12.27 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003186/0.3197, allocations: 0.7385 MB / 0.5311 GB, free: 11.54 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.963e-05/0.3198, allocations: 25.17 kB / 0.5312 GB, free: 11.53 MB / 398.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3198, allocations: 0 / 0.5312 GB, free: 11.53 MB / 398.1 MB Notification: Performance of Templates: time 0.006681/0.3265, allocations: 3.515 MB / 0.5346 GB, free: 9.746 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Plate/kc_laminar/kc_laminar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches