Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_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_overall_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_overall_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_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_overall_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001594/0.001594, allocations: 192.7 kB / 16.1 MB, free: 5.578 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.318/1.318, allocations: 226.5 MB / 243.4 MB, free: 8.18 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007813/0.0007816, allocations: 101.6 kB / 295.5 MB, free: 6.852 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3451/0.3451, allocations: 44.82 MB / 392.3 MB, free: 35.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00028/0.0002802, allocations: 4 kB / 465.3 MB, free: 12.59 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2975/0.2978, allocations: 62.94 MB / 0.5159 GB, free: 36.92 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC): time 0.001467/0.2993, allocations: 1.385 MB / 0.5172 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001214/0.3006, allocations: 1.15 MB / 0.5184 GB, free: 35.11 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.841e-05/0.3006, allocations: 0 / 0.5184 GB, free: 35.11 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001766/0.3008, allocations: 28.47 kB / 0.5184 GB, free: 35.1 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000209/0.301, allocations: 68.62 kB / 0.5185 GB, free: 35.07 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002992/0.3013, allocations: 158.1 kB / 0.5186 GB, free: 34.99 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001949/0.3016, allocations: 207.7 kB / 0.5188 GB, free: 34.92 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.425e-05/0.3016, allocations: 10.52 kB / 0.5188 GB, free: 34.91 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.282e-05/0.3017, allocations: 53.27 kB / 0.5189 GB, free: 34.9 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001178/0.3018, allocations: 87.62 kB / 0.519 GB, free: 34.87 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.691e-05/0.3018, allocations: 2.781 kB / 0.519 GB, free: 34.87 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002351/0.3021, allocations: 156.8 kB / 0.5191 GB, free: 34.82 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.9e-05/0.3021, allocations: 46.38 kB / 0.5191 GB, free: 34.8 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.894e-05/0.3022, allocations: 89.03 kB / 0.5192 GB, free: 34.73 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001796/0.3024, allocations: 154.4 kB / 0.5194 GB, free: 34.69 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3024, allocations: 2.75 kB / 0.5194 GB, free: 34.69 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3024, allocations: 0 / 0.5194 GB, free: 34.69 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.3024, allocations: 0 / 0.5194 GB, free: 34.69 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.0004944/0.3029, allocations: 455.1 kB / 0.5198 GB, free: 34.27 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.3029, allocations: 8.75 kB / 0.5198 GB, free: 34.27 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001516/0.3045, allocations: 189.2 kB / 0.52 GB, free: 34.25 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002005/0.3047, allocations: 240.1 kB / 0.5202 GB, free: 34.03 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.3047, allocations: 9.844 kB / 0.5202 GB, free: 34.02 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.614e-05/0.3047, allocations: 5.938 kB / 0.5203 GB, free: 34.02 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005276/0.3053, allocations: 374.3 kB / 0.5206 GB, free: 33.89 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.3053, allocations: 3.938 kB / 0.5206 GB, free: 33.89 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.003e-05/0.3053, allocations: 3.031 kB / 0.5206 GB, free: 33.89 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.859e-05/0.3054, allocations: 14.92 kB / 0.5206 GB, free: 33.89 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005962/0.306, allocations: 389.3 kB / 0.521 GB, free: 33.79 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001274/0.3072, allocations: 0.789 MB / 0.5218 GB, free: 33.32 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005476/0.3078, allocations: 365.2 kB / 0.5221 GB, free: 33.25 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002172/0.308, allocations: 124.4 kB / 0.5222 GB, free: 33.23 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.949e-05/0.3081, allocations: 3.984 kB / 0.5222 GB, free: 33.23 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.3081, allocations: 44.8 kB / 0.5223 GB, free: 33.18 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 1.553e-06/0.3081, allocations: 0 / 0.5223 GB, free: 33.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008213/0.3089, allocations: 439.8 kB / 0.5227 GB, free: 33.1 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.967e-05/0.309, allocations: 55.34 kB / 0.5228 GB, free: 33.03 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000172/0.3091, allocations: 221.9 kB / 0.523 GB, free: 32.91 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.462e-05/0.3092, allocations: 32.55 kB / 0.523 GB, free: 32.87 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.031e-05/0.3092, allocations: 116.2 kB / 0.5231 GB, free: 32.77 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.689e-05/0.3093, allocations: 47.69 kB / 0.5232 GB, free: 32.73 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.206e-05/0.3093, allocations: 2.594 kB / 0.5232 GB, free: 32.73 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.437e-05/0.3094, allocations: 330.9 kB / 0.5235 GB, free: 32.41 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000217/0.3096, allocations: 123.8 kB / 0.5236 GB, free: 32.39 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002214/0.3098, allocations: 156.9 kB / 0.5237 GB, free: 32.35 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004738/0.3103, allocations: 303.1 kB / 0.524 GB, free: 32.27 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.3103, allocations: 3.938 kB / 0.524 GB, free: 32.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005769/0.3109, allocations: 359.8 kB / 0.5244 GB, free: 32.19 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.3109, allocations: 5.562 kB / 0.5244 GB, free: 32.19 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.3109, allocations: 0 / 0.5244 GB, free: 32.19 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.311, allocations: 2.344 kB / 0.5244 GB, free: 32.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02024/0.3312, allocations: 1.385 MB / 0.5257 GB, free: 32.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03157/0.3628, allocations: 11.32 MB / 0.5368 GB, free: 23.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000371/0.3632, allocations: 25.62 kB / 0.5368 GB, free: 23.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.262e-05/0.3633, allocations: 20 kB / 0.5368 GB, free: 23.64 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.0001446/0.3634, allocations: 137.8 kB / 0.537 GB, free: 23.52 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.02e-05/0.3635, allocations: 20.31 kB / 0.537 GB, free: 23.51 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.167e-05/0.3636, allocations: 29.73 kB / 0.537 GB, free: 23.49 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.3636, allocations: 2.562 kB / 0.537 GB, free: 23.49 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.3636, allocations: 4.656 kB / 0.537 GB, free: 23.49 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.3636, allocations: 4.594 kB / 0.537 GB, free: 23.48 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003463/0.364, allocations: 291.8 kB / 0.5373 GB, free: 23.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.364, allocations: 0 / 0.5373 GB, free: 23.26 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02113/0.3851, allocations: 1.369 MB / 0.5386 GB, free: 23.22 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.104e-05/0.3852, allocations: 11.3 kB / 0.5387 GB, free: 23.21 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.558e-05/0.3852, allocations: 15.28 kB / 0.5387 GB, free: 23.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0322/0.4174, allocations: 11.33 MB / 0.5497 GB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.4175, allocations: 12.12 kB / 0.5497 GB, free: 14.2 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007017/0.4182, allocations: 426.7 kB / 0.5501 GB, free: 13.94 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.789e-05/0.4183, allocations: 99.97 kB / 0.5502 GB, free: 13.83 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.236e-05/0.4183, allocations: 5.125 kB / 0.5502 GB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002716/0.4186, allocations: 13.19 kB / 0.5503 GB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002329/0.4189, allocations: 63.84 kB / 0.5503 GB, free: 13.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.191e-05/0.4189, allocations: 18.09 kB / 0.5503 GB, free: 13.76 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001369/0.419, allocations: 169.4 kB / 0.5505 GB, free: 13.64 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.419, allocations: 0 / 0.5505 GB, free: 13.64 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007862/0.4198, allocations: 121.9 kB / 0.5506 GB, free: 13.63 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): 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 Backend phase and start with SimCode phase: time 0.0002052/0.42, allocations: 115.6 kB / 0.5507 GB, free: 13.54 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01699/0.437, allocations: 1.247 MB / 0.5519 GB, free: 13 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.79e-06/0.4371, allocations: 0 / 0.5519 GB, free: 13 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01652/0.4536, allocations: 1.112 MB / 0.553 GB, free: 12.51 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004502/0.4541, allocations: 34.92 kB / 0.5531 GB, free: 12.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.4551, allocations: 0.5329 MB / 0.5536 GB, free: 12.11 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001582/0.4553, allocations: 0.7396 MB / 0.5543 GB, free: 11.38 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.828e-05/0.4554, allocations: 14.31 kB / 0.5543 GB, free: 11.38 MB / 378.7 MB Notification: Performance of SimCode: time 7.71e-07/0.4554, allocations: 0 / 0.5543 GB, free: 11.38 MB / 378.7 MB Notification: Performance of Templates: time 0.009537/0.4649, allocations: 7.453 MB / 0.5616 GB, free: 7.465 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_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_overall_KC/kc_overall_KC.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches