Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar,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.|velocity.1.|velocity.2.|velocity.3.|Nu.1.|Nu.2.|Nu.3.|Pr.1.|Pr.2.|Pr.3.|Re.1.|Re.2.|Re.3.|input_v_0.y|input_v_1.y|input_v_2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar,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.|velocity.1.|velocity.2.|velocity.3.|Nu.1.|Nu.2.|Nu.3.|Pr.1.|Pr.2.|Pr.3.|Re.1.|Re.2.|Re.3.|input_v_0.y|input_v_1.y|input_v_2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001324/0.001324, allocations: 175.3 kB / 16.72 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.221/1.221, allocations: 205.4 MB / 222.9 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007318/0.0007318, allocations: 84.97 kB / 271.2 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2882/0.2882, allocations: 43.56 MB / 363.1 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003348/0.000335, allocations: 16 kB / 432 MB, free: 5.57 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1014, allocations: 58.85 MB / 490.8 MB, free: 10.63 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar): time 0.001931/0.1034, allocations: 1.5 MB / 492.3 MB, free: 9.121 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001151/0.1045, allocations: 0.9012 MB / 493.3 MB, free: 8.211 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.021e-05/0.1046, allocations: 0 / 493.3 MB, free: 8.211 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001787/0.1048, allocations: 43.77 kB / 493.3 MB, free: 8.168 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002105/0.105, allocations: 63.7 kB / 493.4 MB, free: 8.105 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002449/0.1052, allocations: 91.64 kB / 493.4 MB, free: 8.016 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002479/0.1055, allocations: 239.2 kB / 493.7 MB, free: 7.781 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.206e-05/0.1056, allocations: 21.55 kB / 493.7 MB, free: 7.758 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.1057, allocations: 83.62 kB / 493.8 MB, free: 7.676 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000146/0.1058, allocations: 103.6 kB / 493.9 MB, free: 7.574 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.455e-05/0.1059, allocations: 8 kB / 493.9 MB, free: 7.566 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002199/0.1061, allocations: 103.8 kB / 494 MB, free: 7.465 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.321e-05/0.1062, allocations: 55.8 kB / 494 MB, free: 7.41 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.663e-05/0.1063, allocations: 97.3 kB / 494.1 MB, free: 7.309 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001984/0.1065, allocations: 175.8 kB / 494.3 MB, free: 7.137 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.1065, allocations: 0 / 494.3 MB, free: 7.137 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1065, allocations: 0 / 494.3 MB, free: 7.137 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.1065, allocations: 0 / 494.3 MB, free: 7.137 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.0008621/0.1074, allocations: 0.5106 MB / 494.8 MB, free: 6.578 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.1074, allocations: 8.031 kB / 494.8 MB, free: 6.57 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.717e-05/0.1075, allocations: 20.66 kB / 494.9 MB, free: 6.551 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002162/0.1077, allocations: 224 kB / 495.1 MB, free: 6.293 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.1077, allocations: 8.609 kB / 495.1 MB, free: 6.285 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.75e-05/0.1077, allocations: 12.38 kB / 495.1 MB, free: 6.273 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004941/0.1082, allocations: 282.9 kB / 495.4 MB, free: 5.98 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.1083, allocations: 3.984 kB / 495.4 MB, free: 5.977 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.985e-05/0.1083, allocations: 8 kB / 495.4 MB, free: 5.969 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.747e-05/0.1083, allocations: 16.22 kB / 495.4 MB, free: 5.953 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005308/0.1089, allocations: 248.4 kB / 495.6 MB, free: 5.711 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009358/0.1098, allocations: 0.8098 MB / 496.4 MB, free: 4.84 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003617/0.1102, allocations: 211.7 kB / 496.7 MB, free: 4.605 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002457/0.1104, allocations: 114.5 kB / 496.8 MB, free: 4.484 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.136e-05/0.1105, allocations: 7.984 kB / 496.8 MB, free: 4.477 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.1105, allocations: 38.69 kB / 496.8 MB, free: 4.43 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 1.383e-06/0.1105, allocations: 0 / 496.8 MB, free: 4.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.000874/0.1114, allocations: 361.5 kB / 497.2 MB, free: 4.07 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.146e-05/0.1115, allocations: 110.8 kB / 497.3 MB, free: 3.938 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002202/0.1117, allocations: 257 kB / 497.5 MB, free: 3.68 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.1117, allocations: 29.7 kB / 497.6 MB, free: 3.645 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.721e-05/0.1118, allocations: 131.9 kB / 497.7 MB, free: 3.512 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.446e-05/0.1118, allocations: 35.45 kB / 497.7 MB, free: 3.477 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.528e-05/0.1119, allocations: 4 kB / 497.7 MB, free: 3.473 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.737e-05/0.112, allocations: 334.8 kB / 498 MB, free: 3.137 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002485/0.1122, allocations: 107.9 kB / 498.2 MB, free: 3.031 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002581/0.1125, allocations: 148.8 kB / 498.3 MB, free: 2.871 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005066/0.113, allocations: 256.8 kB / 498.5 MB, free: 2.602 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.113, allocations: 3.938 kB / 498.6 MB, free: 2.598 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006089/0.1136, allocations: 297.2 kB / 498.8 MB, free: 2.301 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.1136, allocations: 4 kB / 498.8 MB, free: 2.297 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.3e-05/0.1137, allocations: 8 kB / 498.9 MB, free: 2.289 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.1137, allocations: 4 kB / 498.9 MB, free: 2.285 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002225/0.1139, allocations: 48.05 kB / 498.9 MB, free: 2.238 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.1139, allocations: 4 kB / 498.9 MB, free: 2.234 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002092/0.1142, allocations: 43.67 kB / 499 MB, free: 2.191 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.252e-05/0.1142, allocations: 11.98 kB / 499 MB, free: 2.18 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001107/0.1143, allocations: 145.8 kB / 499.1 MB, free: 2.027 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.126e-05/0.1144, allocations: 15.81 kB / 499.1 MB, free: 2.012 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004409/0.1148, allocations: 235.3 kB / 499.4 MB, free: 1.777 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.1148, allocations: 0 / 499.4 MB, free: 1.777 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1148, allocations: 8 kB / 499.4 MB, free: 1.77 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1149, allocations: 0 / 499.4 MB, free: 1.77 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003424/0.1152, allocations: 261.4 kB / 499.6 MB, free: 1.465 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.571e-05/0.1152, allocations: 8 kB / 499.6 MB, free: 1.457 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001722/0.1154, allocations: 35.91 kB / 499.7 MB, free: 1.422 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1154, allocations: 0 / 499.7 MB, free: 1.422 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.788e-05/0.1154, allocations: 11.98 kB / 499.7 MB, free: 1.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.1154, allocations: 4 kB / 499.7 MB, free: 1.406 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1155, allocations: 4 kB / 499.7 MB, free: 1.402 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005964/0.1161, allocations: 0.4937 MB / 0.4884 GB, free: 0.8906 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.071e-05/0.1161, allocations: 100.8 kB / 0.4885 GB, free: 0.7734 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.264e-05/0.1162, allocations: 8 kB / 0.4886 GB, free: 0.7656 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002428/0.1164, allocations: 27.97 kB / 0.4886 GB, free: 0.7383 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.717e-05/0.1165, allocations: 11.98 kB / 0.4886 GB, free: 0.7266 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/0.1165, allocations: 7.938 kB / 0.4886 GB, free: 0.7188 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001538/0.1167, allocations: 192.4 kB / 0.4888 GB, free: 0.5312 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1167, allocations: 0 / 0.4888 GB, free: 0.5312 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003726/0.117, allocations: 71.91 kB / 0.4888 GB, free: 472 kB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002155/0.1173, allocations: 155.1 kB / 0.489 GB, free: 304 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.1552/0.2724, allocations: 307.5 kB / 0.4893 GB, free: 43.27 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/0.2725, allocations: 0 / 0.4893 GB, free: 43.27 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003291/0.2728, allocations: 191 kB / 0.4895 GB, free: 43.18 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006651/0.2735, allocations: 39.91 kB / 0.4895 GB, free: 43.18 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009077/0.2744, allocations: 0.5307 MB / 0.49 GB, free: 42.93 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001617/0.2746, allocations: 0.7427 MB / 0.4908 GB, free: 42.23 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.566e-05/0.2747, allocations: 20.14 kB / 0.4908 GB, free: 42.23 MB / 378.7 MB Notification: Performance of SimCode: time 1.162e-06/0.2747, allocations: 0 / 0.4908 GB, free: 42.23 MB / 378.7 MB Notification: Performance of Templates: time 0.005284/0.28, allocations: 3.472 MB / 0.4942 GB, free: 42.07 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Plate/kc_laminar/kc_laminar.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches