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.001536/0.001536, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001954/0.001955, allocations: 208.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.53/1.53, allocations: 227.4 MB / 247.6 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2079/0.2079, allocations: 46.11 MB / 345 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001539/0.00154, allocations: 75.88 kB / 482 MB, free: 4.02 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3642/0.3657, allocations: 62.45 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar): time 0.003028/0.3688, allocations: 1.822 MB / 0.5335 GB, free: 12.17 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001597/0.3704, allocations: 1.028 MB / 0.5345 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.407e-05/0.3705, allocations: 5.312 kB / 0.5345 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000291/0.3708, allocations: 40 kB / 0.5345 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002238/0.3711, allocations: 66.77 kB / 0.5346 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003527/0.3714, allocations: 123.4 kB / 0.5347 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003185/0.3718, allocations: 215.4 kB / 0.5349 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.548e-05/0.3718, allocations: 11.19 kB / 0.5349 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002509/0.3721, allocations: 92.88 kB / 0.535 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001637/0.3722, allocations: 106.1 kB / 0.5351 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.744e-05/0.3723, allocations: 8.25 kB / 0.5351 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002437/0.3725, allocations: 121.8 kB / 0.5352 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.26e-05/0.3726, allocations: 56.91 kB / 0.5353 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001005/0.3727, allocations: 78.81 kB / 0.5354 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003603/0.3731, allocations: 258.5 kB / 0.5356 GB, free: 10.64 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3731, allocations: 0 / 0.5356 GB, free: 10.64 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.658e-06/0.3731, allocations: 0 / 0.5356 GB, free: 10.64 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.895e-05/0.3732, allocations: 0 / 0.5356 GB, free: 10.64 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.001001/0.3742, allocations: 0.5299 MB / 0.5361 GB, free: 10.15 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.3742, allocations: 9.969 kB / 0.5361 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003992/0.3746, allocations: 54.48 kB / 0.5362 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002449/0.3749, allocations: 227.8 kB / 0.5364 GB, free: 9.887 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.3749, allocations: 9.203 kB / 0.5364 GB, free: 9.883 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.457e-05/0.3749, allocations: 12.34 kB / 0.5364 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005395/0.3755, allocations: 278.2 kB / 0.5367 GB, free: 9.691 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.3755, allocations: 1.094 kB / 0.5367 GB, free: 9.691 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.356e-05/0.3755, allocations: 5.125 kB / 0.5367 GB, free: 9.688 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.506e-05/0.3756, allocations: 18.41 kB / 0.5367 GB, free: 9.68 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005899/0.3762, allocations: 222.1 kB / 0.5369 GB, free: 9.586 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0011/0.3773, allocations: 0.8056 MB / 0.5377 GB, free: 8.879 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000397/0.3777, allocations: 188.9 kB / 0.5379 GB, free: 8.75 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002578/0.378, allocations: 101 kB / 0.538 GB, free: 8.691 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.571e-05/0.378, allocations: 7.5 kB / 0.538 GB, free: 8.688 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.378, allocations: 35.62 kB / 0.538 GB, free: 8.645 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.413e-06/0.378, allocations: 0 / 0.538 GB, free: 8.645 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009953/0.379, allocations: 325 kB / 0.5383 GB, free: 8.484 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.893e-05/0.3791, allocations: 104.9 kB / 0.5384 GB, free: 8.359 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002907/0.3794, allocations: 255.6 kB / 0.5387 GB, free: 8.188 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/0.3794, allocations: 30.83 kB / 0.5387 GB, free: 8.152 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.557e-05/0.3795, allocations: 133.4 kB / 0.5388 GB, free: 8.027 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.619e-05/0.3796, allocations: 40.48 kB / 0.5389 GB, free: 7.992 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.86e-05/0.3797, allocations: 43.81 kB / 0.5389 GB, free: 7.957 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.3798, allocations: 333.2 kB / 0.5392 GB, free: 7.629 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002658/0.3801, allocations: 90.17 kB / 0.5393 GB, free: 7.594 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002773/0.3803, allocations: 139 kB / 0.5395 GB, free: 7.5 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005495/0.3809, allocations: 226.4 kB / 0.5397 GB, free: 7.371 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.3809, allocations: 0 / 0.5397 GB, free: 7.371 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006643/0.3816, allocations: 288.4 kB / 0.5399 GB, free: 7.223 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.3816, allocations: 6.25 kB / 0.5399 GB, free: 7.223 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.544e-05/0.3816, allocations: 6.75 kB / 0.54 GB, free: 7.223 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.3817, allocations: 2.312 kB / 0.54 GB, free: 7.223 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002795/0.382, allocations: 36.83 kB / 0.54 GB, free: 7.211 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.864e-06/0.382, allocations: 2 kB / 0.54 GB, free: 7.211 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002094/0.3822, allocations: 34.34 kB / 0.54 GB, free: 7.191 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.22e-05/0.3822, allocations: 6.125 kB / 0.54 GB, free: 7.191 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.0001362/0.3824, allocations: 150.3 kB / 0.5402 GB, free: 7.051 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.444e-05/0.3824, allocations: 16.53 kB / 0.5402 GB, free: 7.043 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005219/0.383, allocations: 238.2 kB / 0.5404 GB, free: 6.898 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.383, allocations: 2.312 kB / 0.5404 GB, free: 6.898 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.383, allocations: 5.312 kB / 0.5404 GB, free: 6.895 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.383, allocations: 0 / 0.5404 GB, free: 6.895 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004413/0.3835, allocations: 255.7 kB / 0.5407 GB, free: 6.645 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.735e-05/0.3835, allocations: 9.562 kB / 0.5407 GB, free: 6.641 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001803/0.3837, allocations: 32.45 kB / 0.5407 GB, free: 6.629 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.3837, allocations: 1.5 kB / 0.5407 GB, free: 6.629 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.901e-05/0.3837, allocations: 6.844 kB / 0.5407 GB, free: 6.625 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.3837, allocations: 1.406 kB / 0.5407 GB, free: 6.625 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3837, allocations: 0 / 0.5407 GB, free: 6.625 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007023/0.3844, allocations: 481.9 kB / 0.5412 GB, free: 6.254 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.05e-05/0.3845, allocations: 100.7 kB / 0.5413 GB, free: 6.145 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.231e-05/0.3846, allocations: 6.047 kB / 0.5413 GB, free: 6.141 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002519/0.3848, allocations: 17.86 kB / 0.5413 GB, free: 6.133 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.119e-05/0.3849, allocations: 17.83 kB / 0.5413 GB, free: 6.121 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.95e-05/0.3849, allocations: 11.86 kB / 0.5413 GB, free: 6.113 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001876/0.3851, allocations: 190.1 kB / 0.5415 GB, free: 5.992 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.3851, allocations: 192 / 0.5415 GB, free: 5.992 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000458/0.3856, allocations: 74.36 kB / 0.5416 GB, free: 5.973 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.0002699/0.3859, allocations: 155.9 kB / 0.5417 GB, free: 5.852 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000679/0.3866, allocations: 290 kB / 0.542 GB, free: 5.672 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.3866, allocations: 0 / 0.542 GB, free: 5.672 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003285/0.3869, allocations: 182.8 kB / 0.5422 GB, free: 5.535 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005401/0.3875, allocations: 35.31 kB / 0.5422 GB, free: 5.52 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/0.3885, allocations: 485.9 kB / 0.5427 GB, free: 5.199 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003118/0.3889, allocations: 0.743 MB / 0.5434 GB, free: 4.473 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.254e-05/0.389, allocations: 20.61 kB / 0.5434 GB, free: 4.461 MB / 398.1 MB Notification: Performance of SimCode: time 4.01e-07/0.389, allocations: 0 / 0.5434 GB, free: 4.461 MB / 398.1 MB Notification: Performance of Templates: time 0.007192/0.3962, allocations: 3.55 MB / 0.5469 GB, free: 1.602 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/jenkins1/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/jenkins1/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