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.00107/0.00107, allocations: 113.7 kB / 18.46 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.001198/0.001198, allocations: 206.7 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.381/1.381, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2068/0.2068, allocations: 46.1 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 75.88 kB / 482 MB, free: 4.035 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3857/0.3871, allocations: 62.44 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC): time 0.002834/0.39, allocations: 1.699 MB / 0.5333 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001135/0.3911, allocations: 0.7639 MB / 0.5341 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.252e-05/0.3912, allocations: 1.375 kB / 0.5341 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002053/0.3914, allocations: 32.02 kB / 0.5341 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002844/0.3917, allocations: 72.19 kB / 0.5342 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000174/0.3919, allocations: 60.38 kB / 0.5342 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002033/0.3921, allocations: 156.2 kB / 0.5344 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.427e-05/0.3921, allocations: 13.66 kB / 0.5344 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.995e-05/0.3922, allocations: 60.58 kB / 0.5345 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001264/0.3924, allocations: 69.98 kB / 0.5345 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.158e-05/0.3924, allocations: 9.438 kB / 0.5345 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002121/0.3926, allocations: 63.52 kB / 0.5346 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.468e-05/0.3927, allocations: 49.69 kB / 0.5346 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.716e-05/0.3928, allocations: 61.61 kB / 0.5347 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002374/0.393, allocations: 180.5 kB / 0.5349 GB, free: 11.2 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.393, allocations: 0 / 0.5349 GB, free: 11.2 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.393, allocations: 0 / 0.5349 GB, free: 11.2 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.393, allocations: 1.125 kB / 0.5349 GB, free: 11.2 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.0006639/0.3937, allocations: 462.7 kB / 0.5353 GB, free: 10.75 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.3937, allocations: 8.969 kB / 0.5353 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005492/0.3943, allocations: 75.34 kB / 0.5354 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001909/0.3945, allocations: 215 kB / 0.5356 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.3945, allocations: 12.72 kB / 0.5356 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.95e-05/0.3946, allocations: 10.58 kB / 0.5356 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004776/0.395, allocations: 261 kB / 0.5359 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.3951, allocations: 0 / 0.5359 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.172e-05/0.3951, allocations: 5.125 kB / 0.5359 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.468e-05/0.3951, allocations: 16.58 kB / 0.5359 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004706/0.3956, allocations: 242.5 kB / 0.5361 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001152/0.3968, allocations: 0.6491 MB / 0.5368 GB, free: 9.656 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003989/0.3972, allocations: 236.2 kB / 0.537 GB, free: 9.535 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000177/0.3974, allocations: 80.45 kB / 0.5371 GB, free: 9.496 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.261e-05/0.3974, allocations: 6.453 kB / 0.5371 GB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.26e-05/0.3974, allocations: 35.97 kB / 0.5371 GB, free: 9.449 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 2.475e-06/0.3974, allocations: 0 / 0.5371 GB, free: 9.449 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0006837/0.3981, allocations: 296.3 kB / 0.5374 GB, free: 9.301 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.3982, allocations: 52.53 kB / 0.5374 GB, free: 9.238 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001973/0.3984, allocations: 225.3 kB / 0.5377 GB, free: 9.082 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.718e-05/0.3984, allocations: 30.56 kB / 0.5377 GB, free: 9.047 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.015e-05/0.3985, allocations: 119.2 kB / 0.5378 GB, free: 8.934 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.642e-05/0.3985, allocations: 44.86 kB / 0.5378 GB, free: 8.895 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.162e-05/0.3986, allocations: 40.67 kB / 0.5379 GB, free: 8.863 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.3987, allocations: 335.6 kB / 0.5382 GB, free: 8.531 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001809/0.3989, allocations: 80.31 kB / 0.5383 GB, free: 8.5 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001873/0.3991, allocations: 110.3 kB / 0.5384 GB, free: 8.43 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003809/0.3995, allocations: 202.6 kB / 0.5386 GB, free: 8.32 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.3995, allocations: 3.938 kB / 0.5386 GB, free: 8.316 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005136/0.4, allocations: 251.9 kB / 0.5388 GB, free: 8.188 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.4001, allocations: 6.406 kB / 0.5388 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.4001, allocations: 1.156 kB / 0.5388 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.4001, allocations: 5.125 kB / 0.5388 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002292/0.4024, allocations: 260.4 kB / 0.5391 GB, free: 8.082 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008994/0.4114, allocations: 9.246 MB / 0.5481 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002456/0.4117, allocations: 26.33 kB / 0.5481 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.177e-05/0.4117, allocations: 16.83 kB / 0.5481 GB, free: 14.73 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.0001448/0.4119, allocations: 137.6 kB / 0.5483 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.743e-05/0.4119, allocations: 15.72 kB / 0.5483 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005443/0.4125, allocations: 249.6 kB / 0.5485 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.4125, allocations: 1.219 kB / 0.5485 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-06/0.4125, allocations: 5.219 kB / 0.5485 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.4125, allocations: 0 / 0.5485 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002467/0.4127, allocations: 246 kB / 0.5488 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.4127, allocations: 0 / 0.5488 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001654/0.4144, allocations: 212.8 kB / 0.549 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.4144, allocations: 9.078 kB / 0.549 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.4144, allocations: 1.25 kB / 0.549 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007306/0.4218, allocations: 8.751 MB / 0.5575 GB, free: 5.082 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.4218, allocations: 3.984 kB / 0.5575 GB, free: 5.078 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004776/0.4223, allocations: 291.6 kB / 0.5578 GB, free: 4.871 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.518e-05/0.4223, allocations: 91.64 kB / 0.5579 GB, free: 4.77 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.08e-05/0.4224, allocations: 5.328 kB / 0.5579 GB, free: 4.766 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001935/0.4226, allocations: 11.44 kB / 0.5579 GB, free: 4.762 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.81e-05/0.4227, allocations: 34.23 kB / 0.5579 GB, free: 4.734 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.137e-05/0.4227, allocations: 2.531 kB / 0.558 GB, free: 4.734 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001739/0.4229, allocations: 192.6 kB / 0.5581 GB, free: 4.602 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.4229, allocations: 0 / 0.5581 GB, free: 4.602 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004489/0.4233, allocations: 67.94 kB / 0.5582 GB, free: 4.535 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.0001534/0.4235, allocations: 107.2 kB / 0.5583 GB, free: 4.422 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003284/0.4268, allocations: 483.4 kB / 0.5588 GB, free: 3.949 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.4268, allocations: 0 / 0.5588 GB, free: 3.949 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002208/0.429, allocations: 338.8 kB / 0.5591 GB, free: 3.621 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003483/0.4294, allocations: 35.22 kB / 0.5591 GB, free: 3.59 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000961/0.4304, allocations: 451 kB / 0.5595 GB, free: 3.113 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002596/0.4307, allocations: 0.7476 MB / 0.5603 GB, free: 2.34 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.634e-05/0.4307, allocations: 15.44 kB / 0.5603 GB, free: 2.324 MB / 414.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4307, allocations: 0 / 0.5603 GB, free: 2.324 MB / 414.1 MB Notification: Performance of Templates: time 0.008447/0.4392, allocations: 6.39 MB / 0.5665 GB, free: 11.94 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