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_KC.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.253/1.253, allocations: 222.9 MB / 241.6 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 109.8 kB / 291.9 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2994/0.2994, allocations: 44.12 MB / 386.1 MB, free: 37.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001073/0.001073, allocations: 51.92 kB / 457.8 MB, free: 2.27 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2769/0.278, allocations: 60.81 MB / 0.5064 GB, free: 38.34 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC): time 0.002624/0.2807, allocations: 1.743 MB / 0.5081 GB, free: 37.16 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009049/0.2816, allocations: 0.7209 MB / 0.5088 GB, free: 36.65 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.496e-05/0.2817, allocations: 0 / 0.5088 GB, free: 36.65 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000231/0.2819, allocations: 37.69 kB / 0.5089 GB, free: 36.63 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002452/0.2822, allocations: 61 kB / 0.5089 GB, free: 36.6 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001363/0.2823, allocations: 48.59 kB / 0.509 GB, free: 36.58 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002323/0.2826, allocations: 253 kB / 0.5092 GB, free: 36.5 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.085e-05/0.2826, allocations: 16.5 kB / 0.5092 GB, free: 36.49 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.273e-05/0.2827, allocations: 49.02 kB / 0.5093 GB, free: 36.47 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001206/0.2828, allocations: 87.22 kB / 0.5094 GB, free: 36.45 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.2828, allocations: 3.312 kB / 0.5094 GB, free: 36.45 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001365/0.283, allocations: 66 kB / 0.5094 GB, free: 36.42 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.808e-05/0.2831, allocations: 49.62 kB / 0.5095 GB, free: 36.4 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.585e-05/0.2831, allocations: 58.12 kB / 0.5095 GB, free: 36.37 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002072/0.2833, allocations: 185.4 kB / 0.5097 GB, free: 36.29 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2833, allocations: 0 / 0.5097 GB, free: 36.29 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.2833, allocations: 0 / 0.5097 GB, free: 36.29 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.947e-06/0.2834, allocations: 0.9375 kB / 0.5097 GB, free: 36.29 MB / 378.7 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.0005356/0.2839, allocations: 457.2 kB / 0.5101 GB, free: 35.88 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/0.2839, allocations: 7.906 kB / 0.5101 GB, free: 35.88 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004641/0.2844, allocations: 71.7 kB / 0.5102 GB, free: 35.87 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001777/0.2846, allocations: 220.3 kB / 0.5104 GB, free: 35.64 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.2846, allocations: 6.156 kB / 0.5104 GB, free: 35.64 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.601e-05/0.2846, allocations: 9.719 kB / 0.5104 GB, free: 35.64 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003671/0.285, allocations: 260.6 kB / 0.5107 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.285, allocations: 0 / 0.5107 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.727e-05/0.2851, allocations: 0 / 0.5107 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.76e-05/0.2851, allocations: 21.61 kB / 0.5107 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004127/0.2855, allocations: 247.7 kB / 0.5109 GB, free: 35.48 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009862/0.2865, allocations: 0.6603 MB / 0.5116 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003526/0.2869, allocations: 229 kB / 0.5118 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000157/0.287, allocations: 87.97 kB / 0.5119 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.2871, allocations: 2.844 kB / 0.5119 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.648e-05/0.2871, allocations: 30.56 kB / 0.5119 GB, free: 34.91 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 1.282e-06/0.2871, allocations: 0 / 0.5119 GB, free: 34.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006109/0.2877, allocations: 290.4 kB / 0.5122 GB, free: 34.84 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.68e-05/0.2877, allocations: 58.41 kB / 0.5123 GB, free: 34.77 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001738/0.2879, allocations: 231.4 kB / 0.5125 GB, free: 34.64 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.2879, allocations: 25.7 kB / 0.5125 GB, free: 34.61 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.226e-05/0.288, allocations: 113.1 kB / 0.5126 GB, free: 34.5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.005e-05/0.288, allocations: 48.31 kB / 0.5127 GB, free: 34.46 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.668e-05/0.2881, allocations: 47.98 kB / 0.5127 GB, free: 34.44 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.091e-05/0.2882, allocations: 327.6 kB / 0.513 GB, free: 34.12 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001635/0.2883, allocations: 82.02 kB / 0.5131 GB, free: 34.11 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000167/0.2885, allocations: 106.4 kB / 0.5132 GB, free: 34.07 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003376/0.2889, allocations: 202.5 kB / 0.5134 GB, free: 34 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.2889, allocations: 3.938 kB / 0.5134 GB, free: 34 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004248/0.2893, allocations: 248.7 kB / 0.5136 GB, free: 33.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.2893, allocations: 11.44 kB / 0.5136 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.2893, allocations: 6.938 kB / 0.5136 GB, free: 33.92 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.2894, allocations: 0 / 0.5136 GB, free: 33.92 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002242/0.2916, allocations: 269.2 kB / 0.5139 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007165/0.2988, allocations: 8.643 MB / 0.5223 GB, free: 25.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000257/0.2991, allocations: 20.97 kB / 0.5224 GB, free: 25.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.008e-05/0.2991, allocations: 9.266 kB / 0.5224 GB, free: 25.62 MB / 378.7 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.0001203/0.2992, allocations: 140.8 kB / 0.5225 GB, free: 25.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.52e-05/0.2993, allocations: 23.12 kB / 0.5225 GB, free: 25.48 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004685/0.2998, allocations: 238.4 kB / 0.5228 GB, free: 25.39 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.2998, allocations: 7.172 kB / 0.5228 GB, free: 25.39 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-06/0.2998, allocations: 0 / 0.5228 GB, free: 25.39 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.2998, allocations: 0.75 kB / 0.5228 GB, free: 25.39 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002067/0.3, allocations: 242.4 kB / 0.523 GB, free: 25.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3, allocations: 3.938 kB / 0.523 GB, free: 25.17 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00153/0.3015, allocations: 217.3 kB / 0.5232 GB, free: 25.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.3016, allocations: 3.938 kB / 0.5232 GB, free: 25.16 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.607e-05/0.3016, allocations: 6.812 kB / 0.5232 GB, free: 25.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005116/0.3067, allocations: 8.154 MB / 0.5312 GB, free: 17.02 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.3067, allocations: 7.938 kB / 0.5312 GB, free: 17.02 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006408/0.3074, allocations: 0.9476 MB / 0.5321 GB, free: 16.23 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.254e-05/0.3074, allocations: 94.67 kB / 0.5322 GB, free: 16.13 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.453e-05/0.3075, allocations: 2.812 kB / 0.5322 GB, free: 16.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001926/0.3077, allocations: 13 kB / 0.5322 GB, free: 16.12 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.289e-05/0.3077, allocations: 22.41 kB / 0.5322 GB, free: 16.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.3078, allocations: 3.188 kB / 0.5322 GB, free: 16.12 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001286/0.3079, allocations: 190.3 kB / 0.5324 GB, free: 16.02 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3079, allocations: 2.844 kB / 0.5324 GB, free: 16.02 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005171/0.3084, allocations: 63.12 kB / 0.5325 GB, free: 16.01 MB / 378.7 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.0001323/0.3086, allocations: 117.5 kB / 0.5326 GB, free: 15.9 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001775/0.3103, allocations: 0.6011 MB / 0.5332 GB, free: 15.85 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3104, allocations: 0 / 0.5332 GB, free: 15.85 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001207/0.3116, allocations: 392.3 kB / 0.5336 GB, free: 15.82 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003248/0.3119, allocations: 44.92 kB / 0.5336 GB, free: 15.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008697/0.3128, allocations: 0.6204 MB / 0.5342 GB, free: 15.39 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001568/0.313, allocations: 0.7627 MB / 0.535 GB, free: 14.68 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003308/0.3133, allocations: 114.4 kB / 0.5351 GB, free: 14.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001506/0.3134, allocations: 47.88 kB / 0.5351 GB, free: 14.65 MB / 378.7 MB Notification: Performance of SimCode: time 4.41e-07/0.3135, allocations: 0 / 0.5351 GB, free: 14.65 MB / 378.7 MB Notification: Performance of Templates: time 0.01012/0.3236, allocations: 7.663 MB / 0.5426 GB, free: 14.19 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Plate/kc_laminar_KC/kc_laminar_KC.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches