Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_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_turbulent_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_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_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_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001467/0.001467, allocations: 199.7 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.324/1.324, allocations: 226.5 MB / 243.4 MB, free: 8.207 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008143/0.0008145, allocations: 95.45 kB / 295.5 MB, free: 6.887 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3038/0.3038, allocations: 44.81 MB / 392.3 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002657/0.0002659, allocations: 8 kB / 465.3 MB, free: 12.62 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2957/0.296, allocations: 62.95 MB / 0.5159 GB, free: 37.18 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC): time 0.001546/0.2976, allocations: 1.399 MB / 0.5173 GB, free: 36.17 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008589/0.2985, allocations: 0.6842 MB / 0.5179 GB, free: 35.69 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.345e-05/0.2986, allocations: 3.938 kB / 0.5179 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001805/0.2987, allocations: 35.38 kB / 0.518 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002213/0.299, allocations: 64.52 kB / 0.518 GB, free: 35.63 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001502/0.2991, allocations: 42.42 kB / 0.5181 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001965/0.2993, allocations: 206.3 kB / 0.5183 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.903e-05/0.2994, allocations: 8.359 kB / 0.5183 GB, free: 35.54 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.419e-05/0.2995, allocations: 59.03 kB / 0.5183 GB, free: 35.52 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001218/0.2996, allocations: 81.14 kB / 0.5184 GB, free: 35.5 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.743e-05/0.2996, allocations: 5.844 kB / 0.5184 GB, free: 35.5 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001427/0.2998, allocations: 64.91 kB / 0.5185 GB, free: 35.48 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.388e-05/0.2998, allocations: 55.75 kB / 0.5185 GB, free: 35.46 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.881e-05/0.2999, allocations: 80.12 kB / 0.5186 GB, free: 35.4 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001543/0.3001, allocations: 124 kB / 0.5187 GB, free: 35.36 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3001, allocations: 7.406 kB / 0.5187 GB, free: 35.35 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3001, allocations: 0 / 0.5187 GB, free: 35.35 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.3001, allocations: 0 / 0.5187 GB, free: 35.35 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.0004988/0.3006, allocations: 444.4 kB / 0.5192 GB, free: 34.94 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.3006, allocations: 8.75 kB / 0.5192 GB, free: 34.94 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005146/0.3012, allocations: 81.5 kB / 0.5192 GB, free: 34.92 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002024/0.3014, allocations: 226.3 kB / 0.5195 GB, free: 34.7 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.3014, allocations: 12.3 kB / 0.5195 GB, free: 34.7 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.084e-05/0.3014, allocations: 10.25 kB / 0.5195 GB, free: 34.69 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004361/0.3019, allocations: 310.7 kB / 0.5198 GB, free: 34.58 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.3019, allocations: 4 kB / 0.5198 GB, free: 34.57 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.551e-05/0.3019, allocations: 10.8 kB / 0.5198 GB, free: 34.57 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.893e-05/0.302, allocations: 14.95 kB / 0.5198 GB, free: 34.57 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004804/0.3024, allocations: 304 kB / 0.5201 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0011/0.3036, allocations: 0.7145 MB / 0.5208 GB, free: 34.05 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004281/0.304, allocations: 285.1 kB / 0.5211 GB, free: 34 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000184/0.3042, allocations: 105.6 kB / 0.5212 GB, free: 33.98 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.52e-05/0.3042, allocations: 4 kB / 0.5212 GB, free: 33.97 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/0.3042, allocations: 41.22 kB / 0.5212 GB, free: 33.93 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 1.663e-06/0.3043, allocations: 0 / 0.5212 GB, free: 33.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007045/0.305, allocations: 361.8 kB / 0.5216 GB, free: 33.85 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.495e-05/0.305, allocations: 58.03 kB / 0.5216 GB, free: 33.79 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001702/0.3052, allocations: 226.7 kB / 0.5218 GB, free: 33.66 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.3052, allocations: 25.7 kB / 0.5218 GB, free: 33.62 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.862e-05/0.3053, allocations: 120 kB / 0.522 GB, free: 33.52 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.056e-05/0.3053, allocations: 44.62 kB / 0.522 GB, free: 33.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.801e-05/0.3053, allocations: 4 kB / 0.522 GB, free: 33.48 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.328e-05/0.3054, allocations: 326.8 kB / 0.5223 GB, free: 33.16 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001911/0.3056, allocations: 111.4 kB / 0.5224 GB, free: 33.14 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001931/0.3058, allocations: 133.9 kB / 0.5226 GB, free: 33.09 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003922/0.3062, allocations: 246.8 kB / 0.5228 GB, free: 33.03 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.3062, allocations: 3.938 kB / 0.5228 GB, free: 33.03 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004849/0.3067, allocations: 307.5 kB / 0.5231 GB, free: 32.95 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.3067, allocations: 5.375 kB / 0.5231 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.3067, allocations: 6.781 kB / 0.5231 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.3068, allocations: 0 / 0.5231 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01722/0.324, allocations: 0.9046 MB / 0.524 GB, free: 32.92 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01636/0.3404, allocations: 9.919 MB / 0.5337 GB, free: 24.56 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003138/0.3407, allocations: 25.7 kB / 0.5337 GB, free: 24.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.435e-05/0.3408, allocations: 12.72 kB / 0.5337 GB, free: 24.54 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 (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001247/0.3409, allocations: 137.6 kB / 0.5338 GB, free: 24.42 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.318e-05/0.3409, allocations: 20.62 kB / 0.5339 GB, free: 24.41 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005641/0.3466, allocations: 0.6337 MB / 0.5345 GB, free: 24.27 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.3466, allocations: 3.031 kB / 0.5345 GB, free: 24.27 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.235e-06/0.3466, allocations: 0 / 0.5345 GB, free: 24.27 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.3466, allocations: 0 / 0.5345 GB, free: 24.27 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002779/0.3469, allocations: 267.1 kB / 0.5347 GB, free: 24.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.3469, allocations: 3.188 kB / 0.5347 GB, free: 24.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002137/0.3472, allocations: 42.98 kB / 0.5348 GB, free: 24.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006097/0.3533, allocations: 419.4 kB / 0.5352 GB, free: 23.99 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.158e-05/0.3534, allocations: 5.812 kB / 0.5352 GB, free: 23.99 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01237/0.3657, allocations: 9.522 MB / 0.5445 GB, free: 15.8 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.3658, allocations: 0.5156 kB / 0.5445 GB, free: 15.8 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005514/0.3713, allocations: 0.6788 MB / 0.5451 GB, free: 15.57 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.632e-05/0.3714, allocations: 94.81 kB / 0.5452 GB, free: 15.47 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.44e-05/0.3714, allocations: 0.75 kB / 0.5452 GB, free: 15.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002244/0.3717, allocations: 22.42 kB / 0.5453 GB, free: 15.46 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001793/0.3718, allocations: 38.11 kB / 0.5453 GB, free: 15.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.678e-05/0.3719, allocations: 14.31 kB / 0.5453 GB, free: 15.46 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001295/0.372, allocations: 173.3 kB / 0.5455 GB, free: 15.36 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.372, allocations: 0 / 0.5455 GB, free: 15.36 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005304/0.3726, allocations: 95.16 kB / 0.5456 GB, free: 15.34 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 (linear and non-linear blocks): 3 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001491/0.3727, allocations: 107 kB / 0.5457 GB, free: 15.25 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0167/0.3894, allocations: 1.056 MB / 0.5467 GB, free: 15.2 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.3895, allocations: 0 / 0.5467 GB, free: 15.2 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001692/0.3912, allocations: 0.5271 MB / 0.5472 GB, free: 14.84 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003896/0.3916, allocations: 36.31 kB / 0.5472 GB, free: 14.82 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002388/0.394, allocations: 0.7225 MB / 0.548 GB, free: 14.52 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001682/0.3942, allocations: 0.739 MB / 0.5487 GB, free: 13.82 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.345e-05/0.3942, allocations: 14.91 kB / 0.5487 GB, free: 13.81 MB / 378.7 MB Notification: Performance of SimCode: time 9.02e-07/0.3942, allocations: 0 / 0.5487 GB, free: 13.81 MB / 378.7 MB Notification: Performance of Templates: time 0.009363/0.4036, allocations: 7.266 MB / 0.5558 GB, free: 10.32 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Plate/kc_turbulent_KC/kc_turbulent_KC.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches