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_KC.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_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_3.2.3_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_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006766/0.006766, allocations: 100 kB / 15.87 MB, free: 6.309 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.001504/0.001504, allocations: 193.3 kB / 16.79 MB, free: 6.238 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.741/1.741, allocations: 205.1 MB / 222.6 MB, free: 4.73 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4405/0.4405, allocations: 43.5 MB / 313.5 MB, free: 8.289 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.00137/0.00137, allocations: 63.91 kB / 382.1 MB, free: 8.48 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1458, allocations: 57.78 MB / 439.8 MB, free: 14.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC): time 0.003487/0.1494, allocations: 1.754 MB / 441.6 MB, free: 12.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001298/0.1507, allocations: 0.7565 MB / 442.4 MB, free: 12.05 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.254e-05/0.1508, allocations: 4 kB / 442.4 MB, free: 12.05 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002633/0.151, allocations: 35.81 kB / 442.4 MB, free: 12.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002693/0.1513, allocations: 59.78 kB / 442.5 MB, free: 11.96 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001524/0.1515, allocations: 51.83 kB / 442.5 MB, free: 11.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002924/0.1518, allocations: 247.2 kB / 442.7 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.44e-05/0.1519, allocations: 13.39 kB / 442.8 MB, free: 11.65 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.424e-05/0.152, allocations: 55.78 kB / 442.8 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001644/0.1521, allocations: 83.64 kB / 442.9 MB, free: 11.51 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.085e-05/0.1522, allocations: 4 kB / 442.9 MB, free: 11.51 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001644/0.1523, allocations: 67.89 kB / 443 MB, free: 11.44 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.1524, allocations: 51.77 kB / 443 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.51e-05/0.1525, allocations: 63.59 kB / 443.1 MB, free: 11.33 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002762/0.1528, allocations: 167.7 kB / 443.2 MB, free: 11.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1528, allocations: 3.938 kB / 443.2 MB, free: 11.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.52e-07/0.1528, allocations: 0 / 443.2 MB, free: 11.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.1529, allocations: 0 / 443.2 MB, free: 11.16 MB / 382.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.0007541/0.1536, allocations: 474.7 kB / 443.7 MB, free: 10.65 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.1537, allocations: 8.031 kB / 443.7 MB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006716/0.1543, allocations: 76.66 kB / 443.8 MB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002697/0.1546, allocations: 212.1 kB / 444 MB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.1546, allocations: 8.375 kB / 444 MB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.96e-05/0.1547, allocations: 8.359 kB / 444 MB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004775/0.1552, allocations: 260.2 kB / 444.3 MB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.1552, allocations: 0 / 444.3 MB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.333e-05/0.1552, allocations: 8 kB / 444.3 MB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-05/0.1553, allocations: 19.98 kB / 444.3 MB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004821/0.1558, allocations: 239.7 kB / 444.5 MB, free: 9.777 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001207/0.157, allocations: 0.6602 MB / 445.2 MB, free: 9.062 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004133/0.1574, allocations: 230.2 kB / 445.4 MB, free: 8.828 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001702/0.1576, allocations: 80.83 kB / 445.5 MB, free: 8.746 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.538e-05/0.1576, allocations: 0 / 445.5 MB, free: 8.746 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.1576, allocations: 46.55 kB / 445.5 MB, free: 8.691 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 9.12e-07/0.1576, allocations: 0 / 445.5 MB, free: 8.691 MB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.000693/0.1583, allocations: 281.2 kB / 445.8 MB, free: 8.41 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.774e-05/0.1584, allocations: 51.41 kB / 445.9 MB, free: 8.348 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002954/0.1587, allocations: 238.1 kB / 446.1 MB, free: 8.105 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.441e-05/0.1587, allocations: 25.7 kB / 446.1 MB, free: 8.074 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.1588, allocations: 120 kB / 446.2 MB, free: 7.953 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.386e-05/0.1589, allocations: 47.3 kB / 446.3 MB, free: 7.906 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.859e-05/0.159, allocations: 41.69 kB / 446.3 MB, free: 7.859 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002081/0.1592, allocations: 326.8 kB / 446.6 MB, free: 7.531 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001948/0.1594, allocations: 79.91 kB / 446.7 MB, free: 7.453 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001952/0.1596, allocations: 115.3 kB / 446.8 MB, free: 7.328 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003865/0.16, allocations: 195.2 kB / 447 MB, free: 7.125 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.16, allocations: 3.938 kB / 447 MB, free: 7.121 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004866/0.1605, allocations: 257.2 kB / 447.3 MB, free: 6.863 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.1605, allocations: 4 kB / 447.3 MB, free: 6.859 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.1605, allocations: 0 / 447.3 MB, free: 6.859 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.1605, allocations: 4 kB / 447.3 MB, free: 6.855 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002521/0.1631, allocations: 267.6 kB / 447.5 MB, free: 6.594 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2943/0.4574, allocations: 8.621 MB / 456.2 MB, free: 46.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000317/0.4578, allocations: 31.42 kB / 456.2 MB, free: 46.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.385e-05/0.4578, allocations: 10.59 kB / 456.2 MB, free: 46.3 MB / 382.1 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 (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001858/0.458, allocations: 146.6 kB / 456.4 MB, free: 46.19 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.541e-05/0.458, allocations: 17.44 kB / 456.4 MB, free: 46.19 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004637/0.4585, allocations: 237.1 kB / 456.6 MB, free: 46.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.4585, allocations: 2.906 kB / 456.6 MB, free: 46.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.4585, allocations: 4.078 kB / 456.6 MB, free: 46.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.4585, allocations: 1.219 kB / 456.6 MB, free: 46.16 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002252/0.4588, allocations: 246.9 kB / 456.9 MB, free: 45.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.4588, allocations: 0 / 456.9 MB, free: 45.97 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001665/0.4604, allocations: 219.8 kB / 457.1 MB, free: 45.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.4605, allocations: 2.719 kB / 457.1 MB, free: 45.97 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.806e-05/0.4605, allocations: 5.766 kB / 457.1 MB, free: 45.97 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005929/0.4664, allocations: 8.153 MB / 465.2 MB, free: 38.08 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.4665, allocations: 3.969 kB / 465.2 MB, free: 38.08 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004621/0.4669, allocations: 290.7 kB / 465.5 MB, free: 37.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.072e-05/0.467, allocations: 94.59 kB / 465.6 MB, free: 37.83 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.971e-05/0.467, allocations: 5.344 kB / 465.6 MB, free: 37.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002004/0.4672, allocations: 13.84 kB / 465.6 MB, free: 37.83 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/0.4674, allocations: 24.84 kB / 465.6 MB, free: 37.83 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.542e-05/0.4674, allocations: 11.2 kB / 465.7 MB, free: 37.83 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001838/0.4676, allocations: 196.9 kB / 465.9 MB, free: 37.75 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.7e-07/0.4676, allocations: 0 / 465.9 MB, free: 37.75 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005054/0.4681, allocations: 63.84 kB / 465.9 MB, free: 37.75 MB / 382.1 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 (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002146/0.4683, allocations: 104.8 kB / 466 MB, free: 37.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002141/0.4705, allocations: 0.5995 MB / 466.6 MB, free: 37.65 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4705, allocations: 2.625 kB / 466.6 MB, free: 37.65 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00127/0.4718, allocations: 405.4 kB / 467 MB, free: 37.64 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003778/0.4721, allocations: 35.44 kB / 467.1 MB, free: 37.64 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009819/0.4731, allocations: 496.5 kB / 467.5 MB, free: 37.4 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002119/0.4734, allocations: 0.7574 MB / 468.3 MB, free: 36.7 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003773/0.4738, allocations: 117.3 kB / 468.4 MB, free: 36.69 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001637/0.4739, allocations: 43.73 kB / 468.5 MB, free: 36.69 MB / 382.1 MB Notification: Performance of SimCode: time 6.11e-07/0.4739, allocations: 0 / 468.5 MB, free: 36.69 MB / 382.1 MB Notification: Performance of Templates: time 0.01264/0.4866, allocations: 7.483 MB / 475.9 MB, free: 36.32 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC_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/kc_laminar_KC.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches