Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.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,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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001235/0.001235, allocations: 113.8 kB / 17.78 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001134/0.001134, allocations: 207.8 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.446/1.446, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2329/0.2329, allocations: 46.11 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 75.88 kB / 481.3 MB, free: 4.039 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3726/0.374, allocations: 62.45 MB / 0.531 GB, free: 13.81 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar): time 0.003059/0.3771, allocations: 1.825 MB / 0.5328 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001615/0.3787, allocations: 1.023 MB / 0.5338 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.348e-05/0.3788, allocations: 1.25 kB / 0.5338 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002301/0.3791, allocations: 44.77 kB / 0.5338 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002356/0.3793, allocations: 66.03 kB / 0.5339 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003661/0.3797, allocations: 131.5 kB / 0.534 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002876/0.38, allocations: 206.5 kB / 0.5342 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.835e-05/0.3801, allocations: 16.16 kB / 0.5342 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002029/0.3803, allocations: 100.8 kB / 0.5343 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001595/0.3804, allocations: 98.09 kB / 0.5344 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.512e-05/0.3805, allocations: 8.25 kB / 0.5344 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000238/0.3807, allocations: 125.7 kB / 0.5346 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.586e-05/0.3808, allocations: 53.69 kB / 0.5346 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.8e-05/0.3809, allocations: 85.58 kB / 0.5347 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00035/0.3813, allocations: 250.8 kB / 0.5349 GB, free: 10.87 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3813, allocations: 0.9688 kB / 0.5349 GB, free: 10.87 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3813, allocations: 0 / 0.5349 GB, free: 10.87 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.295e-06/0.3813, allocations: 0 / 0.5349 GB, free: 10.87 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.0009766/0.3823, allocations: 0.5298 MB / 0.5355 GB, free: 10.37 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.3823, allocations: 8.781 kB / 0.5355 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003512/0.3827, allocations: 55.2 kB / 0.5355 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002598/0.3829, allocations: 228.6 kB / 0.5357 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.383, allocations: 17.38 kB / 0.5358 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.785e-05/0.383, allocations: 7.344 kB / 0.5358 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005172/0.3835, allocations: 275 kB / 0.536 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.3835, allocations: 0 / 0.536 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.951e-05/0.3836, allocations: 2.312 kB / 0.536 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.404e-05/0.3836, allocations: 21.59 kB / 0.536 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005572/0.3842, allocations: 222.2 kB / 0.5363 GB, free: 9.809 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00107/0.3853, allocations: 0.8051 MB / 0.537 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003863/0.3857, allocations: 186 kB / 0.5372 GB, free: 8.977 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002552/0.3859, allocations: 104.5 kB / 0.5373 GB, free: 8.914 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.603e-05/0.386, allocations: 6.734 kB / 0.5373 GB, free: 8.91 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.386, allocations: 37.06 kB / 0.5374 GB, free: 8.867 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.803e-06/0.386, allocations: 0 / 0.5374 GB, free: 8.867 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009556/0.387, allocations: 320.1 kB / 0.5377 GB, free: 8.711 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.009e-05/0.387, allocations: 105.1 kB / 0.5378 GB, free: 8.586 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002558/0.3873, allocations: 260.6 kB / 0.538 GB, free: 8.41 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.835e-05/0.3873, allocations: 30.95 kB / 0.538 GB, free: 8.375 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.654e-05/0.3874, allocations: 144.4 kB / 0.5382 GB, free: 8.238 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.217e-05/0.3875, allocations: 33.78 kB / 0.5382 GB, free: 8.211 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.018e-05/0.3876, allocations: 39.47 kB / 0.5383 GB, free: 8.18 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.3877, allocations: 332.3 kB / 0.5386 GB, free: 7.852 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002716/0.388, allocations: 94.8 kB / 0.5387 GB, free: 7.812 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002856/0.3883, allocations: 132.3 kB / 0.5388 GB, free: 7.723 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005456/0.3888, allocations: 222.3 kB / 0.539 GB, free: 7.598 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.3888, allocations: 1.312 kB / 0.539 GB, free: 7.598 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006695/0.3895, allocations: 282.9 kB / 0.5393 GB, free: 7.453 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.3895, allocations: 5.438 kB / 0.5393 GB, free: 7.453 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.726e-05/0.3896, allocations: 12.16 kB / 0.5393 GB, free: 7.449 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.3896, allocations: 1.406 kB / 0.5393 GB, free: 7.449 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002584/0.3898, allocations: 37.58 kB / 0.5393 GB, free: 7.438 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.511e-05/0.3899, allocations: 6.625 kB / 0.5393 GB, free: 7.434 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002235/0.3901, allocations: 37.53 kB / 0.5394 GB, free: 7.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.3e-05/0.3901, allocations: 7.031 kB / 0.5394 GB, free: 7.41 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.0001351/0.3903, allocations: 141.1 kB / 0.5395 GB, free: 7.277 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.843e-05/0.3904, allocations: 16.56 kB / 0.5395 GB, free: 7.27 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005422/0.3909, allocations: 235.4 kB / 0.5397 GB, free: 7.129 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.3909, allocations: 4.906 kB / 0.5397 GB, free: 7.125 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.3909, allocations: 5.219 kB / 0.5398 GB, free: 7.121 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.391, allocations: 1.25 kB / 0.5398 GB, free: 7.121 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004123/0.3914, allocations: 262.7 kB / 0.54 GB, free: 6.863 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.79e-05/0.3914, allocations: 10 kB / 0.54 GB, free: 6.859 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001808/0.3916, allocations: 36.48 kB / 0.5401 GB, free: 6.844 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.3916, allocations: 1.188 kB / 0.5401 GB, free: 6.844 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/0.3916, allocations: 2.219 kB / 0.5401 GB, free: 6.844 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.3916, allocations: 2.375 kB / 0.5401 GB, free: 6.844 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3916, allocations: 0 / 0.5401 GB, free: 6.844 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006846/0.3923, allocations: 481.6 kB / 0.5405 GB, free: 6.473 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.148e-05/0.3924, allocations: 96.7 kB / 0.5406 GB, free: 6.367 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.719e-05/0.3925, allocations: 10.08 kB / 0.5406 GB, free: 6.359 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002497/0.3927, allocations: 21.83 kB / 0.5406 GB, free: 6.348 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.151e-05/0.3928, allocations: 18.42 kB / 0.5407 GB, free: 6.336 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.033e-05/0.3928, allocations: 12.33 kB / 0.5407 GB, free: 6.328 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001817/0.393, allocations: 189.3 kB / 0.5408 GB, free: 6.207 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.393, allocations: 0 / 0.5408 GB, free: 6.207 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004549/0.3935, allocations: 74.73 kB / 0.5409 GB, free: 6.188 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.0002654/0.3937, allocations: 143.6 kB / 0.5411 GB, free: 6.078 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007289/0.3945, allocations: 285.1 kB / 0.5413 GB, free: 5.902 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.3945, allocations: 1.031 kB / 0.5413 GB, free: 5.902 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003262/0.3948, allocations: 182.8 kB / 0.5415 GB, free: 5.766 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000516/0.3954, allocations: 51.28 kB / 0.5416 GB, free: 5.738 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.3964, allocations: 455.4 kB / 0.542 GB, free: 5.453 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003085/0.3967, allocations: 0.7392 MB / 0.5427 GB, free: 4.73 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001255/0.3968, allocations: 44.02 kB / 0.5427 GB, free: 4.715 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.52e-05/0.3969, allocations: 19.94 kB / 0.5428 GB, free: 4.703 MB / 398.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3969, allocations: 0 / 0.5428 GB, free: 4.703 MB / 398.1 MB Notification: Performance of Templates: time 0.007265/0.4042, allocations: 3.612 MB / 0.5463 GB, free: 1.73 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_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_laminar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches