Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_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_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001478/0.001478, allocations: 103.2 kB / 16.64 MB, free: 6.82 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001715/0.001715, allocations: 193.9 kB / 17.56 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.364/1.364, allocations: 205.1 MB / 223.4 MB, free: 12.46 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2084/0.2084, allocations: 43.52 MB / 314.3 MB, free: 0.7109 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 68.64 kB / 382.9 MB, free: 56.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09089/0.09232, allocations: 57.78 MB / 440.7 MB, free: 7.352 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar): time 0.002706/0.09506, allocations: 1.872 MB / 442.5 MB, free: 5.461 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001216/0.0963, allocations: 0.9901 MB / 443.5 MB, free: 4.461 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.032e-05/0.0964, allocations: 4 kB / 443.5 MB, free: 4.457 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002381/0.09665, allocations: 35.81 kB / 443.6 MB, free: 4.422 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002128/0.09689, allocations: 71.67 kB / 443.6 MB, free: 4.352 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002841/0.09718, allocations: 99.69 kB / 443.7 MB, free: 4.254 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001964/0.09739, allocations: 203.2 kB / 443.9 MB, free: 4.055 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.636e-05/0.09744, allocations: 25.53 kB / 444 MB, free: 4.031 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001176/0.09757, allocations: 79.69 kB / 444 MB, free: 3.953 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001276/0.0977, allocations: 107.6 kB / 444.2 MB, free: 3.848 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.242e-05/0.09773, allocations: 8 kB / 444.2 MB, free: 3.84 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001836/0.09792, allocations: 123.8 kB / 444.3 MB, free: 3.719 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.413e-05/0.09799, allocations: 51.81 kB / 444.3 MB, free: 3.668 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.335e-05/0.09806, allocations: 83.45 kB / 444.4 MB, free: 3.586 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001882/0.09826, allocations: 175.5 kB / 444.6 MB, free: 3.414 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.09827, allocations: 0 / 444.6 MB, free: 3.414 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.09828, allocations: 4 kB / 444.6 MB, free: 3.41 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.09829, allocations: 0 / 444.6 MB, free: 3.41 MB / 318.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.000884/0.09918, allocations: 0.5183 MB / 445.1 MB, free: 2.844 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.09922, allocations: 15.89 kB / 445.1 MB, free: 2.828 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.182e-05/0.09928, allocations: 20.66 kB / 445.1 MB, free: 2.809 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/0.09945, allocations: 229.2 kB / 445.4 MB, free: 2.547 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.09947, allocations: 12.61 kB / 445.4 MB, free: 2.535 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.293e-05/0.09949, allocations: 8.375 kB / 445.4 MB, free: 2.527 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004501/0.09995, allocations: 270.9 kB / 445.7 MB, free: 2.246 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.09997, allocations: 0 / 445.7 MB, free: 2.246 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.149e-05/0.1, allocations: 7.938 kB / 445.7 MB, free: 2.238 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.568e-05/0.1, allocations: 16.23 kB / 445.7 MB, free: 2.223 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000462/0.1005, allocations: 228.4 kB / 445.9 MB, free: 2 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008126/0.1013, allocations: 0.806 MB / 446.7 MB, free: 1.133 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003076/0.1016, allocations: 187.7 kB / 446.9 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002099/0.1019, allocations: 106.6 kB / 447 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.286e-05/0.1019, allocations: 3.984 kB / 447 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.76e-05/0.1019, allocations: 34.56 kB / 447 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 1.563e-06/0.1019, allocations: 4 kB / 447 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007998/0.1027, allocations: 313.1 kB / 447.3 MB, free: 456 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.392e-05/0.1028, allocations: 111 kB / 447.4 MB, free: 320 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001859/0.103, allocations: 264.9 kB / 447.7 MB, free: 48 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.103, allocations: 25.7 kB / 447.7 MB, free: 16 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.1031, allocations: 127.9 kB / 447.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.447e-05/0.1031, allocations: 35.45 kB / 447.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.751e-05/0.1032, allocations: 37.7 kB / 447.9 MB, free: 15.81 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.1033, allocations: 334.8 kB / 448.3 MB, free: 15.47 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002607/0.1036, allocations: 100.2 kB / 448.4 MB, free: 15.38 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000283/0.1039, allocations: 137 kB / 448.5 MB, free: 15.22 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005121/0.1044, allocations: 224.8 kB / 448.7 MB, free: 14.98 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1044, allocations: 0 / 448.7 MB, free: 14.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006561/0.1051, allocations: 285 kB / 449 MB, free: 14.7 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.1051, allocations: 7.938 kB / 449 MB, free: 14.69 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.412e-05/0.1052, allocations: 8 kB / 449 MB, free: 14.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.1052, allocations: 4 kB / 449 MB, free: 14.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002531/0.1054, allocations: 44.11 kB / 449 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.1055, allocations: 4 kB / 449 MB, free: 14.63 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000206/0.1057, allocations: 23.83 kB / 449.1 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.614e-05/0.1057, allocations: 15.98 kB / 449.1 MB, free: 14.59 MB / 334.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.0001249/0.1058, allocations: 149.6 kB / 449.2 MB, free: 14.44 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.84e-05/0.1059, allocations: 15.81 kB / 449.3 MB, free: 14.42 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004699/0.1064, allocations: 223.1 kB / 449.5 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.1064, allocations: 3.984 kB / 449.5 MB, free: 14.19 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.1064, allocations: 4 kB / 449.5 MB, free: 14.19 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1064, allocations: 0 / 449.5 MB, free: 14.19 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003691/0.1068, allocations: 261.4 kB / 449.7 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.802e-05/0.1068, allocations: 12 kB / 449.7 MB, free: 13.87 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001828/0.107, allocations: 27.97 kB / 449.8 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.107, allocations: 0 / 449.8 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.022e-05/0.107, allocations: 11.98 kB / 449.8 MB, free: 13.83 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1071, allocations: 4 kB / 449.8 MB, free: 13.83 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.1071, allocations: 4.125 kB / 449.8 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006141/0.1077, allocations: 481.6 kB / 450.3 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.1078, allocations: 104.8 kB / 450.4 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.916e-05/0.1078, allocations: 4 kB / 450.4 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002584/0.1081, allocations: 15.97 kB / 450.4 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.446e-05/0.1082, allocations: 15.98 kB / 450.4 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.628e-05/0.1082, allocations: 7.938 kB / 450.4 MB, free: 13.17 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000171/0.1084, allocations: 192.4 kB / 450.6 MB, free: 12.98 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1084, allocations: 0 / 450.6 MB, free: 12.98 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004127/0.1088, allocations: 75.94 kB / 450.7 MB, free: 12.91 MB / 334.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.0002657/0.1091, allocations: 151.1 kB / 450.8 MB, free: 12.75 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006528/0.1097, allocations: 300.8 kB / 451.1 MB, free: 12.44 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1098, allocations: 0 / 451.1 MB, free: 12.44 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003028/0.1101, allocations: 181.3 kB / 451.3 MB, free: 12.25 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005128/0.1106, allocations: 36.53 kB / 451.3 MB, free: 12.21 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009408/0.1115, allocations: 0.5153 MB / 451.8 MB, free: 11.66 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/0.1118, allocations: 0.7397 MB / 452.6 MB, free: 10.89 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.236e-05/0.1119, allocations: 19.44 kB / 452.6 MB, free: 10.87 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1119, allocations: 0 / 452.6 MB, free: 10.87 MB / 334.1 MB Notification: Performance of Templates: time 0.005248/0.1172, allocations: 3.535 MB / 456.1 MB, free: 7.352 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_res.mat","/var/lib/jenkins1/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_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches