Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 109.4 kB / 17.78 MB, free: 5.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 188.1 kB / 18.71 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.289/1.289, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2002/0.2002, allocations: 44.18 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 63.91 kB / 470.6 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3742/0.3755, allocations: 60.81 MB / 0.5189 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar): time 0.003221/0.3788, allocations: 1.822 MB / 0.5207 GB, free: 2.363 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001419/0.3802, allocations: 0.9542 MB / 0.5216 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.125e-05/0.3803, allocations: 5.344 kB / 0.5216 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002586/0.3806, allocations: 41.91 kB / 0.5217 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002829/0.3809, allocations: 61.72 kB / 0.5217 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003495/0.3812, allocations: 118.4 kB / 0.5218 GB, free: 1.582 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002918/0.3815, allocations: 215.2 kB / 0.522 GB, free: 1.492 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.28e-05/0.3816, allocations: 16.34 kB / 0.5221 GB, free: 1.48 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001584/0.3818, allocations: 89.7 kB / 0.5222 GB, free: 1.441 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001723/0.382, allocations: 95.95 kB / 0.5222 GB, free: 1.406 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.867e-05/0.382, allocations: 8.344 kB / 0.5223 GB, free: 1.406 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002467/0.3822, allocations: 118.3 kB / 0.5224 GB, free: 1.367 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.326e-05/0.3823, allocations: 53.73 kB / 0.5224 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.657e-05/0.3824, allocations: 81.59 kB / 0.5225 GB, free: 1.301 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003941/0.3828, allocations: 246.7 kB / 0.5227 GB, free: 1.207 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.3829, allocations: 0.75 kB / 0.5227 GB, free: 1.207 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3829, allocations: 1.938 kB / 0.5227 GB, free: 1.207 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.028e-05/0.3829, allocations: 0 / 0.5227 GB, free: 1.207 MB / 382.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.0009447/0.3838, allocations: 0.5191 MB / 0.5232 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.3839, allocations: 14.16 kB / 0.5233 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.665e-05/0.3839, allocations: 21.19 kB / 0.5233 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002461/0.3842, allocations: 225.2 kB / 0.5235 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.3842, allocations: 9.531 kB / 0.5235 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.72e-05/0.3843, allocations: 12.59 kB / 0.5235 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005652/0.3848, allocations: 271.2 kB / 0.5238 GB, free: 400 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.3848, allocations: 4 kB / 0.5238 GB, free: 396 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.076e-05/0.3849, allocations: 5.688 kB / 0.5238 GB, free: 392 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.586e-05/0.3849, allocations: 12.7 kB / 0.5238 GB, free: 392 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006084/0.3855, allocations: 226.4 kB / 0.524 GB, free: 352 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00112/0.3867, allocations: 0.8066 MB / 0.5248 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004131/0.3871, allocations: 197.8 kB / 0.525 GB, free: 15.63 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002686/0.3874, allocations: 96.11 kB / 0.5251 GB, free: 15.6 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.914e-05/0.3874, allocations: 3.906 kB / 0.5251 GB, free: 15.6 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.3874, allocations: 40.67 kB / 0.5251 GB, free: 15.55 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.633e-06/0.3874, allocations: 1.312 kB / 0.5251 GB, free: 15.55 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001027/0.3885, allocations: 316 kB / 0.5254 GB, free: 15.47 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.565e-05/0.3886, allocations: 109.3 kB / 0.5255 GB, free: 15.34 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000303/0.3889, allocations: 255.3 kB / 0.5258 GB, free: 15.2 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/0.3889, allocations: 31.17 kB / 0.5258 GB, free: 15.17 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.939e-05/0.389, allocations: 137.6 kB / 0.5259 GB, free: 15.04 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.296e-05/0.3891, allocations: 41.44 kB / 0.526 GB, free: 15 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.818e-05/0.3892, allocations: 35.05 kB / 0.526 GB, free: 14.98 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.3893, allocations: 336.6 kB / 0.5263 GB, free: 14.64 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002791/0.3896, allocations: 98.08 kB / 0.5264 GB, free: 14.6 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002954/0.3899, allocations: 128.7 kB / 0.5265 GB, free: 14.52 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005789/0.3905, allocations: 227.2 kB / 0.5268 GB, free: 14.39 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3905, allocations: 0 / 0.5268 GB, free: 14.39 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007406/0.3912, allocations: 276.1 kB / 0.527 GB, free: 14.25 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.3913, allocations: 5.5 kB / 0.527 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.275e-05/0.3913, allocations: 14.86 kB / 0.527 GB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.136e-05/0.3913, allocations: 2.75 kB / 0.527 GB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002365/0.3916, allocations: 40.81 kB / 0.5271 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/0.3916, allocations: 6.688 kB / 0.5271 GB, free: 14.22 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002115/0.3918, allocations: 33.56 kB / 0.5271 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.499e-05/0.3918, allocations: 6.875 kB / 0.5271 GB, free: 14.2 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.0001328/0.392, allocations: 140.9 kB / 0.5273 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.028e-05/0.3921, allocations: 21.34 kB / 0.5273 GB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005222/0.3926, allocations: 226.1 kB / 0.5275 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.3926, allocations: 2.812 kB / 0.5275 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.3926, allocations: 1.469 kB / 0.5275 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.3926, allocations: 0 / 0.5275 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004244/0.3931, allocations: 262.6 kB / 0.5277 GB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.018e-05/0.3931, allocations: 10.69 kB / 0.5278 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001789/0.3933, allocations: 31.7 kB / 0.5278 GB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.3933, allocations: 1.375 kB / 0.5278 GB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.806e-05/0.3933, allocations: 10.47 kB / 0.5278 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.3933, allocations: 1.344 kB / 0.5278 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.3933, allocations: 1.406 kB / 0.5278 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006842/0.394, allocations: 488.6 kB / 0.5283 GB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.831e-05/0.3941, allocations: 97.16 kB / 0.5284 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.298e-05/0.3941, allocations: 1.188 kB / 0.5284 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002527/0.3944, allocations: 18.17 kB / 0.5284 GB, free: 13.15 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.997e-05/0.3945, allocations: 14.8 kB / 0.5284 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.887e-05/0.3945, allocations: 15.39 kB / 0.5284 GB, free: 13.13 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001829/0.3947, allocations: 193.3 kB / 0.5286 GB, free: 13.01 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3947, allocations: 4 kB / 0.5286 GB, free: 13 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004512/0.3952, allocations: 70.16 kB / 0.5287 GB, free: 12.99 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.0002599/0.3954, allocations: 148.2 kB / 0.5288 GB, free: 12.88 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007072/0.3961, allocations: 282.1 kB / 0.5291 GB, free: 12.7 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.3961, allocations: 0 / 0.5291 GB, free: 12.7 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003792/0.3965, allocations: 186.9 kB / 0.5292 GB, free: 12.56 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005331/0.3971, allocations: 35.86 kB / 0.5293 GB, free: 12.55 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001035/0.3981, allocations: 459.1 kB / 0.5297 GB, free: 12.26 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003322/0.3985, allocations: 0.7429 MB / 0.5304 GB, free: 11.53 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001206/0.3986, allocations: 46.47 kB / 0.5305 GB, free: 11.51 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.449e-05/0.3987, allocations: 17.41 kB / 0.5305 GB, free: 11.5 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3987, allocations: 0 / 0.5305 GB, free: 11.5 MB / 398.1 MB Notification: Performance of Templates: time 0.007294/0.406, allocations: 3.603 MB / 0.534 GB, free: 9.688 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches