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.001289/0.001289, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001539/0.001539, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.417/1.417, allocations: 227.4 MB / 246.9 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2266/0.2266, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 71.88 kB / 481.3 MB, free: 4.047 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3546/0.3566, allocations: 62.44 MB / 0.531 GB, free: 13.82 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC): time 0.003585/0.3603, allocations: 1.703 MB / 0.5327 GB, free: 12.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001172/0.3614, allocations: 0.7628 MB / 0.5334 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.202e-05/0.3615, allocations: 1.5 kB / 0.5334 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002183/0.3617, allocations: 28.45 kB / 0.5335 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002554/0.362, allocations: 79.53 kB / 0.5335 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001705/0.3622, allocations: 52.44 kB / 0.5336 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002109/0.3624, allocations: 157.6 kB / 0.5337 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.651e-05/0.3625, allocations: 13.66 kB / 0.5337 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.574e-05/0.3626, allocations: 59.2 kB / 0.5338 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000138/0.3627, allocations: 79.28 kB / 0.5339 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.3627, allocations: 8.125 kB / 0.5339 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000146/0.3629, allocations: 71.39 kB / 0.5339 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.761e-05/0.363, allocations: 43.14 kB / 0.534 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.632e-05/0.363, allocations: 69.53 kB / 0.5341 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002472/0.3633, allocations: 171.3 kB / 0.5342 GB, free: 11.41 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3633, allocations: 1.375 kB / 0.5342 GB, free: 11.41 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3633, allocations: 0 / 0.5342 GB, free: 11.41 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.3633, allocations: 0 / 0.5342 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.0006934/0.364, allocations: 466.4 kB / 0.5347 GB, free: 10.96 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.3641, allocations: 9.75 kB / 0.5347 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006482/0.3647, allocations: 75.94 kB / 0.5347 GB, free: 10.92 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002601/0.365, allocations: 213.8 kB / 0.5349 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.365, allocations: 9.625 kB / 0.535 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.03e-05/0.365, allocations: 10.14 kB / 0.535 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005001/0.3655, allocations: 259.8 kB / 0.5352 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.3656, allocations: 4 kB / 0.5352 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.244e-05/0.3656, allocations: 5.125 kB / 0.5352 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.654e-05/0.3656, allocations: 21.48 kB / 0.5352 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004822/0.3661, allocations: 238.4 kB / 0.5355 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00116/0.3673, allocations: 0.6517 MB / 0.5361 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000409/0.3677, allocations: 228.3 kB / 0.5363 GB, free: 9.75 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001727/0.3679, allocations: 81.73 kB / 0.5364 GB, free: 9.711 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.672e-05/0.3679, allocations: 9.406 kB / 0.5364 GB, free: 9.703 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/0.368, allocations: 39.62 kB / 0.5365 GB, free: 9.656 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.352e-06/0.368, allocations: 0 / 0.5365 GB, free: 9.656 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0006604/0.3686, allocations: 284.7 kB / 0.5367 GB, free: 9.52 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.154e-05/0.3687, allocations: 53.47 kB / 0.5368 GB, free: 9.457 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002078/0.3689, allocations: 227.7 kB / 0.537 GB, free: 9.297 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.3689, allocations: 26.55 kB / 0.537 GB, free: 9.266 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.17e-05/0.369, allocations: 119.9 kB / 0.5371 GB, free: 9.152 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.685e-05/0.369, allocations: 49.02 kB / 0.5372 GB, free: 9.109 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.515e-05/0.3691, allocations: 40.5 kB / 0.5372 GB, free: 9.078 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.3692, allocations: 327.4 kB / 0.5375 GB, free: 8.754 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001798/0.3694, allocations: 79.05 kB / 0.5376 GB, free: 8.723 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002012/0.3696, allocations: 122.6 kB / 0.5377 GB, free: 8.645 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003963/0.37, allocations: 197.6 kB / 0.5379 GB, free: 8.539 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.37, allocations: 4.75 kB / 0.5379 GB, free: 8.535 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004991/0.3705, allocations: 247.9 kB / 0.5382 GB, free: 8.41 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.3706, allocations: 5.969 kB / 0.5382 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.3706, allocations: 1.156 kB / 0.5382 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.3706, allocations: 1.438 kB / 0.5382 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002303/0.3729, allocations: 272.9 kB / 0.5384 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009969/0.3829, allocations: 9.253 MB / 0.5475 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000312/0.3832, allocations: 21.67 kB / 0.5475 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.375e-05/0.3833, allocations: 9.625 kB / 0.5475 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.0002383/0.3835, allocations: 141.6 kB / 0.5476 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.742e-05/0.3836, allocations: 14.91 kB / 0.5476 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005351/0.3841, allocations: 251.4 kB / 0.5479 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.3841, allocations: 2 kB / 0.5479 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.3841, allocations: 0 / 0.5479 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.3841, allocations: 1.188 kB / 0.5479 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002704/0.3844, allocations: 249.6 kB / 0.5481 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.3844, allocations: 0 / 0.5481 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001662/0.3861, allocations: 220.9 kB / 0.5483 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.3861, allocations: 1.125 kB / 0.5483 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/0.3861, allocations: 1.219 kB / 0.5483 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008238/0.3944, allocations: 8.747 MB / 0.5569 GB, free: 5.301 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.3944, allocations: 0 / 0.5569 GB, free: 5.301 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004998/0.3949, allocations: 296.7 kB / 0.5572 GB, free: 5.086 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001368/0.3951, allocations: 99.62 kB / 0.5572 GB, free: 4.977 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.43e-05/0.3951, allocations: 0 / 0.5572 GB, free: 4.977 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002006/0.3953, allocations: 15.98 kB / 0.5573 GB, free: 4.961 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.43e-05/0.3954, allocations: 11.97 kB / 0.5573 GB, free: 4.949 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.896e-05/0.3954, allocations: 11.98 kB / 0.5573 GB, free: 4.938 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000198/0.3956, allocations: 187.1 kB / 0.5575 GB, free: 4.754 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.3956, allocations: 0 / 0.5575 GB, free: 4.754 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004766/0.3961, allocations: 71.94 kB / 0.5575 GB, free: 4.684 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.0001807/0.3963, allocations: 103.2 kB / 0.5576 GB, free: 4.574 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001988/0.3983, allocations: 0.6192 MB / 0.5582 GB, free: 3.961 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3983, allocations: 0 / 0.5582 GB, free: 3.961 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001327/0.3996, allocations: 391.3 kB / 0.5586 GB, free: 3.578 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003187/0.4, allocations: 31.95 kB / 0.5586 GB, free: 3.547 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009133/0.4009, allocations: 453.9 kB / 0.5591 GB, free: 3.074 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004103/0.4013, allocations: 0.7556 MB / 0.5598 GB, free: 2.293 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003082/0.4016, allocations: 117.3 kB / 0.5599 GB, free: 2.18 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001453/0.4018, allocations: 43.39 kB / 0.56 GB, free: 2.137 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4018, allocations: 4 kB / 0.56 GB, free: 2.133 MB / 414.1 MB Notification: Performance of Templates: time 0.01217/0.414, allocations: 7.926 MB / 0.5677 GB, free: 10.26 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/jenkins/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/jenkins/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