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.00101/0.00101, allocations: 199.3 kB / 15.8 MB, free: 6.309 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.232/1.232, allocations: 226.5 MB / 243.1 MB, free: 14.3 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007186/0.0007186, allocations: 95.23 kB / 295.1 MB, free: 10.06 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1715/0.1715, allocations: 44.84 MB / 392 MB, free: 9.328 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002557/0.0002559, allocations: 8 kB / 464.8 MB, free: 49.74 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08676/0.08703, allocations: 62.96 MB / 0.5154 GB, free: 2.742 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC): time 0.001733/0.0888, allocations: 1.381 MB / 0.5167 GB, free: 1.344 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001438/0.09026, allocations: 1.154 MB / 0.5178 GB, free: 188 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.036e-05/0.09033, allocations: 0 / 0.5178 GB, free: 188 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000167/0.09051, allocations: 27.83 kB / 0.5179 GB, free: 160 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002257/0.09074, allocations: 63.78 kB / 0.5179 GB, free: 96 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1672/0.2579, allocations: 137.5 kB / 0.518 GB, free: 9.863 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003324/0.2583, allocations: 208.9 kB / 0.5182 GB, free: 9.863 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.856e-05/0.2583, allocations: 15.41 kB / 0.5183 GB, free: 9.859 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.409e-05/0.2584, allocations: 57.55 kB / 0.5183 GB, free: 9.859 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001693/0.2586, allocations: 81.94 kB / 0.5184 GB, free: 9.859 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.254e-05/0.2586, allocations: 3.5 kB / 0.5184 GB, free: 9.859 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003981/0.259, allocations: 156.9 kB / 0.5185 GB, free: 9.859 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.181e-05/0.2591, allocations: 48.39 kB / 0.5186 GB, free: 9.852 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.739e-05/0.2591, allocations: 49.33 kB / 0.5186 GB, free: 9.812 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00025/0.2594, allocations: 163.4 kB / 0.5188 GB, free: 9.797 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.2594, allocations: 1.781 kB / 0.5188 GB, free: 9.797 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.2594, allocations: 0 / 0.5188 GB, free: 9.797 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.2594, allocations: 0 / 0.5188 GB, free: 9.797 MB / 346.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.0005363/0.26, allocations: 447.3 kB / 0.5192 GB, free: 9.395 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.26, allocations: 14.86 kB / 0.5192 GB, free: 9.391 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001719/0.2617, allocations: 189.5 kB / 0.5194 GB, free: 9.383 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002186/0.262, allocations: 237.8 kB / 0.5196 GB, free: 9.168 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.262, allocations: 6.5 kB / 0.5196 GB, free: 9.168 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.751e-05/0.262, allocations: 12.44 kB / 0.5197 GB, free: 9.168 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006378/0.2627, allocations: 360.7 kB / 0.52 GB, free: 9.113 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.2627, allocations: 3.938 kB / 0.52 GB, free: 9.109 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.995e-05/0.2627, allocations: 2.953 kB / 0.52 GB, free: 9.109 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.469e-05/0.2628, allocations: 18.84 kB / 0.52 GB, free: 9.109 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007163/0.2635, allocations: 374.4 kB / 0.5204 GB, free: 9.109 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001451/0.265, allocations: 0.8059 MB / 0.5212 GB, free: 8.691 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006422/0.2656, allocations: 356.9 kB / 0.5215 GB, free: 8.66 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002532/0.2659, allocations: 126.7 kB / 0.5216 GB, free: 8.652 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.803e-05/0.2659, allocations: 5.031 kB / 0.5216 GB, free: 8.652 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.679e-05/0.2659, allocations: 33.03 kB / 0.5217 GB, free: 8.613 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.773e-06/0.2659, allocations: 0 / 0.5217 GB, free: 8.613 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009519/0.2669, allocations: 446.5 kB / 0.5221 GB, free: 8.566 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.328e-05/0.2669, allocations: 54.39 kB / 0.5221 GB, free: 8.504 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001841/0.2671, allocations: 224.5 kB / 0.5224 GB, free: 8.402 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/0.2672, allocations: 26.83 kB / 0.5224 GB, free: 8.371 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.494e-05/0.2672, allocations: 115 kB / 0.5225 GB, free: 8.285 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.218e-05/0.2673, allocations: 49.53 kB / 0.5225 GB, free: 8.254 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.773e-05/0.2673, allocations: 0 / 0.5225 GB, free: 8.254 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.842e-05/0.2674, allocations: 333.6 kB / 0.5229 GB, free: 7.938 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002666/0.2676, allocations: 122.9 kB / 0.523 GB, free: 7.938 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002725/0.2679, allocations: 164.5 kB / 0.5231 GB, free: 7.902 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003003/0.2682, allocations: 150.7 kB / 0.5233 GB, free: 7.895 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2682, allocations: 3.938 kB / 0.5233 GB, free: 7.891 MB / 346.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006837/0.2689, allocations: 358.9 kB / 0.5236 GB, free: 7.844 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.2689, allocations: 4.812 kB / 0.5236 GB, free: 7.844 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.2689, allocations: 5.062 kB / 0.5236 GB, free: 7.84 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.269, allocations: 3.547 kB / 0.5236 GB, free: 7.84 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02325/0.2922, allocations: 1.374 MB / 0.525 GB, free: 7.805 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03406/0.3263, allocations: 11.33 MB / 0.536 GB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003645/0.3267, allocations: 27.53 kB / 0.5361 GB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.575e-05/0.3267, allocations: 19.48 kB / 0.5361 GB, free: 15.54 MB / 362.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.0001583/0.3269, allocations: 137.5 kB / 0.5362 GB, free: 15.42 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.042e-05/0.327, allocations: 15.73 kB / 0.5362 GB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.049e-05/0.327, allocations: 37.42 kB / 0.5363 GB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.3271, allocations: 2.688 kB / 0.5363 GB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.3271, allocations: 0 / 0.5363 GB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.3271, allocations: 3.984 kB / 0.5363 GB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003238/0.3274, allocations: 286.4 kB / 0.5366 GB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.3274, allocations: 2.438 kB / 0.5366 GB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02271/0.3501, allocations: 1.376 MB / 0.5379 GB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.3502, allocations: 4 kB / 0.5379 GB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.283e-05/0.3502, allocations: 13.41 kB / 0.5379 GB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03459/0.3848, allocations: 11.33 MB / 0.549 GB, free: 4.598 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.3848, allocations: 1.156 kB / 0.549 GB, free: 4.598 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006882/0.3855, allocations: 427.5 kB / 0.5494 GB, free: 4.328 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.082e-05/0.3856, allocations: 92.64 kB / 0.5495 GB, free: 4.227 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.609e-05/0.3856, allocations: 5.031 kB / 0.5495 GB, free: 4.223 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002822/0.3859, allocations: 11.86 kB / 0.5495 GB, free: 4.219 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001411/0.3861, allocations: 55.95 kB / 0.5495 GB, free: 4.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.788e-05/0.3861, allocations: 18.44 kB / 0.5496 GB, free: 4.168 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001526/0.3862, allocations: 172.9 kB / 0.5497 GB, free: 4.047 MB / 362.7 MB Notification: Performance of sort global known variables: time 2e-07/0.3863, allocations: 4 kB / 0.5497 GB, free: 4.043 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006275/0.3869, allocations: 118.7 kB / 0.5498 GB, free: 4.035 MB / 362.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.0001634/0.3871, allocations: 122.8 kB / 0.55 GB, free: 3.934 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01789/0.4049, allocations: 1.248 MB / 0.5512 GB, free: 3.398 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.405, allocations: 3.938 kB / 0.5512 GB, free: 3.395 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01739/0.4224, allocations: 1.118 MB / 0.5523 GB, free: 2.91 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003324/0.4227, allocations: 31.73 kB / 0.5523 GB, free: 2.895 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009332/0.4236, allocations: 0.538 MB / 0.5528 GB, free: 2.508 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002533/0.4239, allocations: 0.7271 MB / 0.5535 GB, free: 1.793 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.787e-05/0.424, allocations: 14.44 kB / 0.5536 GB, free: 1.789 MB / 362.7 MB Notification: Performance of SimCode: time 3.6e-07/0.424, allocations: 4.938 kB / 0.5536 GB, free: 1.785 MB / 362.7 MB Notification: Performance of Templates: time 0.008271/0.4323, allocations: 7.467 MB / 0.5609 GB, free: 12.25 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