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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.001674/0.001674, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.302/1.302, allocations: 226.7 MB / 245.5 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009441/0.0009441, allocations: 107.6 kB / 296.7 MB, free: 6.484 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3137/0.3137, allocations: 44.83 MB / 392.7 MB, free: 34.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001088/0.001088, allocations: 59.91 kB / 465.5 MB, free: 12.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2797/0.2808, allocations: 62.01 MB / 0.5152 GB, free: 37.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC): time 0.002365/0.2832, allocations: 1.765 MB / 0.5169 GB, free: 36.57 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009593/0.2842, allocations: 0.747 MB / 0.5176 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.527e-05/0.2843, allocations: 2.844 kB / 0.5176 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002107/0.2845, allocations: 38.67 kB / 0.5177 GB, free: 36.03 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002157/0.2847, allocations: 58.41 kB / 0.5177 GB, free: 36 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001326/0.2849, allocations: 48.53 kB / 0.5178 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002171/0.2851, allocations: 247.8 kB / 0.518 GB, free: 35.91 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.532e-05/0.2852, allocations: 14.78 kB / 0.518 GB, free: 35.9 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.648e-05/0.2852, allocations: 56.39 kB / 0.5181 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001252/0.2854, allocations: 85.09 kB / 0.5182 GB, free: 35.85 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.698e-05/0.2854, allocations: 2.906 kB / 0.5182 GB, free: 35.85 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001356/0.2855, allocations: 66.62 kB / 0.5182 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.061e-05/0.2856, allocations: 47.22 kB / 0.5183 GB, free: 35.81 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.386e-05/0.2857, allocations: 58.34 kB / 0.5183 GB, free: 35.78 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002033/0.2859, allocations: 180.7 kB / 0.5185 GB, free: 35.71 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2859, allocations: 0 / 0.5185 GB, free: 35.71 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.2859, allocations: 0 / 0.5185 GB, free: 35.71 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.2859, allocations: 0 / 0.5185 GB, free: 35.71 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.000562/0.2865, allocations: 459.1 kB / 0.5189 GB, free: 35.29 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.2865, allocations: 8.656 kB / 0.5189 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004865/0.287, allocations: 71.17 kB / 0.519 GB, free: 35.28 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001868/0.2872, allocations: 219 kB / 0.5192 GB, free: 35.06 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.2872, allocations: 11.12 kB / 0.5192 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.769e-05/0.2872, allocations: 12.47 kB / 0.5192 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003857/0.2876, allocations: 264.5 kB / 0.5195 GB, free: 34.94 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.415e-06/0.2876, allocations: 3.938 kB / 0.5195 GB, free: 34.94 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.808e-05/0.2877, allocations: 4 kB / 0.5195 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.518e-05/0.2877, allocations: 17.02 kB / 0.5195 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004081/0.2881, allocations: 244.4 kB / 0.5197 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000978/0.2891, allocations: 0.6551 MB / 0.5204 GB, free: 34.45 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003393/0.2895, allocations: 227.6 kB / 0.5206 GB, free: 34.39 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001526/0.2896, allocations: 78.98 kB / 0.5207 GB, free: 34.37 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.634e-05/0.2897, allocations: 10.48 kB / 0.5207 GB, free: 34.36 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.196e-05/0.2897, allocations: 30.56 kB / 0.5207 GB, free: 34.32 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 1.403e-06/0.2897, allocations: 2.375 kB / 0.5207 GB, free: 34.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005858/0.2903, allocations: 293.8 kB / 0.521 GB, free: 34.25 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.859e-05/0.2903, allocations: 54.34 kB / 0.5211 GB, free: 34.18 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/0.2905, allocations: 230.7 kB / 0.5213 GB, free: 34.05 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/0.2905, allocations: 25.7 kB / 0.5213 GB, free: 34.02 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.463e-05/0.2906, allocations: 119.9 kB / 0.5214 GB, free: 33.91 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.544e-05/0.2906, allocations: 40.48 kB / 0.5214 GB, free: 33.88 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.648e-05/0.2907, allocations: 45.83 kB / 0.5215 GB, free: 33.85 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.758e-05/0.2907, allocations: 332.2 kB / 0.5218 GB, free: 33.53 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001693/0.2909, allocations: 81.91 kB / 0.5219 GB, free: 33.52 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001685/0.2911, allocations: 111.2 kB / 0.522 GB, free: 33.48 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003382/0.2914, allocations: 197 kB / 0.5222 GB, free: 33.41 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-06/0.2914, allocations: 3.938 kB / 0.5222 GB, free: 33.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004241/0.2919, allocations: 257.1 kB / 0.5224 GB, free: 33.33 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.2919, allocations: 8.625 kB / 0.5224 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.2919, allocations: 0 / 0.5224 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.2919, allocations: 7.109 kB / 0.5224 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002245/0.2942, allocations: 265.3 kB / 0.5227 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006788/0.301, allocations: 8.639 MB / 0.5311 GB, free: 25.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002519/0.3012, allocations: 29.38 kB / 0.5312 GB, free: 25.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.924e-05/0.3013, allocations: 8.531 kB / 0.5312 GB, free: 25.02 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.0001104/0.3014, allocations: 146.4 kB / 0.5313 GB, free: 24.9 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.175e-05/0.3014, allocations: 13.5 kB / 0.5313 GB, free: 24.89 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004534/0.3019, allocations: 236.6 kB / 0.5315 GB, free: 24.81 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3019, allocations: 0 / 0.5315 GB, free: 24.81 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-06/0.3019, allocations: 0 / 0.5315 GB, free: 24.81 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.3019, allocations: 6.906 kB / 0.5316 GB, free: 24.8 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001884/0.3021, allocations: 248.9 kB / 0.5318 GB, free: 24.58 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.3021, allocations: 0 / 0.5318 GB, free: 24.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001574/0.3037, allocations: 214.5 kB / 0.532 GB, free: 24.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.3037, allocations: 7.938 kB / 0.532 GB, free: 24.57 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.3037, allocations: 3.469 kB / 0.532 GB, free: 24.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005152/0.3089, allocations: 8.162 MB / 0.54 GB, free: 16.42 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.3089, allocations: 7.875 kB / 0.54 GB, free: 16.41 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007569/0.3097, allocations: 0.9422 MB / 0.5409 GB, free: 15.64 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.175e-05/0.3098, allocations: 98.23 kB / 0.541 GB, free: 15.53 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.072e-05/0.3098, allocations: 6.875 kB / 0.541 GB, free: 15.53 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001954/0.31, allocations: 9.297 kB / 0.541 GB, free: 15.53 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.259e-05/0.3101, allocations: 27.73 kB / 0.541 GB, free: 15.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.3102, allocations: 2.906 kB / 0.541 GB, free: 15.52 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002177/0.3104, allocations: 187.5 kB / 0.5412 GB, free: 15.41 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.3104, allocations: 0 / 0.5412 GB, free: 15.41 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006249/0.311, allocations: 64.66 kB / 0.5413 GB, free: 15.41 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.0001603/0.3112, allocations: 108.1 kB / 0.5414 GB, free: 15.31 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00187/0.3131, allocations: 0.5925 MB / 0.542 GB, free: 15.26 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.3131, allocations: 3 kB / 0.542 GB, free: 15.26 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001274/0.3144, allocations: 407.5 kB / 0.5424 GB, free: 15.21 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003418/0.3147, allocations: 36.58 kB / 0.5424 GB, free: 15.2 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009358/0.3157, allocations: 0.6222 MB / 0.543 GB, free: 14.79 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000155/0.3158, allocations: 0.7629 MB / 0.5437 GB, free: 14.08 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000365/0.3162, allocations: 105.9 kB / 0.5438 GB, free: 14.07 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001553/0.3164, allocations: 43.83 kB / 0.5439 GB, free: 14.05 MB / 378.7 MB Notification: Performance of SimCode: time 6.91e-07/0.3164, allocations: 2.562 kB / 0.5439 GB, free: 14.05 MB / 378.7 MB Notification: Performance of Templates: time 0.01243/0.3288, allocations: 7.661 MB / 0.5514 GB, free: 12.43 MB / 378.7 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/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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches