Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001278/0.001278, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001332/0.001332, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.309/1.309, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1997/0.1997, allocations: 46.1 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 71.89 kB / 419 MB, free: 18.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09915/0.1005, allocations: 62.44 MB / 481.5 MB, free: 4.504 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar): time 0.003033/0.1035, allocations: 1.829 MB / 483.3 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001507/0.1051, allocations: 1.02 MB / 484.3 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.008e-05/0.1052, allocations: 0 / 484.3 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002453/0.1054, allocations: 39.77 kB / 484.4 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002562/0.1057, allocations: 79.56 kB / 484.4 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003538/0.1061, allocations: 127.5 kB / 484.6 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002923/0.1064, allocations: 211.2 kB / 484.8 MB, free: 1.188 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.554e-05/0.1064, allocations: 17.55 kB / 484.8 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001737/0.1066, allocations: 87.69 kB / 484.9 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000137/0.1068, allocations: 99.58 kB / 485 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.366e-05/0.1068, allocations: 8 kB / 485 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002224/0.107, allocations: 127.8 kB / 485.1 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.83e-05/0.1071, allocations: 51.81 kB / 485.2 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.158e-05/0.1072, allocations: 83.47 kB / 485.2 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003111/0.1075, allocations: 255.1 kB / 485.5 MB, free: 484 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.1075, allocations: 4 kB / 485.5 MB, free: 480 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.1075, allocations: 4 kB / 485.5 MB, free: 476 kB / 350.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.1075, allocations: 0 / 485.5 MB, free: 476 kB / 350.1 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.0009313/0.1085, allocations: 0.5105 MB / 486 MB, free: 15.9 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.1085, allocations: 12.03 kB / 486 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000358/0.1089, allocations: 56.61 kB / 486.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002831/0.1092, allocations: 232 kB / 486.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.1092, allocations: 8.609 kB / 486.3 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.762e-05/0.1092, allocations: 8.375 kB / 486.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005083/0.1097, allocations: 279.7 kB / 486.6 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.1098, allocations: 0 / 486.6 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.059e-05/0.1098, allocations: 4 kB / 486.6 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.81e-05/0.1098, allocations: 12.22 kB / 486.6 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005349/0.1104, allocations: 224.4 kB / 486.8 MB, free: 15.03 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001025/0.1114, allocations: 0.81 MB / 487.6 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003623/0.1118, allocations: 191.7 kB / 487.8 MB, free: 13.94 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002401/0.112, allocations: 102.5 kB / 487.9 MB, free: 13.83 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.705e-05/0.1121, allocations: 7.984 kB / 487.9 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.1121, allocations: 42.69 kB / 488 MB, free: 13.77 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.482e-06/0.1121, allocations: 0 / 488 MB, free: 13.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008729/0.113, allocations: 313.3 kB / 488.3 MB, free: 13.46 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.612e-05/0.113, allocations: 114.8 kB / 488.4 MB, free: 13.32 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002411/0.1133, allocations: 261 kB / 488.6 MB, free: 13.06 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.1133, allocations: 25.7 kB / 488.7 MB, free: 13.03 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.1134, allocations: 135.9 kB / 488.8 MB, free: 12.89 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.301e-05/0.1135, allocations: 43.44 kB / 488.8 MB, free: 12.85 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.275e-05/0.1136, allocations: 33.7 kB / 488.9 MB, free: 12.81 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.1137, allocations: 334.8 kB / 489.2 MB, free: 12.48 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002329/0.1139, allocations: 95.89 kB / 489.3 MB, free: 12.38 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002557/0.1142, allocations: 129 kB / 489.4 MB, free: 12.24 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004821/0.1147, allocations: 232.8 kB / 489.6 MB, free: 11.99 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1147, allocations: 4 kB / 489.7 MB, free: 11.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005912/0.1153, allocations: 269.1 kB / 489.9 MB, free: 11.72 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.1153, allocations: 8 kB / 489.9 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.651e-05/0.1153, allocations: 15.98 kB / 489.9 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.1154, allocations: 160 / 489.9 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002238/0.1156, allocations: 39.91 kB / 490 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.1156, allocations: 4 kB / 490 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001955/0.1158, allocations: 39.75 kB / 490 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.983e-05/0.1158, allocations: 4 kB / 490 MB, free: 11.61 MB / 366.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00012/0.116, allocations: 142.2 kB / 490.2 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.625e-05/0.116, allocations: 15.81 kB / 490.2 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004658/0.1165, allocations: 227.1 kB / 490.4 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.984e-06/0.1165, allocations: 7.984 kB / 490.4 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.1165, allocations: 0 / 490.4 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.329e-06/0.1166, allocations: 0 / 490.4 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003715/0.1169, allocations: 269.3 kB / 490.7 MB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-05/0.117, allocations: 12 kB / 490.7 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001778/0.1172, allocations: 31.95 kB / 490.7 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.1172, allocations: 0 / 490.7 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.79e-05/0.1172, allocations: 8 kB / 490.7 MB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.1172, allocations: 0 / 490.7 MB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1172, allocations: 4 kB / 490.7 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006022/0.1178, allocations: 485.6 kB / 491.2 MB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.182e-05/0.1179, allocations: 104.8 kB / 491.3 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.261e-05/0.1179, allocations: 0 / 491.3 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002479/0.1182, allocations: 19.98 kB / 491.3 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.86e-05/0.1183, allocations: 15.97 kB / 491.3 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.639e-05/0.1183, allocations: 7.938 kB / 491.3 MB, free: 10.19 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001665/0.1184, allocations: 196.4 kB / 491.5 MB, free: 9.992 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.362e-06/0.1185, allocations: 4 kB / 491.5 MB, free: 9.988 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004123/0.1189, allocations: 67.94 kB / 491.6 MB, free: 9.922 MB / 366.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002188/0.1191, allocations: 151.1 kB / 491.8 MB, free: 9.766 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006067/0.1197, allocations: 284.8 kB / 492 MB, free: 9.469 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1197, allocations: 0 / 492 MB, free: 9.469 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002853/0.12, allocations: 185.2 kB / 492.2 MB, free: 9.27 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005156/0.1205, allocations: 44.8 kB / 492.3 MB, free: 9.227 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008468/0.1214, allocations: 453.6 kB / 492.7 MB, free: 8.75 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002892/0.1217, allocations: 0.7358 MB / 493.4 MB, free: 7.988 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001061/0.1218, allocations: 45.52 kB / 493.5 MB, free: 7.945 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.559e-05/0.1219, allocations: 23.42 kB / 493.5 MB, free: 7.922 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1219, allocations: 0 / 493.5 MB, free: 7.922 MB / 366.1 MB Notification: Performance of Templates: time 0.006474/0.1284, allocations: 3.513 MB / 497 MB, free: 4.445 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Plate/kc_laminar/kc_laminar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches