Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_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_cpp_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_cpp_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.001087/0.001087, allocations: 202.2 kB / 15.8 MB, free: 6.332 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.308/1.308, allocations: 226.5 MB / 243.1 MB, free: 12.55 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007416/0.0007418, allocations: 98.95 kB / 295.1 MB, free: 4.363 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1782/0.1782, allocations: 44.83 MB / 392 MB, free: 11.39 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002332/0.0002333, allocations: 8 kB / 464.8 MB, free: 68.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08437/0.08462, allocations: 62.95 MB / 0.5153 GB, free: 5.094 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC): time 0.001339/0.086, allocations: 1.385 MB / 0.5167 GB, free: 3.691 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008339/0.08685, allocations: 0.6978 MB / 0.5174 GB, free: 2.988 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.143e-05/0.08695, allocations: 0 / 0.5174 GB, free: 2.988 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001951/0.08716, allocations: 27.83 kB / 0.5174 GB, free: 2.961 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002387/0.08741, allocations: 63.78 kB / 0.5175 GB, free: 2.898 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001793/0.0876, allocations: 51.83 kB / 0.5175 GB, free: 2.848 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002007/0.08781, allocations: 207.2 kB / 0.5177 GB, free: 2.645 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.868e-05/0.08786, allocations: 9.406 kB / 0.5177 GB, free: 2.633 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.237e-05/0.08793, allocations: 55.77 kB / 0.5178 GB, free: 2.578 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001198/0.08806, allocations: 79.73 kB / 0.5178 GB, free: 2.5 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.028e-05/0.08809, allocations: 8 kB / 0.5179 GB, free: 2.492 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001433/0.08824, allocations: 67.81 kB / 0.5179 GB, free: 2.426 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.093e-05/0.0883, allocations: 39.88 kB / 0.518 GB, free: 2.387 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.089e-05/0.08834, allocations: 49.58 kB / 0.518 GB, free: 2.332 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001512/0.08849, allocations: 120 kB / 0.5181 GB, free: 2.215 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.0885, allocations: 3.938 kB / 0.5181 GB, free: 2.211 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.08851, allocations: 0 / 0.5181 GB, free: 2.211 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.08852, allocations: 3.938 kB / 0.5181 GB, free: 2.207 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.000474/0.089, allocations: 438.8 kB / 0.5185 GB, free: 1.73 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.127e-05/0.08904, allocations: 12.03 kB / 0.5186 GB, free: 1.719 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004901/0.08953, allocations: 67.73 kB / 0.5186 GB, free: 1.652 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001587/0.0897, allocations: 217.1 kB / 0.5188 GB, free: 1.402 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.08972, allocations: 12 kB / 0.5188 GB, free: 1.391 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.08975, allocations: 4 kB / 0.5188 GB, free: 1.387 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00038/0.09013, allocations: 261.3 kB / 0.5191 GB, free: 1.121 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.09015, allocations: 0 / 0.5191 GB, free: 1.121 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.971e-05/0.09018, allocations: 7.984 kB / 0.5191 GB, free: 1.113 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.989e-05/0.09021, allocations: 16 kB / 0.5191 GB, free: 1.098 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004166/0.09063, allocations: 255.7 kB / 0.5194 GB, free: 0.8477 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009643/0.09161, allocations: 0.664 MB / 0.52 GB, free: 132 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003949/0.09202, allocations: 230.3 kB / 0.5202 GB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001867/0.09221, allocations: 88.81 kB / 0.5203 GB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.09225, allocations: 4 kB / 0.5203 GB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.09228, allocations: 34.56 kB / 0.5204 GB, free: 15.76 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.342e-06/0.09229, allocations: 4 kB / 0.5204 GB, free: 15.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.000678/0.09297, allocations: 296.6 kB / 0.5206 GB, free: 15.46 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.413e-05/0.09301, allocations: 51.41 kB / 0.5207 GB, free: 15.4 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002113/0.09323, allocations: 234.2 kB / 0.5209 GB, free: 15.16 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.09326, allocations: 25.7 kB / 0.5209 GB, free: 15.13 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.86e-05/0.09335, allocations: 124 kB / 0.5211 GB, free: 15 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.835e-05/0.09339, allocations: 51.28 kB / 0.5211 GB, free: 14.95 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.042e-05/0.09341, allocations: 0 / 0.5211 GB, free: 14.95 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.09353, allocations: 338.8 kB / 0.5214 GB, free: 14.61 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001855/0.09372, allocations: 83.91 kB / 0.5215 GB, free: 14.53 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001994/0.09393, allocations: 117.8 kB / 0.5216 GB, free: 14.41 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000209/0.09415, allocations: 107.9 kB / 0.5217 GB, free: 14.3 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.09416, allocations: 0 / 0.5217 GB, free: 14.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004854/0.09466, allocations: 257.2 kB / 0.522 GB, free: 14.04 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.09468, allocations: 8 kB / 0.522 GB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.09469, allocations: 0 / 0.522 GB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.09471, allocations: 3.938 kB / 0.522 GB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002438/0.09715, allocations: 263.7 kB / 0.5222 GB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008612/0.1058, allocations: 8.602 MB / 0.5306 GB, free: 4.371 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002417/0.106, allocations: 28.08 kB / 0.5307 GB, free: 4.344 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.41e-05/0.1061, allocations: 15.98 kB / 0.5307 GB, free: 4.328 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.0001293/0.1062, allocations: 129.8 kB / 0.5308 GB, free: 4.191 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.132e-05/0.1063, allocations: 15.81 kB / 0.5308 GB, free: 4.176 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004943/0.1068, allocations: 262.8 kB / 0.5311 GB, free: 3.914 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.656e-06/0.1068, allocations: 7.984 kB / 0.5311 GB, free: 3.906 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.1068, allocations: 4.047 kB / 0.5311 GB, free: 3.902 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1068, allocations: 3.984 kB / 0.5311 GB, free: 3.898 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002455/0.107, allocations: 237.4 kB / 0.5313 GB, free: 3.617 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.107, allocations: 0 / 0.5313 GB, free: 3.617 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001611/0.1087, allocations: 215.7 kB / 0.5315 GB, free: 3.406 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.1087, allocations: 0 / 0.5315 GB, free: 3.406 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.12e-05/0.1087, allocations: 3.984 kB / 0.5315 GB, free: 3.402 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007026/0.1157, allocations: 8.117 MB / 0.5394 GB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.1158, allocations: 256 / 0.5394 GB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004554/0.1162, allocations: 309.7 kB / 0.5397 GB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.22e-05/0.1163, allocations: 96.86 kB / 0.5398 GB, free: 10.07 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.448e-05/0.1163, allocations: 0 / 0.5398 GB, free: 10.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001949/0.1165, allocations: 15.98 kB / 0.5398 GB, free: 10.05 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.941e-05/0.1166, allocations: 27.89 kB / 0.5399 GB, free: 10.03 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.948e-06/0.1166, allocations: 0 / 0.5399 GB, free: 10.03 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001632/0.1168, allocations: 191.1 kB / 0.5401 GB, free: 9.84 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.393e-06/0.1168, allocations: 0 / 0.5401 GB, free: 9.84 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004004/0.1172, allocations: 63.94 kB / 0.5401 GB, free: 9.777 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.0001442/0.1174, allocations: 111.2 kB / 0.5402 GB, free: 9.656 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003284/0.1207, allocations: 463.5 kB / 0.5407 GB, free: 9.203 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.1207, allocations: 3.938 kB / 0.5407 GB, free: 9.199 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002148/0.1228, allocations: 319.5 kB / 0.541 GB, free: 8.887 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003389/0.1232, allocations: 35.88 kB / 0.541 GB, free: 8.852 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009763/0.1242, allocations: 0.4924 MB / 0.5415 GB, free: 8.324 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003008/0.1245, allocations: 0.7476 MB / 0.5422 GB, free: 7.551 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.01e-05/0.1246, allocations: 15.44 kB / 0.5422 GB, free: 7.535 MB / 378.7 MB Notification: Performance of SimCode: time 4.1e-07/0.1246, allocations: 0 / 0.5422 GB, free: 7.535 MB / 378.7 MB Notification: Performance of Templates: time 0.008017/0.1326, allocations: 6.353 MB / 0.5484 GB, free: 1.195 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_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_laminar_KC/kc_laminar_KC.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches