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.001186/0.001186, allocations: 117.2 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001436/0.001437, allocations: 204.6 kB / 18.74 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.484/1.484, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2547/0.2547, allocations: 46.09 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 75.86 kB / 481.3 MB, free: 4.066 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5277/0.5298, allocations: 62.43 MB / 0.531 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC): time 0.004115/0.5339, allocations: 1.709 MB / 0.5327 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00163/0.5356, allocations: 0.7553 MB / 0.5334 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001109/0.5357, allocations: 1.375 kB / 0.5334 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002973/0.536, allocations: 40.05 kB / 0.5335 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003924/0.5365, allocations: 64.22 kB / 0.5335 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003313/0.5368, allocations: 56.39 kB / 0.5336 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003307/0.5372, allocations: 153.1 kB / 0.5337 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.563e-05/0.5372, allocations: 17.45 kB / 0.5337 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001532/0.5374, allocations: 63.48 kB / 0.5338 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002358/0.5376, allocations: 80.06 kB / 0.5339 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.938e-05/0.5377, allocations: 3.688 kB / 0.5339 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002413/0.5379, allocations: 71.72 kB / 0.5339 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001141/0.5381, allocations: 46.72 kB / 0.534 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001373/0.5382, allocations: 61.86 kB / 0.534 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004138/0.5386, allocations: 183.5 kB / 0.5342 GB, free: 11.21 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.5386, allocations: 1.094 kB / 0.5342 GB, free: 11.21 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.5386, allocations: 0 / 0.5342 GB, free: 11.21 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.626e-06/0.5387, allocations: 0 / 0.5342 GB, free: 11.21 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.0008942/0.5396, allocations: 459.2 kB / 0.5347 GB, free: 10.77 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.5396, allocations: 9.094 kB / 0.5347 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006416/0.5403, allocations: 70.55 kB / 0.5347 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003198/0.5406, allocations: 225.9 kB / 0.535 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.5406, allocations: 8.094 kB / 0.535 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.407e-05/0.5407, allocations: 10.81 kB / 0.535 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005493/0.5412, allocations: 259.7 kB / 0.5352 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.5412, allocations: 1.375 kB / 0.5352 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.836e-05/0.5413, allocations: 9.375 kB / 0.5352 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.555e-05/0.5413, allocations: 16.36 kB / 0.5352 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006202/0.5419, allocations: 246 kB / 0.5355 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001457/0.5434, allocations: 0.648 MB / 0.5361 GB, free: 9.672 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000483/0.5439, allocations: 236.7 kB / 0.5363 GB, free: 9.551 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002203/0.5441, allocations: 85.34 kB / 0.5364 GB, free: 9.508 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.369e-05/0.5442, allocations: 1.25 kB / 0.5364 GB, free: 9.508 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.5442, allocations: 31.72 kB / 0.5365 GB, free: 9.469 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.784e-06/0.5442, allocations: 0.7812 kB / 0.5365 GB, free: 9.469 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008119/0.5451, allocations: 289.9 kB / 0.5367 GB, free: 9.324 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.263e-05/0.5451, allocations: 53.47 kB / 0.5368 GB, free: 9.262 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002767/0.5454, allocations: 229.1 kB / 0.537 GB, free: 9.102 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.99e-05/0.5454, allocations: 31.08 kB / 0.537 GB, free: 9.066 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.5456, allocations: 114.3 kB / 0.5371 GB, free: 8.957 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.171e-05/0.5456, allocations: 53.47 kB / 0.5372 GB, free: 8.91 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.5457, allocations: 40.41 kB / 0.5372 GB, free: 8.879 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.5459, allocations: 331.3 kB / 0.5375 GB, free: 8.551 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001991/0.5461, allocations: 87.52 kB / 0.5376 GB, free: 8.512 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001988/0.5463, allocations: 104.1 kB / 0.5377 GB, free: 8.449 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004662/0.5468, allocations: 212.4 kB / 0.5379 GB, free: 8.332 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/0.5468, allocations: 4.844 kB / 0.5379 GB, free: 8.328 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006991/0.5475, allocations: 243.6 kB / 0.5382 GB, free: 8.207 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.803e-05/0.5476, allocations: 5.594 kB / 0.5382 GB, free: 8.207 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.5476, allocations: 1.062 kB / 0.5382 GB, free: 8.207 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.938e-05/0.5476, allocations: 6.156 kB / 0.5382 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002479/0.5501, allocations: 268.2 kB / 0.5384 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01171/0.5618, allocations: 9.241 MB / 0.5475 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003497/0.5622, allocations: 26.36 kB / 0.5475 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.68e-05/0.5623, allocations: 9.578 kB / 0.5475 GB, free: 14.76 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.0002266/0.5625, allocations: 144.6 kB / 0.5476 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.453e-05/0.5626, allocations: 16.06 kB / 0.5476 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005989/0.5632, allocations: 241.5 kB / 0.5479 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.5632, allocations: 1.375 kB / 0.5479 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.5632, allocations: 9.172 kB / 0.5479 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.5633, allocations: 4 kB / 0.5479 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004485/0.5637, allocations: 241.4 kB / 0.5481 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.5637, allocations: 1.125 kB / 0.5481 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00165/0.5654, allocations: 220.6 kB / 0.5483 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.5654, allocations: 0 / 0.5483 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.391e-05/0.5654, allocations: 9.047 kB / 0.5483 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007844/0.5733, allocations: 8.736 MB / 0.5569 GB, free: 5.109 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.5733, allocations: 0 / 0.5569 GB, free: 5.109 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005421/0.5739, allocations: 296.9 kB / 0.5572 GB, free: 4.895 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.707e-05/0.574, allocations: 91.73 kB / 0.5572 GB, free: 4.793 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.85e-05/0.574, allocations: 2.312 kB / 0.5572 GB, free: 4.793 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000197/0.5742, allocations: 14.2 kB / 0.5573 GB, free: 4.785 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.841e-05/0.5743, allocations: 22.75 kB / 0.5573 GB, free: 4.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.901e-05/0.5743, allocations: 11.23 kB / 0.5573 GB, free: 4.762 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002103/0.5746, allocations: 191.1 kB / 0.5575 GB, free: 4.633 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5746, allocations: 0 / 0.5575 GB, free: 4.633 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005025/0.5751, allocations: 68.75 kB / 0.5575 GB, free: 4.566 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.0001712/0.5752, allocations: 107.2 kB / 0.5576 GB, free: 4.453 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001975/0.5772, allocations: 0.6112 MB / 0.5582 GB, free: 3.848 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.5772, allocations: 0 / 0.5582 GB, free: 3.848 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001291/0.5785, allocations: 401.5 kB / 0.5586 GB, free: 3.457 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003378/0.5789, allocations: 35.97 kB / 0.5587 GB, free: 3.422 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009617/0.5799, allocations: 443.5 kB / 0.5591 GB, free: 2.957 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003292/0.5802, allocations: 0.7595 MB / 0.5598 GB, free: 2.172 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000319/0.5805, allocations: 113.4 kB / 0.5599 GB, free: 2.062 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001564/0.5807, allocations: 51.38 kB / 0.56 GB, free: 2.012 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.5807, allocations: 0 / 0.56 GB, free: 2.012 MB / 414.1 MB Notification: Performance of Templates: time 0.01207/0.5928, allocations: 7.763 MB / 0.5676 GB, free: 10.3 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