Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.Plate.kc_laminar_KC,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.|Nu.1.|Nu.2.|Nu.3.|velocity.1.|velocity.2.|velocity.3.|kc.1.|kc.2.|kc.3.|Pr.1.|Pr.2.|Pr.3.|Re.1.|Re.2.|Re.3.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC,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.|Nu.1.|Nu.2.|Nu.3.|velocity.1.|velocity.2.|velocity.3.|kc.1.|kc.2.|kc.3.|Pr.1.|Pr.2.|Pr.3.|Re.1.|Re.2.|Re.3.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00142/0.00142, allocations: 112.4 kB / 18.45 MB, free: 4.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00162/0.00162, allocations: 208 kB / 19.4 MB, free: 3.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2239/0.2239, allocations: 46.1 MB / 345 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 79.88 kB / 482 MB, free: 4.027 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3905/0.3921, allocations: 62.43 MB / 0.5317 GB, free: 13.81 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC): time 0.002973/0.3951, allocations: 1.705 MB / 0.5333 GB, free: 12.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001167/0.3963, allocations: 0.7593 MB / 0.5341 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.772e-05/0.3963, allocations: 5.312 kB / 0.5341 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002221/0.3966, allocations: 32.06 kB / 0.5341 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002696/0.3969, allocations: 72.2 kB / 0.5342 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000176/0.397, allocations: 56.38 kB / 0.5342 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002206/0.3973, allocations: 156.8 kB / 0.5344 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.909e-05/0.3973, allocations: 13.84 kB / 0.5344 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.239e-05/0.3974, allocations: 64.52 kB / 0.5345 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001397/0.3976, allocations: 78.66 kB / 0.5345 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2e-05/0.3976, allocations: 8.562 kB / 0.5345 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001565/0.3978, allocations: 63.39 kB / 0.5346 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.566e-05/0.3979, allocations: 45.94 kB / 0.5347 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.942e-05/0.3979, allocations: 62.42 kB / 0.5347 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002757/0.3982, allocations: 176.1 kB / 0.5349 GB, free: 11.41 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3982, allocations: 0 / 0.5349 GB, free: 11.41 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3982, allocations: 0 / 0.5349 GB, free: 11.41 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.177e-06/0.3983, allocations: 1 kB / 0.5349 GB, free: 11.41 MB / 398.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.00065/0.3989, allocations: 463 kB / 0.5353 GB, free: 10.96 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.3989, allocations: 9.188 kB / 0.5353 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005269/0.3995, allocations: 74.97 kB / 0.5354 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002482/0.3997, allocations: 215.2 kB / 0.5356 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.3998, allocations: 12.55 kB / 0.5356 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.007e-05/0.3998, allocations: 10.97 kB / 0.5356 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004531/0.4003, allocations: 260.7 kB / 0.5359 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.465e-06/0.4003, allocations: 4 kB / 0.5359 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.268e-05/0.4003, allocations: 9.328 kB / 0.5359 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.342e-05/0.4003, allocations: 16.3 kB / 0.5359 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004932/0.4008, allocations: 238.8 kB / 0.5361 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001169/0.402, allocations: 0.66 MB / 0.5368 GB, free: 9.852 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004517/0.4025, allocations: 224 kB / 0.537 GB, free: 9.742 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001823/0.4027, allocations: 80.92 kB / 0.5371 GB, free: 9.703 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.633e-05/0.4027, allocations: 2.219 kB / 0.5371 GB, free: 9.703 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.4028, allocations: 43.42 kB / 0.5371 GB, free: 9.652 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.823e-06/0.4028, allocations: 0 / 0.5371 GB, free: 9.652 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007036/0.4035, allocations: 281.6 kB / 0.5374 GB, free: 9.516 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.708e-05/0.4035, allocations: 52.62 kB / 0.5374 GB, free: 9.453 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002304/0.4037, allocations: 226.2 kB / 0.5377 GB, free: 9.297 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.4038, allocations: 25.7 kB / 0.5377 GB, free: 9.266 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.15e-05/0.4039, allocations: 123.2 kB / 0.5378 GB, free: 9.148 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.982e-05/0.4039, allocations: 45.77 kB / 0.5378 GB, free: 9.109 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.51e-05/0.404, allocations: 40.53 kB / 0.5379 GB, free: 9.078 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.4041, allocations: 327.4 kB / 0.5382 GB, free: 8.754 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001792/0.4043, allocations: 79.94 kB / 0.5383 GB, free: 8.723 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002015/0.4045, allocations: 119.3 kB / 0.5384 GB, free: 8.645 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003788/0.4049, allocations: 200.9 kB / 0.5386 GB, free: 8.539 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.4049, allocations: 5.125 kB / 0.5386 GB, free: 8.535 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004995/0.4054, allocations: 255.8 kB / 0.5388 GB, free: 8.402 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.4054, allocations: 4.906 kB / 0.5388 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.4054, allocations: 1.062 kB / 0.5388 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.4055, allocations: 2.5 kB / 0.5388 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002298/0.4078, allocations: 272.2 kB / 0.5391 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01028/0.4181, allocations: 9.245 MB / 0.5481 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000319/0.4184, allocations: 25.95 kB / 0.5481 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.366e-05/0.4185, allocations: 5.531 kB / 0.5481 GB, free: 14.95 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001929/0.4187, allocations: 141.5 kB / 0.5483 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.196e-05/0.4187, allocations: 15 kB / 0.5483 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005291/0.4193, allocations: 250.4 kB / 0.5485 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.4193, allocations: 1.125 kB / 0.5485 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.4193, allocations: 1.344 kB / 0.5485 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.4193, allocations: 0 / 0.5485 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002989/0.4196, allocations: 249.8 kB / 0.5488 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.4196, allocations: 0 / 0.5488 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001611/0.4212, allocations: 216.6 kB / 0.549 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.4212, allocations: 1.375 kB / 0.549 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/0.4213, allocations: 1.5 kB / 0.549 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007615/0.4289, allocations: 8.762 MB / 0.5575 GB, free: 5.289 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.4289, allocations: 1.188 kB / 0.5575 GB, free: 5.289 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004872/0.4294, allocations: 288.4 kB / 0.5578 GB, free: 5.082 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.165e-05/0.4295, allocations: 95.47 kB / 0.5579 GB, free: 4.977 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.964e-05/0.4295, allocations: 8.812 kB / 0.5579 GB, free: 4.969 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001899/0.4297, allocations: 7.984 kB / 0.5579 GB, free: 4.961 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.014e-05/0.4298, allocations: 23.91 kB / 0.5579 GB, free: 4.938 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/0.4298, allocations: 4 kB / 0.5579 GB, free: 4.934 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001797/0.43, allocations: 195.1 kB / 0.5581 GB, free: 4.742 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.43, allocations: 0 / 0.5581 GB, free: 4.742 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004684/0.4305, allocations: 67.94 kB / 0.5582 GB, free: 4.676 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001636/0.4307, allocations: 103.2 kB / 0.5583 GB, free: 4.566 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003231/0.4339, allocations: 488.3 kB / 0.5588 GB, free: 4.09 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.4339, allocations: 0 / 0.5588 GB, free: 4.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002207/0.4361, allocations: 331.5 kB / 0.5591 GB, free: 3.766 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003563/0.4365, allocations: 46.53 kB / 0.5591 GB, free: 3.727 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009855/0.4375, allocations: 459 kB / 0.5596 GB, free: 3.242 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002894/0.4378, allocations: 0.7398 MB / 0.5603 GB, free: 2.477 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.528e-05/0.4379, allocations: 15.44 kB / 0.5603 GB, free: 2.461 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4379, allocations: 0 / 0.5603 GB, free: 2.461 MB / 414.1 MB Notification: Performance of Templates: time 0.008648/0.4465, allocations: 6.398 MB / 0.5665 GB, free: 12.08 MB / 430.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC_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/kc_laminar_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches