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.0008604/0.0008605, allocations: 92.83 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001282/0.001282, allocations: 203.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.417/1.417, allocations: 227.7 MB / 246.8 MB, free: 9.676 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2149/0.2149, allocations: 46.18 MB / 345.2 MB, free: 11.19 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003047/0.0003048, allocations: 11.94 kB / 419.6 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1401, allocations: 63.56 MB / 483.1 MB, free: 4.133 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC): time 0.002242/0.1424, allocations: 1.416 MB / 484.5 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001451/0.1438, allocations: 0.7479 MB / 485.3 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.211e-05/0.1439, allocations: 0 / 485.3 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002737/0.1442, allocations: 35.83 kB / 485.3 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003287/0.1446, allocations: 67.77 kB / 485.4 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002596/0.1448, allocations: 47.83 kB / 485.4 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003336/0.1452, allocations: 251.2 kB / 485.7 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.365e-05/0.1453, allocations: 9.406 kB / 485.7 MB, free: 1.547 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.1454, allocations: 63.7 kB / 485.7 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001799/0.1456, allocations: 71.73 kB / 485.8 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.1456, allocations: 4 kB / 485.8 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002082/0.1458, allocations: 83.8 kB / 485.9 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.081e-05/0.1459, allocations: 47.83 kB / 485.9 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.147e-05/0.146, allocations: 85.31 kB / 486 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003156/0.1463, allocations: 179.6 kB / 486.2 MB, free: 1.016 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1463, allocations: 0 / 486.2 MB, free: 1.016 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.1463, allocations: 0 / 486.2 MB, free: 1.016 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.1464, allocations: 4 kB / 486.2 MB, free: 1.012 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.0006948/0.1471, allocations: 438.9 kB / 486.6 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.1471, allocations: 8.875 kB / 486.6 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006469/0.1478, allocations: 80.64 kB / 486.7 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000254/0.148, allocations: 228 kB / 486.9 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.1481, allocations: 8.312 kB / 486.9 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.409e-05/0.1481, allocations: 8.375 kB / 487 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005833/0.1487, allocations: 312 kB / 487.3 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.88e-05/0.1487, allocations: 7.984 kB / 487.3 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.675e-05/0.1488, allocations: 4 kB / 487.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.57e-05/0.1488, allocations: 19.98 kB / 487.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006604/0.1495, allocations: 311.6 kB / 487.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001451/0.1509, allocations: 0.7121 MB / 488.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005453/0.1515, allocations: 286.1 kB / 488.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002352/0.1517, allocations: 112.8 kB / 488.7 MB, free: 14.35 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.736e-05/0.1518, allocations: 0 / 488.7 MB, free: 14.35 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.1518, allocations: 34.56 kB / 488.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 9.62e-07/0.1518, allocations: 0 / 488.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008668/0.1527, allocations: 365.1 kB / 489.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/0.1528, allocations: 55.41 kB / 489.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002381/0.153, allocations: 222.2 kB / 489.4 MB, free: 13.65 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.506e-05/0.153, allocations: 33.7 kB / 489.4 MB, free: 13.61 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.1531, allocations: 120.1 kB / 489.5 MB, free: 13.49 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.399e-05/0.1532, allocations: 51.34 kB / 489.6 MB, free: 13.44 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.844e-05/0.1533, allocations: 17.72 kB / 489.6 MB, free: 13.42 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001915/0.1535, allocations: 330.8 kB / 489.9 MB, free: 13.09 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002429/0.1537, allocations: 107.8 kB / 490 MB, free: 12.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002371/0.154, allocations: 139.3 kB / 490.1 MB, free: 12.83 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005013/0.1545, allocations: 250.5 kB / 490.4 MB, free: 12.58 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.1545, allocations: 3.938 kB / 490.4 MB, free: 12.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006421/0.1552, allocations: 305.2 kB / 490.7 MB, free: 12.27 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.1552, allocations: 8.094 kB / 490.7 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.789e-06/0.1552, allocations: 4.109 kB / 490.7 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.1552, allocations: 3.938 kB / 490.7 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01997/0.1752, allocations: 0.9045 MB / 491.6 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02152/0.1968, allocations: 9.913 MB / 0.4898 GB, free: 0.6328 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003516/0.1972, allocations: 31.75 kB / 0.4898 GB, free: 0.6016 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.402e-05/0.1972, allocations: 12.14 kB / 0.4898 GB, free: 0.5898 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.000185/0.1974, allocations: 137.8 kB / 0.4899 GB, free: 456 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.097e-05/0.1975, allocations: 19.75 kB / 0.49 GB, free: 436 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006809/0.2043, allocations: 0.6282 MB / 0.4906 GB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.2043, allocations: 0 / 0.4906 GB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.2043, allocations: 0 / 0.4906 GB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.2043, allocations: 4 kB / 0.4906 GB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003984/0.2047, allocations: 277.3 kB / 0.4908 GB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.2048, allocations: 3.984 kB / 0.4908 GB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002537/0.205, allocations: 47.91 kB / 0.4909 GB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007557/0.2126, allocations: 406 kB / 0.4913 GB, free: 15 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.429e-05/0.2127, allocations: 15.97 kB / 0.4913 GB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01595/0.2286, allocations: 9.518 MB / 0.5006 GB, free: 4.652 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.2287, allocations: 0 / 0.5006 GB, free: 4.652 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006608/0.2353, allocations: 0.6653 MB / 0.5012 GB, free: 3.961 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/0.2355, allocations: 96.86 kB / 0.5013 GB, free: 3.848 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.026e-05/0.2355, allocations: 7.984 kB / 0.5013 GB, free: 3.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002631/0.2358, allocations: 11.94 kB / 0.5013 GB, free: 3.828 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001939/0.236, allocations: 47.89 kB / 0.5014 GB, free: 3.781 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.61e-05/0.236, allocations: 11.98 kB / 0.5014 GB, free: 3.77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001635/0.2362, allocations: 172.3 kB / 0.5016 GB, free: 3.602 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2362, allocations: 0 / 0.5016 GB, free: 3.602 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000618/0.2368, allocations: 92 kB / 0.5017 GB, free: 3.512 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.0002033/0.237, allocations: 111.3 kB / 0.5018 GB, free: 3.398 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01975/0.2568, allocations: 1.1 MB / 0.5028 GB, free: 2.297 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/0.2568, allocations: 4 kB / 0.5028 GB, free: 2.293 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001881/0.2587, allocations: 0.5387 MB / 0.5034 GB, free: 1.715 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003991/0.2592, allocations: 31.92 kB / 0.5034 GB, free: 1.684 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002517/0.2617, allocations: 0.716 MB / 0.5041 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002919/0.262, allocations: 0.744 MB / 0.5048 GB, free: 172 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001192/0.2621, allocations: 49.5 kB / 0.5049 GB, free: 124 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.524e-05/0.2622, allocations: 23.44 kB / 0.5049 GB, free: 100 kB / 382.1 MB Notification: Performance of SimCode: time 8.52e-07/0.2622, allocations: 4 kB / 0.5049 GB, free: 96 kB / 382.1 MB Notification: Performance of Templates: time 0.2415/0.5037, allocations: 7.11 MB / 0.5118 GB, free: 39.18 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/jenkins/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/jenkins/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