Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.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_turbulent_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_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_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_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001411/0.001411, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001345/0.001345, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.358/1.358, allocations: 227.4 MB / 247.4 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2152/0.2152, allocations: 46.1 MB / 344.8 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001755/0.001755, allocations: 74.31 kB / 418.3 MB, free: 19.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1485, allocations: 62.44 MB / 480.7 MB, free: 5.293 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC): time 0.003633/0.1522, allocations: 1.698 MB / 482.4 MB, free: 3.582 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001456/0.1537, allocations: 0.7595 MB / 483.2 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001148/0.1539, allocations: 0 / 483.2 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002789/0.1542, allocations: 43.75 kB / 483.2 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003274/0.1545, allocations: 67.72 kB / 483.3 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002781/0.1548, allocations: 55.8 kB / 483.3 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002591/0.1551, allocations: 155.3 kB / 483.5 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.695e-05/0.1551, allocations: 13.41 kB / 483.5 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001214/0.1553, allocations: 67.69 kB / 483.6 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001845/0.1555, allocations: 67.75 kB / 483.6 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.496e-05/0.1555, allocations: 4 kB / 483.6 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002119/0.1557, allocations: 83.8 kB / 483.7 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.775e-05/0.1558, allocations: 51.77 kB / 483.8 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001073/0.1559, allocations: 59.55 kB / 483.8 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003061/0.1562, allocations: 183.6 kB / 484 MB, free: 1.977 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1562, allocations: 0 / 484 MB, free: 1.977 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1563, allocations: 4 kB / 484 MB, free: 1.973 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.141e-05/0.1563, allocations: 0 / 484 MB, free: 1.973 MB / 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.0008532/0.1571, allocations: 462.8 kB / 484.5 MB, free: 1.473 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.1572, allocations: 8.031 kB / 484.5 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007164/0.1579, allocations: 80.64 kB / 484.6 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003373/0.1583, allocations: 228 kB / 484.8 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.974e-05/0.1583, allocations: 4.375 kB / 484.8 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.056e-05/0.1583, allocations: 8.375 kB / 484.8 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005772/0.1589, allocations: 308.9 kB / 485.1 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.1589, allocations: 0 / 485.1 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.438e-05/0.159, allocations: 4 kB / 485.1 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.812e-05/0.159, allocations: 19.92 kB / 485.1 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006085/0.1597, allocations: 295.7 kB / 485.4 MB, free: 500 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001531/0.1612, allocations: 0.7121 MB / 486.1 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005254/0.1617, allocations: 278.2 kB / 486.4 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000223/0.162, allocations: 108.8 kB / 486.5 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.982e-05/0.162, allocations: 3.984 kB / 486.5 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.348e-05/0.1621, allocations: 38.56 kB / 486.5 MB, free: 15.28 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.633e-06/0.1621, allocations: 0 / 486.5 MB, free: 15.28 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008493/0.1629, allocations: 348.7 kB / 486.9 MB, free: 14.94 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.592e-05/0.163, allocations: 59.41 kB / 486.9 MB, free: 14.87 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002274/0.1632, allocations: 222.3 kB / 487.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.1632, allocations: 25.7 kB / 487.2 MB, free: 14.61 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.856e-05/0.1633, allocations: 128.1 kB / 487.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.223e-05/0.1634, allocations: 39.36 kB / 487.3 MB, free: 14.44 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.339e-05/0.1635, allocations: 45.62 kB / 487.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.1636, allocations: 334.8 kB / 487.7 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002439/0.1639, allocations: 99.88 kB / 487.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002339/0.1641, allocations: 127.3 kB / 487.9 MB, free: 13.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004961/0.1646, allocations: 247.1 kB / 488.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.119e-05/0.1647, allocations: 3.938 kB / 488.2 MB, free: 13.56 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006185/0.1653, allocations: 285.2 kB / 488.5 MB, free: 13.28 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.1653, allocations: 8.047 kB / 488.5 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.956e-06/0.1653, allocations: 11.92 kB / 488.5 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.1653, allocations: 0 / 488.5 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02099/0.1863, allocations: 0.9203 MB / 489.4 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02217/0.2085, allocations: 10.73 MB / 0.4884 GB, free: 0.7578 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003151/0.2089, allocations: 19.86 kB / 0.4884 GB, free: 0.7383 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.532e-05/0.209, allocations: 19.92 kB / 0.4884 GB, free: 0.7188 MB / 366.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.0001985/0.2092, allocations: 149.7 kB / 0.4886 GB, free: 0.5625 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.504e-05/0.2092, allocations: 19.81 kB / 0.4886 GB, free: 0.543 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006477/0.2157, allocations: 0.6282 MB / 0.4892 GB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.832e-06/0.2158, allocations: 0 / 0.4892 GB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.2158, allocations: 4 kB / 0.4892 GB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.2158, allocations: 0 / 0.4892 GB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003659/0.2162, allocations: 277.3 kB / 0.4895 GB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.2162, allocations: 0 / 0.4895 GB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002269/0.2164, allocations: 31.97 kB / 0.4895 GB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004887/0.2213, allocations: 314 kB / 0.4898 GB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.925e-05/0.2214, allocations: 15.97 kB / 0.4898 GB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01689/0.2383, allocations: 10.31 MB / 0.4999 GB, free: 4.051 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.2383, allocations: 0 / 0.4999 GB, free: 4.051 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006304/0.2446, allocations: 0.6769 MB / 0.5006 GB, free: 3.348 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.2447, allocations: 96.84 kB / 0.5007 GB, free: 3.234 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.149e-05/0.2448, allocations: 8 kB / 0.5007 GB, free: 3.227 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002582/0.2451, allocations: 15.98 kB / 0.5007 GB, free: 3.211 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001734/0.2453, allocations: 43.84 kB / 0.5007 GB, free: 3.168 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.313e-05/0.2453, allocations: 11.98 kB / 0.5007 GB, free: 3.156 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001592/0.2455, allocations: 167.2 kB / 0.5009 GB, free: 2.992 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2455, allocations: 0 / 0.5009 GB, free: 2.992 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006576/0.2461, allocations: 88 kB / 0.501 GB, free: 2.906 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): 3 * Torn equation systems: 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002279/0.2464, allocations: 115.2 kB / 0.5011 GB, free: 2.785 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01881/0.2652, allocations: 1.084 MB / 0.5021 GB, free: 1.699 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/0.2652, allocations: 7.938 kB / 0.5021 GB, free: 1.691 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001875/0.2671, allocations: 0.5374 MB / 0.5027 GB, free: 1.117 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004238/0.2676, allocations: 30.97 kB / 0.5027 GB, free: 1.09 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00266/0.2702, allocations: 0.6797 MB / 0.5034 GB, free: 384 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2099/0.4801, allocations: 0.7321 MB / 0.5041 GB, free: 40.66 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.068e-05/0.4803, allocations: 16.33 kB / 0.5041 GB, free: 40.65 MB / 382.1 MB Notification: Performance of SimCode: time 8.62e-07/0.4803, allocations: 0.5 kB / 0.5041 GB, free: 40.65 MB / 382.1 MB Notification: Performance of Templates: time 0.01254/0.4928, allocations: 7.28 MB / 0.5112 GB, free: 40.32 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Plate/kc_turbulent_KC/kc_turbulent_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches